ID: 19807 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Solaris 8 Sparc PHP Version: 4.2.3 New Comment:
Well, upgrading to gcc3.2 didn't help. HUGE_VAL ist still not defined in math.h. Isn't this a ix86 feature? Previous Comments: ------------------------------------------------------------------------ [2002-10-07 19:00:56] [EMAIL PROTECTED] can someone on a Sparc try this on PHP4.3.0 ? ------------------------------------------------------------------------ [2002-10-07 18:56:47] [EMAIL PROTECTED] Hi I' trying to compile php 4.2.3 with apache 1.3.27 on Sparc Solaris 8 (gcc3.0.3). Configured with ./configure --without-x --with-apache=../apache_1.3.27 --enable-force-cgi-redirect --enable-discard-path --enable-safe-mode --enable-magic-quotes --disable-rpath --with-zlib --enable-calendar --with-cyrus --with-db3=/usr/local/BerkeleyDB.3.2 --enable-ftp --with-mysql --enable-sockets --enable-memory-limit --enable-shared=yes --enable-mailparse --enable-track-vars --prefix=/usr/local/apache/php configure runs without errors. make then yields [...] math.c: In function `_php_math_zvaltobase': math.c:774: `HUGE_VAL' undeclared (first use in this function) math.c:774: (Each undeclared identifier is reported only once math.c:774: for each function it appears in.) make[3]: *** [math.lo] Error 1 [...] Strangely, when I compile php 4.2.2 on the same machine against apache 1.3.27, the error does not occur, i.e. everything works just fine. (btw.: the only math.h on the system is in /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/include/math.h and does definitely not define HUGE_VAL) The only thing I can think of right now is to get a newer math.h, i.e. update gcc (which I would sure hate :-[ Does anybody have any other suggestion? kind regards /markus ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19807&edit=1