php4 RC2 on AIX 4.3.3
[email protected] ("David Shafer")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to compile php4 RC2 as a DSO on an RS6000 running AIX 4.3.3, and I'm experiencing a lot of problems. I've finally reduced the configuration to something very simple, and I'm still getting the same consistent errors-- for each of the *.lo files in .libs/, the compiler complains that they contain "an incorrect file suffix". Then the 'make install' fails at apxs saying "file libs/libphp4.so.0 is not a DSO". I'm afraid I don't know entirely what the errors even _mean_, to say nothing of fixing them. It seems like I've got a pretty vanilla installation, though, so I don't understand why this isn't working. Any help would be appreciated! - Dave __________________________________ David Shafer, ITS-SPA Unix Group The University of Iowa [email protected] (319)384-0777 P.S., here's some info on the environment: PHP: 4.0RC2 Apache: 1.3.12 OS: AIX 4.3.3 Compiler: ibmcxx 3.6.6.0 Configuration: ./configure --with-apxs=/local/www/bin/apxs --with-config-file-path=/local/w ww/conf --without-mysql --enable-debug And here are what I thought were some relevant portions of a session attempting to configure and build PHP: --------------------------------------------------- $ ./configure --with-apxs=/local/www/bin/apxs --with-config-file-path=/local/w ww/conf --without-mysql --enable-debug ... Configuring libtool checking build system type... powerpc-ibm-aix4.3.3.0 checking for non-GNU ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/bin/nm -B updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether we are using GNU C... no checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... none checking if cc supports -c -o file.o... no checking if we can lock with hard links... yes checking if cc static flag -bnso -bI:/lib/syscalls.exp works... -bnso -bI:/lib/s yscalls.exp checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... aix4.3.3.0 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache ... $ make ... Making all in . /bin/sh /local/php/src/php-4.0RC2/libtool --mode=compile cc -DHAVE_CONFI G_H -I. -I/local/php/src/php-4.0RC2/ -I/local/php/src/php-4.0RC2 -I/local/ww w/in clude -I/local/php/src/php-4.0RC2/Zend -I/local/php/src/php-4.0RC2 -I/local/ php/ src/php-4.0RC2/ext/xml/expat/xmltok -I/local/php/src/php-4.0RC2/ext/xml/expa t/xm lparse -DXML_BYTE_ORDER=21 -g -c main.c cc -DHAVE_CONFIG_H -I. -I/local/php/src/php-4.0RC2/ -I/local/php/src/php-4.0 RC2 -I/local/www/include -I/local/php/src/php-4.0RC2/Zend -I/local/php/src/php-4 .0RC 2 -I/local/php/src/php-4.0RC2/ext/xml/expat/xmltok -I/local/php/src/php-4.0R C2/e xt/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -c main.c -DPIC mv -f main.o main.lo /bin/sh /local/php/src/php-4.0RC2/libtool --mode=compile cc -DHAVE_CONFI G_H -I. -I/local/php/src/php-4.0RC2/ -I/local/php/src/php-4.0RC2 -I/local/ww w/in clude -I/local/php/src/php-4.0RC2/Zend -I/local/php/src/php-4.0RC2 -I/local/ php/ src/php-4.0RC2/ext/xml/expat/xmltok -I/local/php/src/php-4.0RC2/ext/xml/expa t/xm lparse -DXML_BYTE_ORDER=21 -g -c internal_functions.c cc -DHAVE_CONFIG_H -I. -I/local/php/src/php-4.0RC2/ -I/local/php/src/php-4.0 RC2 -I/local/www/include -I/local/php/src/php-4.0RC2/Zend -I/local/php/src/php-4 .0RC 2 -I/local/php/src/php-4.0RC2/ext/xml/expat/xmltok -I/local/php/src/php-4.0R C2/e xt/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -c internal_functions.c -DPIC mv -f internal_functions.o internal_functions.lo /bin/sh /local/php/src/php-4.0RC2/libtool --mode=compile cc -DHAVE_CONFI G_H -I. -I/local/php/src/php-4.0RC2/ -I/local/php/src/php-4.0RC2 -I/local/ww w/in clude -I/local/php/src/php-4.0RC2/Zend -I/local/php/src/php-4.0RC2 -I/local/ php/ src/php-4.0RC2/ext/xml/expat/xmltok -I/local/php/src/php-4.0RC2/ext/xml/expa t/xm lparse -DXML_BYTE_ORDER=21 -g -c snprintf.c cc -DHAVE_CONFIG_H -I. -I/local/php/src/php-4.0RC2/ -I/local/php/src/php-4.0 RC2 -I/local/www/include -I/local/php/src/php-4.0RC2/Zend -I/local/php/src/php-4 .0RC 2 -I/local/php/src/php-4.0RC2/ext/xml/expat/xmltok -I/local/php/src/php-4.0R C2/e xt/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -c snprintf.c -DPIC mv -f snprintf.o snprintf.lo ... cc -bM:SRE -o .libs/libphp4.so.0.0.0 main.o internal_functions.o snprintf.o php _sprintf.o configuration-parser.o configuration-scanner.o safe_mode.o fopen-wrap pers.o php_realpath.o alloca.o php_ini.o SAPI.o rfc1867.o dlist.o php_content_ty pes.o strlcpy.o strlcat.o mergesort.o reentrancy.o php_variables.o php_ticks.o p hp_virtual_cwd.o .libs/libphp4.lax/libZend.al/zend-parser.lo .libs/libphp4.lax/ libZend.al/zend_alloc.lo .libs/libphp4.lax/libZend.al/zend_compile.lo .libs/libp hp4.lax/libZend.al/zend_constants.lo .libs/libphp4.lax/libZend.al/zend_dynamic_a rray.lo .libs/libphp4.lax/libZend.al/zend_execute.lo .libs/libphp4.lax/libZend.a l/zend_execute_API.lo .libs/libphp4.lax/libZend.al/zend_highlight.lo .libs/libph p4.lax/libZend.al/zend_llist.lo .libs/libphp4.lax/libZend.al/zend_opcode.lo .lib s/libphp4.lax/libZend.al/zend_operators.lo .libs/libphp4.lax/libZend.al/zend_ptr _stack.lo .libs/libphp4.lax/libZend.al/zend_stack.lo .libs/libphp4.lax/libZend.a l/zend_variables.lo .libs/libphp4.lax/libZend.al/zend.lo .libs/libphp4.lax/libZe nd.al/zend_API.lo .libs/libphp4.lax/libZend.al/zend_extensions.lo .libs/libphp4. lax/libZend.al/zend_hash.lo .libs/libphp4.lax/libZend.al/zend_list.lo .libs/libp hp4.lax/libZend.al/zend_indent.lo .libs/libphp4.lax/libZend.al/zend_builtin_func tions.lo .libs/libphp4.lax/libZend.al/zend_sprintf.lo .libs/libphp4.lax/libZend. al/zend-scanner.lo .libs/libphp4.lax/libsapi.al/sapi_apache.lo .libs/libphp4.la x/libsapi.al/mod_php4.lo .libs/libphp4.lax/libsapi.al/php_apache.lo .libs/libph p4.lax/libregex.al/regcomp.lo .libs/libphp4.lax/libregex.al/regexec.lo .libs/lib php4.lax/libregex.al/regerror.lo .libs/libphp4.lax/libregex.al/regfree.lo .libs /libphp4.lax/libdb.al/db.lo .libs/libphp4.lax/libpcre.al/php_pcre.lo .libs/libp hp4.lax/libpcre.al/maketables.lo .libs/libphp4.lax/libpcre.al/get.lo .libs/libph p4.lax/libpcre.al/study.lo .libs/libphp4.lax/libpcre.al/pcre.lo .libs/libphp4.l ax/libposix.al/posix.lo .libs/libphp4.lax/libsession.al/session.lo .libs/libphp 4.lax/libsession.al/mod_files.lo .libs/libphp4.lax/libsession.al/mod_mm.lo .libs /libphp4.lax/libsession.al/mod_user.lo .libs/libphp4.lax/libstandard.al/array.l o .libs/libphp4.lax/libstandard.al/base64.lo .libs/libphp4.lax/libstandard.al/ba sic_functions.lo .libs/libphp4.lax/libstandard.al/browscap.lo .libs/libphp4.lax/ libstandard.al/crypt.lo .libs/libphp4.lax/libstandard.al/cyr_convert.lo .libs/li bphp4.lax/libstandard.al/datetime.lo .libs/libphp4.lax/libstandard.al/dir.lo .li bs/libphp4.lax/libstandard.al/dl.lo .libs/libphp4.lax/libstandard.al/dns.lo .lib s/libphp4.lax/libstandard.al/exec.lo .libs/libphp4.lax/libstandard.al/file.lo .l ibs/libphp4.lax/libstandard.al/filestat.lo .libs/libphp4.lax/libstandard.al/floc k_compat.lo .libs/libphp4.lax/libstandard.al/formatted_print.lo .libs/libphp4.la x/libstandard.al/fsock.lo .libs/libphp4.lax/libstandard.al/head.lo .libs/libphp4 .lax/libstandard.al/html.lo .libs/libphp4.lax/libstandard.al/image.lo .libs/libp hp4.lax/libstandard.al/info.lo .libs/libphp4.lax/libstandard.al/iptc.lo .libs/li bphp4.lax/libstandard.al/lcg.lo .libs/libphp4.lax/libstandard.al/link.lo .libs/l ibphp4.lax/libstandard.al/mail.lo .libs/libphp4.lax/libstandard.al/math.lo .libs /libphp4.lax/libstandard.al/md5.lo .libs/libphp4.lax/libstandard.al/metaphone.lo .libs/libphp4.lax/libstandard.al/microtime.lo .libs/libphp4.lax/libstandard.al/ pack.lo .libs/libphp4.lax/libstandard.al/pageinfo.lo .libs/libphp4.lax/libstanda rd.al/parsedate.lo .libs/libphp4.lax/libstandard.al/quot_print.lo .libs/libphp4. lax/libstandard.al/rand.lo .libs/libphp4.lax/libstandard.al/reg.lo .libs/libphp4 .lax/libstandard.al/soundex.lo .libs/libphp4.lax/libstandard.al/string.lo .libs/ libphp4.lax/libstandard.al/syslog.lo .libs/libphp4.lax/libstandard.al/type.lo .l ibs/libphp4.lax/libstandard.al/uniqid.lo .libs/libphp4.lax/libstandard.al/url.lo .libs/libphp4.lax/libstandard.al/url_scanner.lo .libs/libphp4.lax/libstandard.a l/var.lo .libs/libphp4.lax/libstandard.al/output.lo .libs/libphp4.lax/libstandar d.al/assert.lo .libs/libphp4.lax/libstandard.al/strnatcmp.lo .libs/libphp4.lax/ libxml.al/xml.lo .libs/libphp4.lax/libxml.al/xmltok.lo .libs/libphp4.lax/libxml. al/xmlrole.lo .libs/libphp4.lax/libxml.al/xmlparse.lo .libs/libphp4.lax/libxml.a l/hashtable.lo -ldl -lbind -lm -ldl -lcrypt -ldl -lbind -lm -ldl -lcrypt - lc -bexpall -bnoentry ${wl}-berok cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend-parser.lo contains an incorr ect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_alloc.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_compile.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_constants.lo contains an inc orrect 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 incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute_API.lo contains an i ncorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_highlight.lo contains an inc orrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_llist.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_opcode.lo contains an incorr ect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_operators.lo contains an inc orrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ptr_stack.lo contains an inc orrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_stack.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_variables.lo contains an inc orrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend.lo contains an incorrect fil e suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_API.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_extensions.lo contains an in correct file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_hash.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_list.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_indent.lo contains an incorr ect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_builtin_functions.lo contain s an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_sprintf.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend-scanner.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libsapi.al/sapi_apache.lo contains an incorr ect file suffix cc: 1501-218 file .libs/libphp4.lax/libsapi.al/mod_php4.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libsapi.al/php_apache.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libregex.al/regcomp.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libregex.al/regexec.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libregex.al/regerror.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libregex.al/regfree.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libdb.al/db.lo contains an incorrect file su ffix cc: 1501-218 file .libs/libphp4.lax/libpcre.al/php_pcre.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libpcre.al/maketables.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libpcre.al/get.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libpcre.al/study.lo contains an incorrect fi le suffix cc: 1501-218 file .libs/libphp4.lax/libpcre.al/pcre.lo contains an incorrect fil e suffix cc: 1501-218 file .libs/libphp4.lax/libposix.al/posix.lo contains an incorrect f ile suffix cc: 1501-218 file .libs/libphp4.lax/libsession.al/session.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libsession.al/mod_files.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libsession.al/mod_mm.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libsession.al/mod_user.lo contains an incorr ect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/array.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/base64.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/basic_functions.lo contains a n incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/browscap.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/crypt.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/cyr_convert.lo contains an in correct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/datetime.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/dir.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/dl.lo contains an incorrect f ile suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/dns.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/exec.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/file.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/filestat.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/flock_compat.lo contains an i ncorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/formatted_print.lo contains a n incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/fsock.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/head.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/html.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/image.lo contains an incorrec t file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/info.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/iptc.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/lcg.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/link.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/mail.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/math.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/md5.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/metaphone.lo contains an inco rrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/microtime.lo contains an inco rrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/pack.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/pageinfo.lo contains an incor rect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/parsedate.lo contains an inco rrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/quot_print.lo contains an inc orrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/rand.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/reg.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/soundex.lo contains an incorr ect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/string.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/syslog.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/type.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/uniqid.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/url.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/url_scanner.lo contains an in correct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/var.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/output.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/assert.lo contains an incorre ct file suffix cc: 1501-218 file .libs/libphp4.lax/libstandard.al/strnatcmp.lo contains an inco rrect file suffix cc: 1501-218 file .libs/libphp4.lax/libxml.al/xml.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libxml.al/xmltok.lo contains an incorrect fi le suffix cc: 1501-218 file .libs/libphp4.lax/libxml.al/xmlrole.lo contains an incorrect f ile suffix cc: 1501-218 file .libs/libphp4.lax/libxml.al/xmlparse.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libxml.al/hashtable.lo contains an incorrect file suffix (cd .libs && rm -f libphp4.so.0 && ln -s libphp4.so.0.0.0 libphp4.so.0) (cd .libs && rm -f libphp4.a && ln -s libphp4.so.0.0.0 libphp4.a) rm -fr .libs/libphp4.lax creating libphp4.la (cd .libs && rm -f libphp4.la && ln -s ../libphp4.la libphp4.la) Target "all-p" is up to date. Making all in pear Target "all" is up to date. Target "all" is up to date. $ su root's Password: # make install Making install in Zend Target "install-exec-am" is up to date. Target "install-data-am" is up to date. Target "install" is up to date. Making install in ext Making install in db Target "install-p" is up to date. Target "install" is up to date. Making install in pcre Making install in pcrelib Target "install-p" is up to date. Target "install" is up to date. Target "install-p" is up to date. Target "install" is up to date. Making install in posix Target "install-p" is up to date. Target "install" is up to date. Making install in session Target "install-p" is up to date. Target "install" is up to date. Making install in standard Target "install-p" is up to date. Target "install" is up to date. Making install in xml Making install in expat Making install in xmltok Target "install-p" is up to date. Target "install" is up to date. Making install in xmlparse Target "install-p" is up to date. Target "install" is up to date. Target "install-p" is up to date. Target "install" is up to date. Target "install-p" is up to date. Target "install" is up to date. Target "install-p" is up to date. Target "install" is up to date. Making install in sapi Making install in apache Target "install-p" is up to date. Target "install" is up to date. Target "install-p" is up to date. Target "install" is up to date. Making install in regex Target "install-p" is up to date. Target "install" is up to date. Making install in . /local/www/bin/apxs -i -a -n php4 libs/libphp4.s* apxs:Error: file libs/libphp4.so.0 is not a DSO make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop.