|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-06-28 08:09 UTC] alf dot nicolaysen at gmx dot de
Under AIX 4.2.1 Maintenance Level 6 I compiled first the newest apache 1.3.12 with DSO-Support (not gcc but xlC). Second I changed in sourcecode of php the dlerror definition to avoid the compile problem described in further. Then I compiled with apxs-support and all went well beside a bunch of warnings about wrong prefixes in files (earlier described in buglist) When all was finished, I tried to start the apache and it just says: httpd could not be started (ExitCode 3) Another try with ./httpd -X exits with exitcode 6 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
Once again I tried to compile the php on a brand new installed 4.3.3 machine with a new compiled apache 1.3.12 and gcc. Here is the output of the compile: # CC='gcc' ./configure --with-apxs=/opt/apache/bin/apxs --prefix=/usr # make . . . Making all in libmysql /bin/sh /usr/sys/inst.images/php4-200008202145/libtool --silent --mode=compile gcc -I. -I/usr/sys/inst.images/php4-200008202145/ext/mysql/libmysql -I/usr/sys/inst.images/php4-200008202145 -I/usr/sys/inst.images/php4-200008202145/main -I/opt/apache/include -I/usr/sys/inst.images/php4-200008202145/Zend -I/usr/sys/inst.images/php4-200008202145 -I/usr/sys/inst.images/php4-200008202145/ext/mysql/libmysql -I/usr/sys/inst.images/php4-200008202145/ext/xml/expat/xmltok -I/usr/sys/inst.images/php4-200008202145/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -O2 -c libmysql.c In file included from libmysql.c:11: global.h:484: conflicting types for `int8' /usr/include/sys/inttypes.h:622: previous declaration of `int8' global.h:485: warning: redefinition of `int16' /usr/include/sys/inttypes.h:623: warning: `int16' previously declared here global.h:495: warning: redefinition of `int32' /usr/include/sys/inttypes.h:624: warning: `int32' previously declared here 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. 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. make: 1254-004 The error code from the last command is 1. Stop.So, I gave a final try and it worked!!!! What happened? In the meantime , PHP 4.0.4 was released. So I used that with AIX 4.3.3 Maint Level 5, a new compiled GNU-gcc and GNU-make. I used the same configure line, but beside the further mentioned dlerror decl. and os-inlne.c error I followed the workaround described in BugReport 4630. You should mention, that the described $PHP4/libtool is named $PHP4/ltconfig (That is not obvious) So, I changed the lines in the aix4 section to the following: archive_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bexpall ${wl}-bnoen try${allow_undefined_flag} ${wl}-bI:/usr/HTTPServer/apachesrc/apache-1.3/src/support/httpd.exp' archive_expsym_cmds="\$CC $shared_flag"' -o $objdir/$soname $libobjs $deplibs $linkopts ${wl}-bE:$export_s ymbols ${wl}-bnoentry${allow_undefined_flag} ${wl}-bI:/usr/HTTPServer/apachesrc/apache-1.3/src/support/httpd.e xp' then configure ...... make make install amd minimum <?php phpinfo() ?> worked. First time. Thanks for the help.