Thanx for your answer. I have installed the mod_php4 port, and need gd library support. So if i try the following, i get errors, in the options dialog i enabled gd support.
neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install ===> Building for mod_php4-4.3.4_7,1 /bin/sh /usr/ports/www/mod_php4/work/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DJISX0208 -Iext/gd/ -I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/ -DPHP_ATOM_INC -I/usr/ports/www/mod_php4/work/php-4.3.4/include -I/usr/ports/www/mod_php4/work/php-4.3.4/main -I/usr/ports/www/mod_php4/work/php-4.3.4 -I/usr/ports/www/mod_php4/work/php-4.3.4/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.3.4/TSRM -O -pipe -prefer-pic -c /usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c -o ext/gd/libgd/gdft.lo In file included from /usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c:63: /usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!" /usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files." /usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:" /usr/local/include/freetype2/freetype/freetype.h:23: #error " #include <ft2build.h>" /usr/local/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H" *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.3.4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 -----Ursprüngliche Nachricht----- Von: Jez Hancock [mailto:[EMAIL PROTECTED] Im Auftrag von Jez Hancock Gesendet: Samstag, 20. März 2004 11:33 An: thomas may Cc: [EMAIL PROTECTED] Betreff: Re: freebsd, php and gd libary On Sat, Mar 20, 2004 at 10:24:28AM +0100, thomas may wrote: > i installed mod_php4 from ports tree with gd options, but it starts > automatically a xfree86 installation what i don?t need on my webserver. > > So i tried to install gd-2.0.22 manually. But i get the following error > after make install <snip> Try something like: cd /usr/ports/graphics/gd make clean make -DWITHOUT_X11 install -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"