Re: [PHP4BETA] OCI8 & Apache broken?
| From: | thies at digicol dot de | Date: | Wed, 17 May 2000 07:00:52 +0000 |
| Subject: | Re: [PHP4BETA] OCI8 & Apache broken? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15112@lists.php.net to get a copy of this message | ||
On Tue, May 16, 2000 at 08:19:59PM -0700, waltb wrote:
> Howdy folks,
please comfigure php4 just (and only) --with-oci8 (don't need
=$ORACLE_HOME that's the default) and see if it works -
(don't forget to reconfigure apache after you "make
install"ed php4)
you have a bunch of libs in you link line that shouln't be
there, so we need to trck it down this way.
tc
> I still cannot even compile apache since RC2.
> Here is my apache output. Can anyone at least
> give me an idea what I should do/try? I've been
> building php4 everyday since October of last year,
> and have been having a lot of good luck since RC1.
> For some reason I can't compile the same apache
> since RC2 was released.
> php4 Config
> ./configure \
> --with-mysql \
> --with-oci8=$ORACLE_HOME \
> --with-apache=../apache_1.3.12 \
> --with-gd \
> --with-ftp \
> --enable-xml \
> --enable-wddx \
> --enable-sysvshm \
> --enable-sysvsem \
> --enable-inline-optimization \
> --enable-track-vars \
> --with-mm \
> --with-mcrypt
>
> Apache Config
> ./configure \
> --prefix=$RC_PROJ_ROOT/apache_1.3.12 \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=usertrack \
> --enable-module=rewrite
>
> [root@hemna apache_1.3.12]# ./rcconfig
> Configuring for Apache, Version 1.3.12 Ben-SSL/1.39
> 1.3.12
> + using installation path layout: Apache (config.layout)
> + activated php4 module (modules/php4/libphp4.a)
> Creating Makefile
> Creating Configuration.apaci in src
> cd ..; gcc -DLINUX=2 -DTARGET=\"httpsd\" -I/home/waltb/rocketcash/php4
> -I/home/waltb/rocketcash/php4/Zend -I/home/waltb/rocketcash/php4/Zend
> -I/home/waltb/rocketcash/php4 -DUSE_EXPAT -I./lib/expat-lite
> -DNO_DL_NEEDED -DAPACHE_SSL
./apaci -o helpers/dummy
> helpers/dummy.c -Wl,-rpath,/usr/local/lib -Wl,-rpath,/home/oracle/lib
> -rdynamic -L/usr/local/lib -L/home/oracle/lib -Lmodules/php4
> -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -ldl -lmm
> -lnlsrtl3 -lepcpt -lclntsh -lclient -lagent -lslpm -lpsa -lpsd -lplsb
> -lslax -ldbicx -lcore4 -lcommon -lgeneric -lsqlplus -lsql -lmcrypt -lz
> -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -lndbm
> -L/home/waltb/rocketcash/openssl-0.9.5 -lssl -lcrypto
> /home/oracle/lib/libcore4.a(lsf3p.o): In function `lsf3pd':
> lsf3p.o(.text+0xd84): undefined reference to `lxt2ws'
> lsf3p.o(.text+0x1882): undefined reference to `lxt2ws'
> lsf3p.o(.text+0x1da6): undefined reference to `lxt2ws'
> lsf3p.o(.text+0x2603): undefined reference to `lxmtos'
> lsf3p.o(.text+0x27eb): undefined reference to `lxwuppx'
> lsf3p.o(.text+0x284f): undefined reference to `lxwc2lx'
> /home/oracle/lib/libcore4.a(lsf3pc.o): In function `lsf3pcon':
> lsf3pc.o(.text+0x1312): undefined reference to `lxhslwr'
> collect2: ld returned 1 exit status
> make: *** [dummy] Error 1
> Creating Makefile in src
> + configured for Linux platform
> + setting C compiler to gcc
> + setting C pre-processor to gcc -E
> + checking for system header files
> + using custom target name: httpsd
> + adding selected modules
> o rewrite_module uses ConfigStart/End
> + using -lndbm for DBM support
> enabling DBM support for mod_rewrite
> o php4_module uses ConfigStart/End
> + checking sizeof various data types
> + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. The below error output from the compilation
> ** test will give you an idea what is failing. Note that
> ** Apache requires an ANSI C Compiler, such as gcc.
>
> ======== Error Output for sanity check ========
> ============= End of Error Report =============
>
> Aborting!
>
> --
> Walter A. Boring IV
> Senior Engineer
> RocketCash Corp. (650) 938-6000 x2130
> waltb@rocketcash.com
>
>
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany