compiling php
| From: | Alex Green | Date: | Thu, 22 Aug 2002 07:13:05 +0000 |
| Subject: | compiling php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87262@lists.php.net to get a copy of this message | ||
Hi All,
what does this mean?
/bin/sh libtool --silent --mode=compile
gcc -Iext/zlib/ -I/usr/local/www/php4-200208210300/ext/zlib/ -DPHP_ATOM_INC
-I/
usr/local/www/php4-200208210300/include -I/usr/local/www/php4-200208210300/m
ain
-I/usr/local/www/php4-200208210300 -I/usr/local/www/apache2/2.0.40/include -
I/us
r/local/www/php4-200208210300/Zend -I/usr/local/include -I/usr/local/include
/fre
etype2 -I/oracle/oracode/9.2.0.1/rdbms/public -I/oracle/oracode/9.2.0.1/rdbm
s/de
mo -I/oracle/oracode/9.2.0.1/plsql/public -I/usr/local/www/php4-20020821030
0/TS
RM -mpa-risc-2-0 -O -D_HPUX_SOURCE -prefer-pic -c
/usr/local/www/php4-200208210300/ext/zlib/zlib.c -o ext/zlib/zlib.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [ext/zlib/zlib.lo] Error 1
The configure command I ran is this:
CC=gcc CFLAGS="-mpa-risc-2-0 -O -D_HPUX_SOURCE"
./configure --with-apxs2=/usr/local/www/apache2/current/bin/apxs --with-zlib
-dir
=/usr/local/lib/ --with-zlib --without-mysql --enable-versioning --enable-tr
ack-
vars=yes --enable-url-includes --enable-trans-sid --enable-sysvshm=yes --ena
ble-
sysvsem=yes --with-ftp --with-config-file-path=/etc --with-gd=/usr/local --w
ith-
png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib --with-xpm-dir=/usr/lo
cal/
lib --with-freetype-dir=/usr/local --enable-gd-native-ttf --with-gettext=/us
r/lo
cal --with-expat-dir=/usr/local --with-oracle=/oracle/oracode/9.2.0.1 --with
-oci
8=/oracle/oracode/9.2.0.1
I tried it without the CFLAGS, I was experimenting.
I'm trying to build php with Oracle 9i Release 2 (64bit) with Apache 2.0.40
on
my HPUX11i box. I have editing the config.m4 files for both oci8 and oracle
to
point to the 32bit lib directories.
What other information would be helpfull?
Thanks in advance
AG