#23134 [Opn->Bgs]: make gives error: No include path in which to find math.h

From: Date: Wed, 23 Apr 2003 08:49:40 +0000
Subject: #23134 [Opn->Bgs]: make gives error: No include path in which to find math.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38160@lists.php.net to get a copy of this message
ID: 23134 Updated by: sniper@php.net Reported By: mkoopman at csc dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: solaris 7 PHP Version: 4.3.1 New Comment: Ah..this is not PHP bug. There's obviously something really wrong with your system if math.h can't be found. Previous Comments: ------------------------------------------------------------------------ [2003-04-16 08:15:45] mkoopman at csc dot com I have tried the CVS version provided and get the following error when trying a make: In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/include /math.h:5, from /export/home/php/php4-STABLE-200304110730/Zend/../main/php _config.h:2506, from /export/home/php/php4-STABLE-200304110730/Zend/zend_config .h:1, from /export/home/php/php4-STABLE-200304110730/Zend/zend.h:52, from /export/home/php/php4-STABLE-200304110730/main/php.h:34, from /export/home/php/php4-STABLE-200304110730/ext/ctype/ctype. c:23: /usr/include/math.h:5: No include path in which to find math.h make: *** [ext/ctype/ctype.lo] Error 1 ------------------------------------------------------------------------ [2003-04-09 16:50:44] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-04-09 10:29:54] mkoopman at csc dot com my apologies the OS is Solaris 7 ------------------------------------------------------------------------ [2003-04-09 10:26:03] mkoopman at csc dot com I am installing php 4.3.1 using ./configure --with-oci8=/opt/oracle --with-nsapi=/usr/netscape/server4 --enable-libgcc --with-regex=php but when I do the make I get an error: In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/include /math.h:5, from /export/home/php/php-4.3.1/Zend/../main/php_config.h:2443, from /export/home/php/php-4.3.1/Zend/zend_config.h:1, from /export/home/php/php-4.3.1/Zend/zend.h:52, from /export/home/php/php-4.3.1/main/php.h:34, from /export/home/php/php-4.3.1/ext/ctype/ctype.c:23: /usr/include/math.h:5: No include path in which to find math.h make: *** [ext/ctype/ctype.lo] Error 1 this is after putting a link in /usr/include. This is similiar to bug 8158 but there was no reolution for this. Any help would be most appreciated. cheers Menno . ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23134&edit=1

« previous php.bugs (#38160) next »