From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 12:26:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F3616A4CE for ; Sat, 20 Mar 2004 12:26:26 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A65B43D31 for ; Sat, 20 Mar 2004 12:26:25 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.30; FreeBSD) id 1B4n30-000GVS-AM for freebsd-questions@freebsd.org; Sat, 20 Mar 2004 20:26:22 +0000 Resent-From: munk@users.munk.nu Resent-Date: Sat, 20 Mar 2004 20:26:22 +0000 Resent-Message-ID: <20040320202622.GA63363@users.munk.nu> Resent-To: FreeBSD Questions List Received: from [81.209.147.66] (helo=mail.x9media.com) by munk.nu with esmtp (Exim 4.30; FreeBSD) id 1B4mMV-000G94-Je for jez.hancock@munk.nu; Sat, 20 Mar 2004 19:42:28 +0000 X-AuthUser: thomas.may@x9media.com Received: from notebook (217.93.18.51:64389) by mail.x9media.com with [XMail 1.16 (FreeBSD/Ix86) ESMTP Server] id for from ; Sat, 20 Mar 2004 20:46:24 +0100 From: "thomas may" To: "'Jez Hancock'" Date: Sat, 20 Mar 2004 20:40:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <20040320103243.GA77288@users.munk.nu> Thread-Index: AcQOZ17ppFk9/tCIS1ili8qAFJ7iqAAS95uA X-Spam-Score: 0.0 (/) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on users.munk.nu X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 Resent-Sender: Jez Hancock Resent-Date: Sat, 20 Mar 2004 20:26:22 +0000 Subject: AW: freebsd, php and gd libary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 20:26:26 -0000 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 " /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 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