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

From: Date: Wed, 16 Apr 2003 13:15:46 +0000
Subject: #23134 [Fbk->Opn]: 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-37749@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:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
-Operating System: solaris 8
+Operating System: solaris 7
 PHP Version:      4.3.1
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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



Thread (6 messages)

« previous php.bugs (#37749) next »