ID: 22197
Updated by: [email]sniper@php.net[/email]
Reported By: j_vanveelen at jea dot ca
-Status: Assigned
+Status: Feedback
Bug Type: Compile Failure
Operating System: UnixWare 7.1.1
PHP Version: 4CVS-2003-02-12 (stable)
Assigned To: sas
New Comment:

Please try using this CVS snapshot:

[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

For Windows:

[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]




Previous Comments:
------------------------------------------------------------------------

[2003-02-26 04:51:47] [email]sniper@php.net[/email]

Sascha, if you don't want to fix this, please explain why?


------------------------------------------------------------------------

[2003-02-25 12:23:50] j_vanveelen at jea dot ca

I managed to get 4.2.3 installed and here are my notes.

I used gcc, gnu sed instead of the native cc and sed

../configure --with-apxs=/usr/local/apache/bin/apxs

edited libtool

vi +/deplibs_check_method libtool
change it to deplibs_check_method="pass_all"

make
make install

And it worked, but I doubt it'll work for newer versions. And it's a
pain to insist that all UnixWare admins must use gcc/gnu sed because it
doesn't come installed or packaged.

Hopefully this helps for future considerations.

Thanks and keep up the great job guys! :)

------------------------------------------------------------------------

[2003-02-25 04:43:23] [email]sniper@php.net[/email]

Here's a pretty good explanation why this happens:
[url]http://archives.postgresql.org/pgsql-hackers/2002-10/msg01248.php[/url]

Assigned to Sascha who's code this is..


------------------------------------------------------------------------

[2003-02-17 18:00:33] j_vanveelen at jea dot ca

see above.

------------------------------------------------------------------------

[2003-02-13 10:50:40] j_vanveelen at jea dot ca

No 4.3.0 crashes before then I think. Here's the output:

bash-2.04# make
/bin/sh libtool --silent --mode=compile cc -Xb -Iext/standard/
-I/home/vanj/php-4.3.0/ext/standard/ -DPHP_ATOM_INC
-I/home/vanj/php-4.3.0/include -I/home/vanj/php-4.3.0/main
-I/home/vanj/php-4.3.0 -I/home/vanj/php-4.3.0/Zend
-I/home/vanj/php-4.3.0/ext/xml/expat -DUW=700 -DUSE_HSREGEX
-DUSE_EXPAT -I/home/vanj/php-4.3.0/TSRM -g -prefer-pic -c
/home/vanj/php-4.3.0/ext/standard/info.c -o ext/standard/info.lo
UX:acomp: WARNING: "/home/vanj/php-4.3.0/main/php_streams.h", line 321:
no macro replacement within a string literal
UX:acomp: WARNING: "/home/vanj/php-4.3.0/main/php_streams.h", line 322:
no macro replacement within a string literal
UX:acomp: WARNING: "/home/vanj/php-4.3.0/ext/standard/info.c", line
198: argument #1 incompatible with prototype:
php_escape_html_entities()
UX:acomp: WARNING: "/home/vanj/php-4.3.0/ext/standard/info.c", line
440: argument #3 incompatible with prototype:
zend_hash_get_current_key_ex()
/bin/sh libtool --silent --mode=compile cc -Xb
-I/usr/local/apache/include -Isapi/apache/
-I/home/vanj/php-4.3.0/sapi/apache/ -DPHP_ATOM_INC
-I/home/vanj/php-4.3.0/include -I/home/vanj/php-4.3.0/main
-I/home/vanj/php-4.3.0 -I/home/vanj/php-4.3.0/Zend
-I/home/vanj/php-4.3.0/ext/xml/expat -DUW=700 -DUSE_HSREGEX
-DUSE_EXPAT -I/home/vanj/php-4.3.0/TSRM -g -prefer-pic -c
/home/vanj/php-4.3.0/sapi/apache/mod_php4.c -o sapi/apache/mod_php4.lo
UX:acomp: WARNING: "/home/vanj/php-4.3.0/main/php_streams.h", line 321:
no macro replacement within a string literal
UX:acomp: WARNING: "/home/vanj/php-4.3.0/main/php_streams.h", line 322:
no macro replacement within a string literal
UX:acomp: ERROR: "/home/vanj/php-4.3.0/sapi/apache/mod_php4.c", line
780: undefined struct/union member: shutdown
UX:acomp: ERROR: "/home/vanj/php-4.3.0/sapi/apache/mod_php4.c", line
780: function designator is not of function type
UX:acomp: ERROR: "/home/vanj/php-4.3.0/sapi/apache/mod_php4.c", line
801: undefined struct/union member: shutdown
UX:acomp: ERROR: "/home/vanj/php-4.3.0/sapi/apache/mod_php4.c", line
801: function designator is not of function type
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

------------------------------------------------------------------------

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
[url]http://bugs.php.net/22197[/url]

--
Edit this bug report at [url]http://bugs.php.net/?id=22197&edit=1[/url]