php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19152 immediate compile failure on ctype
Submitted: 2002-08-28 11:28 UTC Modified: 2002-08-29 08:28 UTC
From: scott at i-ax dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4CVS-2002-08-28 OS: Linux 2.2.19
Private report: No CVE-ID: None
 [2002-08-28 11:28 UTC] scott at i-ax dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-28 14:26 UTC] sniper@php.net
Does 4.2.2 work (and forget apache2, just try plain configure/make)

 [2002-08-28 18:54 UTC] scott at i-ax dot 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 21:23 UTC] 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-29 06:25 UTC] scott at i-ax dot 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-29 08:28 UTC] derick@php.net
user error -> bogus
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 13:00:02 2026 UTC