ID: 29290
User updated by: jketabchy at swd-ag dot de
Reported By: jketabchy at swd-ag dot de
-Status: Open
+Status: Closed
Bug Type: *Compile Issues
Operating System: AIX 5.2
PHP Version: 4.3.8
New Comment:
Thanks for Help.
I exported the LD_LIBRARY_PATH for Oracle 9i in ORACLE_HOME/lib32 and
edited the Makefile to change the PATHS to lib32.
the Same procedure for Apache src/modules/php4/MakeFile
and it works find.
Now make works fine.
./configure --with-oci8 --with-apache=../apache-1.3.31
okay
vi Makefile and change LD_LIBRARY_PATH=$ORACLE_HOME/lib to lib32
make
make install
to Apache:
cd ..
cd apache-1.3.31/src/modules/php4
same changes to Makefile
cd apache-1.3.31
./configure --prefix=/usr/local/apache --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a
make
make install
cp ../php-4.3.8/php.ini-dist /usr/local/lib/php.ini
and done.
Thanks
Regards
Jahan Ketabchy
Previous Comments:
------------------------------------------------------------------------
[2004-07-21 14:16:25] jketabchy at swd-ag dot de
i still have problem to compile PHP on IAX 5.2
------------------------------------------------------------------------
[2004-07-21 10:41:24] jketabchy at swd-ag dot de
okay:
export CFLAGS="$CFLAGS -m32"
./configure --with-oci8 --with-pache=/usr/local/apache_1.3.31
loading cache ./config.cache
checking host system type... powerpc-ibm-aix5.2.0.0
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -m32 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
Result = compiler cannot create executables.
is it means, i have to install another GCC Compiler???
Reagrds
------------------------------------------------------------------------
[2004-07-21 10:35:34] [EMAIL PROTECTED]
just do `export CFLAGS="$CFLAGS -m32"` before ./configure && make.
------------------------------------------------------------------------
[2004-07-21 10:29:07] jketabchy at swd-ag dot de
in which file do i have to add CFLAGS="-m32" ????
Regards
Ketabchy
------------------------------------------------------------------------
[2004-07-21 10:20:37] [EMAIL PROTECTED]
It seems, that this happens because CFLAGS doesn't include -m32 flag.
Add it: CFLAGS="-m32" and try again.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29290
--
Edit this bug report at http://bugs.php.net/?id=29290&edit=1