[PHP-DEV] aix oracle php.... From: Jakub Buzon (buzon <email protected>)
Date: 02/17/99

I try to compile apache 1.3.4 + oracle 7.3 + php 3.0.6
on aix 4.3.2 with C SET.
But I have many problems.
Could you give me binary apache for aix with php (with oracle)
please ???
                        Jakub

This is a raport from one of my trial.

/home2/jakub/php-3.0.6> oslevel
4.3.2.0

/home2/jakub/php-3.0.6> set|grep ORA
LIBPATH=/home1/ORACLE/app/oracle/product/734/lib:/usr/lib:/usr/lib/cobol4.1aps/:
OLDHOME=/home1/ORACLE/app/oracle/product/734
ORACLE_HOME=/home1/ORACLE/app/oracle/product/734
ORACLE_SID=CEBANK
ORAENV_ASK=NO
ORAHOME=/home1/ORACLE/app/oracle/product/734
PATH=/usr/local/bin/:/home1/ORACLE/app/oracle/product/734/bin:/usr/vac/bin:/usr.
/home2/jakub/php-3.0.6>

/home2/jakub/php-3.0.6> configure -with-apache=/home2/jakub/apache_1.3.3/ -with-oracle=$ORACLE_HOME
loading cache ./config.cache
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... (cached) bison -y
checking bison version... 1.25 (ok)
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking for ranlib... (cached) ranlib
checking whether cc understands -c and -o together... (cached) yes
checking for perl... no
checking if compiler supports -R... (cached) yes
checking for sendmail... (cached) /usr/sbin/sendmail
checking for gdbm_open in -lgdbm... (cached) no
checking for dbm_open in -ldb... (cached) no
checking for dbm_open in -lc... (cached) yes
checking preferred dbm library... ndbm chosen
checking for gethostname in -lnsl... (cached) yes
checking for socket in -lc... (cached) yes
checking for gethostbyaddr in -lc... (cached) yes
checking for crypt in -lc... (cached) yes
checking for dlopen in -lc... (cached) yes
checking for sin in -lc... (cached) no
checking for sin in -lm... (cached) yes
checking for res_search in -lsocket... (cached) no
checking for res_search in -lresolv... (cached) no
checking for dn_skipname in -lresolv... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for fclose declaration... ok
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for crypt.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for memory.h... (cached) yes
checking for pwd.h... (cached) yes
checking for grp.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for syslog.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/varargs.h... (cached) no
checking for stdarg.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for signal.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unix.h... (cached) no
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for st_blocks in struct stat... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for uint... (cached) yes
checking for ulong... (cached) yes
checking for vprintf... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strcasecmp... (cached) yes
checking for strstr... (cached) yes
checking for flock... (cached) no
checking for lockf... (cached) yes
checking for putenv... (cached) yes
checking for tempnam... (cached) yes
checking for usleep... (cached) yes
checking for setlocale... (cached) yes
checking for gettimeofday... (cached) yes
checking for setvbuf... (cached) yes
checking for srand48... (cached) yes
checking for lrand48... (cached) yes
checking for srandom... (cached) yes
checking for random... (cached) yes
checking for link... (cached) yes
checking for symlink... (cached) yes
checking for regcomp... (cached) yes
checking for getlogin... (cached) yes
checking for cuserid... (cached) yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for gcvt... (cached) yes
checking for utime... (cached) yes
checking for crypt... (cached) yes
checking for setitimer... (cached) yes
checking for rint... (cached) yes
checking for unsetenv... (cached) no
checking for strftime... (cached) yes
checking for setsockopt... (cached) yes
checking for tzset... (cached) yes
checking whether utime accepts a null argument... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for broken sprintf... ok
checking for getopt... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... no
checking for MD5 crypt... no
checking for Blowfish crypt... no
checking whether to use bundled regex library... yes
checking for Apache module support via DSO through APXS... no
checking for Apache module support via DSO through APACI... no
checking for Apache module support... yes - Apache 1.3.x
checking for mod_charset compatibility option... no
checking for fhttpd module support... no
checking for IMAP support... no
checking whether to include GD support... checking for gdImageLine in -lgd... (o
checking for gdImageString16 in -lgd... (cached) no
checking for Oracle support... yes
checking Oracle version... 7.3
checking for iODBC support... no
checking for OpenLink ODBC support... no
checking for Adabas support... no
checking for Sybase support... no
checking for Sybase-CT support... no
checking for MySQL support... no
checking for mSQL support... no
checking for PostgresSQL support... no
checking for Solid support... no
checking for Empress support... no
checking for LDAP support... no
checking for SNMP support... no
checking for Velocis support... no
checking for Informix support... no
checking for InterBase support... no
checking for a custom ODBC support... no
checking for Hyperwave support... no
checking for XML support... no
checking whether to include zlib support... no
checking whether to include pdflib support... no
checking whether to include fdftk support... no
checking whether to include the bundled dbase library... no
checking whether to include the bundled filePro support... no
checking whether to enable DAV support through mod_dav... no
checking whether to enable unified ODBC support... no
checking whether to use a configuration file... yes
checking whether to include debugging symbols... no
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable track_vars variables by default... no
checking whether to enable magic quotes by default... no
checking whether to enable remote debugger support... no
checking whether to enable bc style precision math functions... yes
checking whether to enable a memory limit... no
checking whether to enable short tags by default... yes
checking whether to enable the URL-aware fopen wrapper... yes
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
creating ./config.status
creating Makefile
sed: file conftest.s1 line 55: Unterminated `s' command
creating build-defs.h
sed: file conftest.s1 line 55: Unterminated `s' command
creating stamp-h
sed: file conftest.s1 line 55: Unterminated `s' command
creating libphp3.module
sed: file conftest.s1 line 55: Unterminated `s' command
creating doc/Makefile
sed: file conftest.s1 line 55: Unterminated `s' command
creating doc/version.ent
sed: file conftest.s1 line 55: Unterminated `s' command
creating doc/checkdoc
sed: file conftest.s1 line 55: Unterminated `s' command
creating extra/gd/bdf2gdfont
sed: file conftest.s1 line 55: Unterminated `s' command
creating regex/Makefile
sed: file conftest.s1 line 55: Unterminated `s' command
creating dbase/Makefile
sed: file conftest.s1 line 55: Unterminated `s' command
creating config.h

Have I a problem with sed ???

/home2/jakub/php-3.0.6> /usr/local/bin/sed -V
GNU sed version 3.02

This is my section from config.status...very strange...

s% <email protected>@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon -lge
neric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnl
srtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm
-lm -lld -lm
-lm -lld -lm
-lm -lld -lm -lcore3 -lm -lld -lm
-lm -lld -lm
-lm -lld -lm
-lm -lld -lm%g
s% <email protected>@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon -lge
neric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnl
srtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm
-lm -lld -lm
-lm -lld -lm
-lm -lld -lm -lcore3 -lm -lld -lm
-lm -lld -lm
-lm -lld -lm
-lm -lld -lm%g

Next problem...apache...
I succided in compile php in standard configuration (only with apache).
I try to compile apache with this module, but compilator doesn't
know any liberary....

<=== src/modules/standard
===> src/modules/php3
cc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOc
cp libmodphp3.a libphp3.a
ar r libphp3.a mod_php3.o
ranlib libphp3.a
<=== src/modules/php3
<=== src/modules
cc -c -I./os/unix -I./include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogec
cc -c -I./os/unix -I./include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogec
cc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp -DUSE_HSR\
      -o httpd buildmark.o modules.o modules/php3/libphp3.a modules/standard/li
ld: 0711-317 ERROR: Undefined symbol: .ldopen
ld: 0711-317 ERROR: Undefined symbol: .ldclose
ld: 0711-317 ERROR: Undefined symbol: .ldnshread
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make[2]: *** [target_static] Error 8
make[2]: Leaving directory `/home2/jakub/apache_1.3.3/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home2/jakub/apache_1.3.3'
make: *** [build] Error 2

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>