#39795 [Fbk->Opn]: make fails with rc01

From: Date: Tue, 12 Dec 2006 10:00:16 +0000
Subject: #39795 [Fbk->Opn]: make fails with rc01
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106237@lists.php.net to get a copy of this message
ID: 39795 User updated by: michael dot kurz at lrp dot de Reported By: michael dot kurz at lrp dot de -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: AIX 5.2, ML08-01 PHP Version: 5CVS-2006-12-11 (snap) New Comment: with and without the patch the result looks like that: (./configure --with-...) checking whether utime accepts a null argument... yes checking for working alloca.h... (cached) yes checking for alloca... yes checking for declared timezone... yes checking for type of reentrant time-related functions... POSIX checking for readdir_r... yes checking for type of readdir_r... POSIX checking for in_addr_t... yes checking for crypt_r... yes checking which data struct is used by crypt_r... none configure: error: Unable to detect data struct is used by crypt_r root@lrp-vks01:/tempdata/php5.2-200612120930# Previous Comments: ------------------------------------------------------------------------ [2006-12-12 07:40:41] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Ok, I got it. I'll commit it first, and then you'll grab a snapshot and test it, or we may end up installing Linux trying to fix AIX.. It works fine here on AIX with and without the patch, so I just want to make sure it fixes the problem for you. Please try the _next_ snapshot (it'll be ready in ~2 hours). ------------------------------------------------------------------------ [2006-12-12 07:04:38] michael dot kurz at lrp dot de patch now is done, but buildconf crashes root@lrp-vks01:/tempdata/xxx/php5.2-200612110530# ./buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running cvsclean for you. To avoid this, install autoconf-2.13. "build/build2.mk", line 32: make: Dependency line needs colon or double colon operator. "build/build2.mk", line 33: make: Dependency line needs colon or double colon operator. "build/build2.mk", line 35: make: Dependency line needs colon or double colon operator. make: Fatal errors encountered -- cannot continue. make: The error code from the last command is 2. Stop. autoconf Version 2.13 could not be installed, cause make runs in error root@lrp-vks01:/tempdata/autoconf-2.13# make Error: Autoconf requires GNU m4 1.1 or later make: The error code from the last command is 1. Stop. ...and m4 is installed root@lrp-vks01:/tempdata/autoconf-2.13# lslpp -L |grep m4 m4 1.4.1-1 C R The GNU macro processor. root@lrp-vks01:/tempdata/autoconf-2.13# Just for fun I tested ./configure --with=/dba ... && make, but /bin/sh /tempdata/xxx/php5.2-200612110530/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/standard/ -I/tempdata/xxx/php5 .2-200612110530/ext/standard/ -DPHP_ATOM_INC -I/tempdata/xxx/php5.2-200612110530/include -I/tempdata/xxx/php5.2-200612110530/main -I/tempdata/ xxx/php5.2-200612110530 -I/opt/freeware/include/libxml2 -I/tempdata/xxx/php5.2-200612110530/ext/date/lib -I/dba/app/oracle/102/rdbms/public -I /dba/app/oracle/102/rdbms/demo -I/dba/app/oracle/102/plsql/public -I/tempdata/xxx/php5.2-200612110530/TSRM -I/tempdata/xxx/php5.2-200612110530 /Zend -I/usr/include -g -c /tempdata/xxx/php5.2-200612110530/ext/standard/crypt.c -o ext/standard/crypt.lo "/tempdata/xxx/php5.2-200612110530/ext/standard/crypt.c", line 159.2: 1506-205 (S) #error Data struct used by crypt_r() is unknown. Please rep ort. "/tempdata/xxx/php5.2-200612110530/ext/standard/crypt.c", line 161.1: 1506-275 (S) Unexpected text ':' encountered. "/tempdata/xxx/php5.2-200612110530/ext/standard/crypt.c", line 162.17: 1506-277 (S) Syntax error: possible missing ';' or ','? "/tempdata/xxx/php5.2-200612110530/ext/standard/crypt.c", line 162.51: 1506-045 (S) Undeclared identifier buffer. "/tempdata/xxx/php5.2-200612110530/ext/standard/crypt.c", line 162.17: 1506-196 (W) Initialization between types "unsigned char*" and "int" is not allowed. make: The error code from the last command is 1. Stop. root@lrp-vks01:/tempdata/xxx/php5.2-200612110530# ------------------------------------------------------------------------ [2006-12-11 14:31:49] tony2001@php.net URL is the very same. ------------------------------------------------------------------------ [2006-12-11 14:15:24] michael dot kurz at lrp dot de Ok, but where can I download it? ------------------------------------------------------------------------ [2006-12-11 14:11:13] tony2001@php.net Ok, I uploaded the diff, which your "patch" should be able to read. ------------------------------------------------------------------------ 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 http://bugs.php.net/39795 -- Edit this bug report at http://bugs.php.net/?id=39795&edit=1

« previous php.bugs (#106237) next »