#29290 [Csd]: LD ORACLE OCI
| From: | jketabchy at swd-ag dot de | Date: | Thu, 29 Jul 2004 07:33:54 +0000 |
| Subject: | #29290 [Csd]: LD ORACLE OCI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63736@lists.php.net to get a copy of this message | ||
ID: 29290
User updated by: jketabchy at swd-ag dot de
Reported By: jketabchy at swd-ag dot de
Status: Closed
Bug Type: *Compile Issues
Operating System: AIX 5.2
PHP Version: 4.3.8
New Comment:
HI Tonny,
how do i have to apply for this patch?
please let me know about HOwTo.
Reards
Jahan
Previous Comments:
------------------------------------------------------------------------
[2004-07-28 17:17:21] tony2001@php.net
If it's not too difficult for you, could you please test this patch:
http://tony2004.phpclub.net/dev/tmp/m4.4-5.diff
?
It should fix the problem with using lib directory instead of lib32 at
64-bit platforms.
------------------------------------------------------------------------
[2004-07-23 11:12:57] jketabchy at swd-ag dot de
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
------------------------------------------------------------------------
[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] tony2001@php.net
just do
export CFLAGS="$CFLAGS -m32" before ./configure && make.
------------------------------------------------------------------------
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