Click to See Complete Forum and Search --> : MAC OS X PHP Install Problems


EOS
02-23-2003, 12:12 AM
Hello there. I am trying to install the latest version of PHP on my mac which is running the latest version of OS X

However when I compile with this line:

./configure --with-apxs --with-gettext

The install runs fine for a while but then I recieve the following error:

checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking for GNU gettext support... yes
configure: error: Cannot locate header file libintl.h

However when I compile without gettext every thing goes perfect and the make install finishes fine.

Can anyone help me out?
I am a complete begger using unix. So step by step instructions please!

Thanks Ian
ian@empireofstyle.com

tranzparency
02-27-2003, 04:38 PM
Looks as though that file is missing from the apache dist you got. What version are you attempting to install? Did it come with OS X or did you download it from apache?

EOS
03-01-2003, 04:15 AM
Im running the Apache that came with the system. I ended up downloading get text with fink and installing it and it worked just fine.

However now ive gone and installed mysql and messed that up somehow. So im going to install a clean system and start setting stuff up now that i almost kow what im doing!

Thanks for the tip.