Compiling GMp support into PHP 5

topdog

Verified User
Joined
Jun 22, 2009
Messages
135
Hello,
I'm trying to compile GMP support into PHP 5.2.13. I'm on CentOs 5.4 64-bit. I downloaded GMP, compiled it, installed it, and those things went fine.
However, when I add the line
--with-gmp=/usr/local/lib
to my /usr/local/directadmin/custombuild/custom/ap2/configure.php5 file, and attempt to rebuild php, before PHP is fully recompiled make gives the following error messages:
/usr/local/directadmin/custombuild/php-5.2.13/ext/gmp/gmp.c:1399: error: for each function it appears in.)
make: *** [ext/gmp/gmp.lo] Error 1
make: *** Waiting for unfinished jobs....
What do those messages mean? When it says that it's waiting for unfinished jobs, PHP is never fully compiled, and my concern is that I'll not be able to use GMP in PHP 5.2.
The purpose of my wanting to compile GMP support into PHP 5.2.13 is because I'm setting up an OpenID server using Community OpenID from Keyboard Monkeys
http://source.keyboard-monkeys.org/projects/show/communityid
 
Back
Top