View Full Version : Issue configuring php 5.2.5

02-06-2008, 02:32 PM
checking for GD support... yes
checking for the location of libjpeg... /usr/local/lib
checking for the location of libpng... /usr/local/lib
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr/local/lib
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

I issued the command: /build update_versions

Not sure what I am looking for in configure.php5. Not sure what to put in <DIR> in the above.

Any suggestions?

02-06-2008, 02:40 PM
cd /usr/local/directadmin/custombuild
./build freetype

02-06-2008, 03:32 PM
That got me past that one. I hit several others build issues iconv and mysql to be specific. Did I hit this issue because I removed the source directories between the first time I used build and this time using /build update_versions?

02-06-2008, 03:40 PM
lol maybe.

You can always do:

./build all d