Re: PHP 4.0 Bug #2558: make fails - zend_config.h is missing.

From: Date: Tue, 19 Oct 1999 05:41:19 +0000
Subject: Re: PHP 4.0 Bug #2558: make fails - zend_config.h is missing.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-11760@lists.php.net to get a copy of this message
I forgot to "Reply all" :) I checked the bug database and the poster of this bug is using SuSE 6.2. By default, SuSE 6.2 doesn't install "flex" (I have *no* idea why they changed this, but they did). If flex/lex is missing, then the libzend make will fail (because the configure script won't generate the makefile for that directory properly). Use YAST to install flex and everything will build just fine; I'm using PHP 4.0B2 as an Apache module for a project and I had to go through this. PHP guys: I'm not sure how to "fix" configure so that it stops when encountering this problem. Mark ----- Original Message ----- From: <smweb@ihost.de> To: <php-dev@lists.php.net> Sent: Monday, October 18, 1999 2:15 AM Subject: [PHP-DEV] PHP 4.0 Bug #2558: make fails - zend_config.h is missing. > From: smweb@ihost.de > Operating system: SuSE Linux 6.2 > PHP version: 4.0 Beta 2 > PHP Bug Type: Compile Failure > Bug description: make fails - zend_config.h is missing. > > Hi, > > I'm really desparate.. I want to run PHP 4 B2 - but it doesn't compile: > > == snip > > root@filer:/raid/software/_linux/src/php-4.0b2 > make > Making all in libzend > make[1]: Entering directory `/raid/software/_linux/src/php-4.0b2/libzend' > make[1]: *** No rule to make target `all'. Stop. > make[1]: Leaving directory `/raid/software/_linux/src/php-4.0b2/libzend' > Making all in ext > make[1]: Entering directory `/raid/software/_linux/src/php-4.0b2/ext' > Making all in apache > make[2]: Entering directory `/raid/software/_linux/src/php-4.0b2/ext/apache' > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/raid/sof tware/_linux/src/php-4.0b2/../apache_1.3.9/src/include -I/raid/software/_lin ux/src/php-4.0b2/../apache_1.3.9/src/os/unix -I/u01/app/oracle/product/8.1 .5/rdbms/demo -I/u01/app/oracle/product/8.1.5/network/public -I/u01/app/orac le/product/8.1.5/plsql/public -I/u01/app/oracle/product/8.1.5/rdbms/demo -I/ u01/app/oracle/product/8.1.5/network/public -I/u01/app/oracle/product/8.1.5/ plsql/public -I../.. -I../../libzend -g -O2 -g -O2 -c apache.c > In file included from ../../php.h:36, > from apache.c:22: > ../../libzend/zend.h:45: zend_config.h: No such file or directory > make[2]: *** [apache.o] Error 1 > make[2]: Leaving directory `/raid/software/_linux/src/php-4.0b2/ext/apache' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/raid/software/_linux/src/php-4.0b2/ext' > make: *** [all-recursive] Error 1 > > == snip > > The file zend_config.h seems to be missing. I read the INSTALL file and tried to rename zend_config.h.in to zend.config.h - but that also didn't help. > > Who knows what's going on? > > Thanks very much in advance, > - Steffen > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#11760) next »