Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 20:40:53 +0100
From:      "thomas may" <thomas.may@x9media.com>
To:        "'Jez Hancock'" <jez.hancock@munk.nu>
Subject:   AW: freebsd, php and gd libary
Resent-Message-ID: <20040320202622.GA63363@users.munk.nu>
In-Reply-To: <20040320103243.GA77288@users.munk.nu>

| previous in thread | raw e-mail | index | archive | help
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=3D -DWITHOUT_X11 install
=3D=3D=3D>  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=3Dcompile 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=FCngliche Nachricht-----
Von: Jez Hancock [mailto:munk@munk.nu] Im Auftrag von Jez Hancock
Gesendet: Samstag, 20. M=E4rz 2004 11:33
An: thomas may
Cc: freebsd-questions@FreeBSD.org
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.
>=20
> 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

--=20
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
=20

---
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
=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>