Date: 01/03/01
- Next message: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #8351 Updated: Undefined symbol"
- Previous message: alf.nicolaysen <email protected>: "[PHP-DEV] PHP 4.0 Bug #5243 Updated: Could not start apache 1.3.12 Returncode 3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 5243
Updated by: jmoore
Reported By: alf.nicolaysen <email protected>
Old-Status: Open
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
User reports bug fixed with work around
Previous Comments:
---------------------------------------------------------------------------
[2001-01-03 08:58:39] alf.nicolaysen <email protected>
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.
---------------------------------------------------------------------------
[2000-12-18 11:13:03] sniper <email protected>
Does this happen with latest snapshot from http://snaps.php.net/ ??
--Jani
---------------------------------------------------------------------------
[2000-08-30 04:56:20] alf.nicolaysen <email protected>
Okay, started once again with the yesterday released php4.0.2 and apache_1.3.12:
CC='gcc' ./configure --with-apxs=/opt/apache/bin/apxs --prefix=/usr --without-mysql
then
make and
make install
Once again I got a coredump, where the debugger output you can see below.. It is always in function php_if_apache_lookup_uri. What is the trick??
# dbx ./httpd
Geben Sie 'help' ein, um die Hilfefunktion aufzurufen.
Symbolische Informationen werden gelesen...Warnung: Es wurde kein Quellenwert mit -g kompiliert.
[Hauptspeicherabbild in core wird verwendet]
Segmentation fault in php_if_apache_lookup_uri at 0xd12596f8
0xd12596f8 (php_if_apache_lookup_uri+0x4d8) 800c0000 lwz r0,0x0(r12)
(dbx) where
php_if_apache_lookup_uri() at 0xd12596f8
php_create_dir(??, ??) at 0xd125aadc
ap_single_module_configure(0x2001f6e8, 0x2001f710, 0x2006e2d0) at 0x1002fe84
load_module(0x2ff22a08, 0x0, 0x20020d40, 0x20020d50) at 0x1007d354
invoke_cmd(0x20015f58, 0x2ff22a08, 0x0, 0x2ff209e0) at 0x1002d2fc
ap_handle_command(0x2ff22a08, 0x200202a0, 0x2ff209b0) at 0x1002e510
ap_srm_command_loop(0x2ff22a08, 0x200202a0) at 0x1002ff24
ap_process_resource_config(0x2001f710, 0x20020be0, 0x2001f6e8, 0x20023728) at 0x1002ef88
ap_read_config(0x2001f6e8, 0x20023728, 0x20005598) at 0x1002fd78
http_main.main(0x1, 0x2ff22c00) at 0x10000714
---------------------------------------------------------------------------
[2000-08-29 11:49:30] dshafer <email protected>
There are known problems with the distributed MySQL source and AIX. Try configuring either without the included MySQL support (--without-mysql) or with a known working MySQL installation (--with-mysql=DIR) to bypass the MySQL errors.
---------------------------------------------------------------------------
[2000-08-29 06:40:09] alf.nicolaysen <email protected>
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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=5243
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jmoore <email protected>: "[PHP-DEV] PHP 4.0 Bug #8351 Updated: Undefined symbol"
- Previous message: alf.nicolaysen <email protected>: "[PHP-DEV] PHP 4.0 Bug #5243 Updated: Could not start apache 1.3.12 Returncode 3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

