PHP 4.0 Bug #8158 Updated: unable to find math.h when doing a make

From: Date: Thu, 07 Dec 2000 23:59:43 +0000
Subject: PHP 4.0 Bug #8158 Updated: unable to find math.h when doing a make
Groups: php.dev 
Request: Send a blank email to php-dev+get-40515@lists.php.net to get a copy of this message
ID: 8158 Updated by: sniper Reported By: kim@lmc.cc.mi.us Status: Feedback Bug Type: *Install and Config Assigned To: Comments: Please try latest snapshot from http://snaps.php.net/ And if it still doesn't work, please add your configure line into this bug report too. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-07 09:32:53] kim@lmc.cc.mi.us When trying to do a make after compiling, I get the following error message : Making all in Zend make[1]: Entering directory `/temp/php-4.0.3pl1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D _POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c zend-scanner.c In file included from ../math.h:5, from ../php_config.h:1692, from zend_config.h:1, from zend.h:43, from zend-scanner.c:2620: /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/include/math.h:5: math.h: No such file or directory make[1]: *** [zend-scanner.lo] Error 1 make[1]: Leaving directory `/temp/php-4.0.3pl1/Zend' make: *** [all-recursive] Error 1 So then I created a soft link to this file in /usr/include/, and get the following : Making all in Zend make[1]: Entering directory `/temp/php-4.0.3pl1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D _POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c zend-scanner.c In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/include/m ath.h:5, from ../math.h:5, from ../php_config.h:1692, from zend_config.h:1, from zend.h:43, from zend-scanner.c:2620: /usr/include/math.h:5: No include path in which to find math.h make[1]: *** [zend-scanner.lo] Error 1 make[1]: Leaving directory `/temp/php-4.0.3pl1/Zend' make: *** [all-recursive] Error 1 Which looks like it can't find the math.h file in the gcc-lib/include directory - but the file is in the directory where it is looking? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8158

« previous php.dev (#40515) next »