I want to enable my php-gmp and I don't want to use macports because I use homebrew.
First I
brew install gmp
and i got gmp 5.0.1
Then I downloaded the source code for PHP 5.3.6, then I will go to
Source / internal / GMF
I did
phpize
and then
MACOSX_DEPLOYMENT_TARGET = 10.6 CFLAGS = '- O3 -fno-common -arch i386 -arch x86_64' LDFLAGS = '- O3 -arch i386 -arch x86_64' CXXFLAGS = 'O3 -fno-common -arch i386 -arch x86_64'. / configure --with-PHP configurations = / Developer / SDKs / MacOSX10.6.sdk / USR / bin / PHP configurations; make -j6; sudo make install
And he gave me this message:
check for GNU MP support ... yes, joint check __gmp_randinit_lc_2exp_size in -lgmp ... no check for gmp_randinit_lc_2exp_size in -lgmp ... no configure: error: GNU MP library requires version 4.1.2 or higher. make: * There are no goals and no makefile found. Stop.
Any idea how to enable php-gmp without macports on Mac OSX 10.6.6? thanks
source share