#19152 [Fbk->Opn]: immediate compile failure on ctype

From: Date: Thu, 29 Aug 2002 10:25:46 +0000
Subject: #19152 [Fbk->Opn]: immediate compile failure on ctype
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18140@lists.php.net to get a copy of this message
ID: 19152 User updated by: scott@i-ax.com Reported By: scott@i-ax.com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Linux 2.2.19 PHP Version: 4CVS-2002-08-28 New Comment: You are correct in that assessment. This can be closed out as bogus. I lost the @asm softlink in the include directory. Thanks for your help and questions. It lead me to the problem. Previous Comments: ------------------------------------------------------------------------ [2002-08-28 21:23:56] sniper@php.net The reason I asked was that I suspect this being some problem with your system. Are you able to build it if you disable ctype? (add --disable-ctype to your configure line) ------------------------------------------------------------------------ [2002-08-28 18:54:35] scott@i-ax.com no. 4.2.2 gives me the same error. even on a plain configure/make build. other messages in the bug database where death has occurred at similar places found that there was an issue with make. CC=gcc ./configure... gives same result. ------------------------------------------------------------------------ [2002-08-28 14:26:44] sniper@php.net Does 4.2.2 work (and forget apache2, just try plain configure/make) ------------------------------------------------------------------------ [2002-08-28 11:28:59] scott@i-ax.com configure went fine with: ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs (Apache is 2.0.40) then... # make /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ -I/usr/local/src/php4-200208280600/ext/ctype/ -DPHP_ATOM_INC -I/usr/local/src/php4-200208280600/include -I/usr/local/src/php4-200208280600/main -I/usr/local/src/php4-200208280600 -I/usr/local/apache2/include -I/usr/local/src/php4-200208280600/Zend -I/usr/local/src/php4-200208280600/ext/xml/expat -I/usr/local/src/php4-200208280600/TSRM -g -O2 -prefer-pic -c /usr/local/src/php4-200208280600/ext/ctype/ctype.c -o ext/ctype/ctype.lo In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from /usr/local/src/php4-200208280600/Zend/zend_operators.h:24, from /usr/local/src/php4-200208280600/Zend/zend_execute_globals.h:27, from /usr/local/src/php4-200208280600/Zend/zend_globals.h:34, from /usr/local/src/php4-200208280600/Zend/zend_list.h:25, from /usr/local/src/php4-200208280600/Zend/zend_API.h:26, from /usr/local/src/php4-200208280600/main/php.h:38, from /usr/local/src/php4-200208280600/ext/ctype/ctype.c:23: /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory In file included from /usr/include/sys/param.h:24, from /usr/local/src/php4-200208280600/main/php.h:193, from /usr/local/src/php4-200208280600/ext/ctype/ctype.c:23: /usr/include/linux/param.h:4: asm/param.h: No such file or directory make: *** [ext/ctype/ctype.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19152&edit=1

« previous php.bugs (#18140) next »