#29290 [Csd]: LD ORACLE OCI
ID: 29290 Updated by: [EMAIL PROTECTED] 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: Put it into ext/oci8 directory and execute: patch -p0 < m4.4-5.diff After that run ./buildconf --force && ./configure ... && make in the root directory of PHP sources. Previous Comments: [2004-07-29 09:33:53] jketabchy at swd-ag dot de HI Tonny, how do i have to apply for this patch? please let me know about HOwTo. Reards Jahan [2004-07-28 17:17:21] [EMAIL PROTECTED] 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 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
#29290 [Csd]: LD ORACLE OCI
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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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
#29290 [Csd]: LD ORACLE OCI
ID: 29290 Updated by: [EMAIL PROTECTED] 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: 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. Previous Comments: [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] [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 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