I believe we had our $ORACLE_HOME set wrong. We are running Oracle's IAS
which has a home of /ias and Oracle's 6i Developer Server comes with IAS
and is in /ias/6iserver. Our ORACLE_HOME was pointing to /ias and
/ias/lib contains libcore8.a and /ias/6iserver/lib contains libcore4.a. We
pointed our ORACLE_HOME to /ias/6iserver and configure ran through it. One
hitch is that before running make we had to manually edit the
config_vars.mk file to add 2 include directories:
/ias/rdbms/demo and /ias/rdbms/public
/ias/rdbms/demo contains the oci.h header file and /ias/rdbms/public
contains ociextp.h required by oci.h. I'm not sure why IAS sticks these
header files in there, but it looks like it gets through make ok after we
do this. We are currently haveing problems with installing php as a
dynamic module so we modified libtool to match the workaround that I saw
in bug #4630 and we're running make right now. I will let you know how
this goes. THANKS!
Mike
Bug Database <[EMAIL PROTECTED]>
02/01/01 06:59 PM
To: [EMAIL PROTECTED]
cc:
Subject: PHP 4.0 Bug #9052 Updated: Incorrect file suffixes when
building PHP for
AIX 4.3.3
ID: 9052
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
Which version of libtool do you have? And the compiler?
Was this a clean compile? ie. have you tried doing this:
# make clean ; make depend ; make
And it seems like your oracle libs are (for some reason) detected
to be an older version. What is the version of Oracle client libs you have
in your system?
And what do you have in $OCI8_DIR/orainst/unix.rgs
file? And could you also add a listing of $OCI8_DIR/lib into this bug
report?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-01 11:51:57] [EMAIL PROTECTED]
I configured php by running configure --with-apxs --with-oci8
--without-mysql.
When I try running make I'm getting these errors towards the end:
Making all in apache
Target "all-p" is up to date.
Target "all" is up to date.
Target "all" is up to date.
Making all in TSRM
Target "all" is up to date.
Making all in regex
Target "all-p" is up to date.
Target "all" is up to date.
Making all in .
/bin/sh /usr/tools/src/php-4.0.4pl1/libtool --silent --mode=link
cc -I. -I/usr/tools/src/php-4.0.4pl1/ -I/usr/tools/src/php-4.0.4pl1/main
-I/usr/tools/src/php-4.0.4pl1 -I/ias/Apache/Apache/include
-I/usr/tools/src/php-4.0.4pl1/Zend -I/ias/rdbms/public -I/ias/rdbms/demo
-I/ias/network/public -I/usr/tools/src/php-4.0.4pl1/ext/xml/expat/xmltok
-I/usr/tools/src/php-4.0.4pl1/ext/xml/expat/xmlparse
-I/usr/tools/src/php-4.0.4pl1/TSRM -DAIX=43 -DMOD_SSL=204110 -DEAPI
-DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -o libphp4.la -rpath
/usr/tools/src/php-4.0.4pl1/libs -avoid-version -L/ias/lib -R /ias/lib
stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la
regex/libregex.la ext/oci8/liboci8.la ext/pcre/libpcre.la
ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -ldl
-lclntsh -lpsa -lcore4 -lnlsrtl3 -lld -lbsd_r -lm -lodm -ldl -lbind -lm
-ldl -lcrypt
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_parser.lo
contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_parser.lo contains
an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_alloc.lo contains an
incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_compile.lo contains an
incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_constants.lo contains
an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_dynamic_array.lo
contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute.lo contains an
incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute_API.lo
contains an incorrect file suffix
I get several screens of [filename] contains incorrect file suffix and
then I get:
cc: 1501-218 file .libs/libphp4.lax/libtsrm.al/tsrm_strtok_r.lo contains
an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libtsrm.al/tsrm_virtual_cwd.lo
contains an incorrect file suffix
ld: 0706-006 Cannot find or open library file: -l core4
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l nlsrtl3
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l core4
ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l nlsrtl3
ld:open(): No such file or directory
make: The error code from the last command is 255.
Stop.
make: The error code from the last command is 1.
Stop.
Should we be trying to compile with gcc instead of the cc that comes with
AIX 4.3.3? Thanks!
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9052
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]