#19152 [Opn->Bgs]: immediate compile failure on ctype
| From: | derick@php.net | Date: | Thu, 29 Aug 2002 12:28:00 +0000 |
| Subject: | #19152 [Opn->Bgs]: immediate compile failure on ctype | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18141@lists.php.net to get a copy of this message | ||
ID: 19152
Updated by: derick@php.net
Reported By: scott@i-ax.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux 2.2.19
PHP Version: 4CVS-2002-08-28
New Comment:
user error -> bogus
Previous Comments:
------------------------------------------------------------------------
[2002-08-29 06:25:45] scott@i-ax.com
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.
------------------------------------------------------------------------
[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