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

From: Date: Thu, 24 Apr 2003 11:48:21 +0000
Subject: #23134 [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-38293@lists.php.net to get a copy of this message
ID: 23134 User updated by: mkoopman at csc dot com Reported By: mkoopman at csc dot com Status: Bogus Bug Type: Compile Failure Operating System: solaris 7 PHP Version: 4.3.1 New Comment: It is a bit weird but the math.h file just calls itself on line 5 (which is where the error is)as far as I can see and there is a copy in /usr/lib/include so i`m a bit confused. #ifndef _MATH_H_WRAPPER #ifdef __cplusplus # define exception __math_exception #endif #include_next <math.h> #ifdef __cplusplus # undef exception #endif #define _MATH_H_WRAPPER #endif /* _MATH_H_WRAPPER */ Any help would be much appreciated. Previous Comments: ------------------------------------------------------------------------ [2003-04-23 03:49:40] sniper@php.net Ah..this is not PHP bug. There's obviously something really wrong with your system if math.h can't be found. ------------------------------------------------------------------------ [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 (#38293) next »