|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-13 06:49 UTC] sas at cvs dot php dot net
[2000-05-13 12:49 UTC] everett at bentonrea dot com
[2000-06-16 01:30 UTC] andi at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 22:00:01 2026 UTC |
I get the follow error message when compiling apache:(bottom of message) ./configure --with-apache=../apache --disable-short-tags --with-mysql=../mysql No problems in PHP build. The error is related to a macro definition: 35: #ifndef HAVE_FINITE 36: #ifndef finite /* in case it's already a macro */ 37: #define finite(a) isfinite(a) /* HPUX 11 only has isfinite() */ 38: #endif 39: #else 40: #if HAVE_IEEEFP_H 41: #include <ieeefp.h> 42: #endif 43: #endif I'm not running on HPUX, I am running RH 6.1. If I comment out line 36 thru 39 it will compile and build with apache. Brandt. <=== src/modules/php4 ===> src/modules/local make[4]: Nothing to be done for `all'. <=== src/modules/local <=== src/modules gcc -c -I./os/unix -I./include -I/usr/local/include/mysql/ -DLINUX=2 -I/usr/local/src/php-4.0RC2 -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2 -DNO_DL_NEEDED modules.c gcc -c -I./os/unix -I./include -I/usr/local/include/mysql/ -DLINUX=2 -I/usr/local/src/php-4.0RC2 -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2 -DNO_DL_NEEDED buildmark.c gcc -DLINUX=2 -I/usr/local/src/php-4.0RC2 -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2 -DNO_DL_NEEDED -L/usr/local/lib/mysql/ \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a modules/local/liblocal.a main/libmain.a ./os/unix/libos.a ap/libap.a -lmysqlclient -Wl,-rpath,/usr/local/src/gd -Wl,-rpath,/mysql -rdynamic -L/usr/local/src/gd -L/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -ldl -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt modules/php4/libphp4.a(zend_operators.o): In function `is_numeric_string': /usr/local/src/php-4.0RC2/Zend/zend_operators.c:1408: undefined reference to `isfinite' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/usr/local/src/apache_1.3.12/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/src/apache_1.3.12' make: *** [build] Error 2