From owner-freebsd-questions Sat Mar 2 15:55:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from moutng0.schlund.de (moutng0.kundenserver.de [212.227.126.170]) by hub.freebsd.org (Postfix) with ESMTP id 69A6B37B400 for ; Sat, 2 Mar 2002 15:55:11 -0800 (PST) Received: from [195.20.224.148] (helo=mxintern.kundenserver.de) by moutng0.schlund.de with esmtp (Exim 3.22 #2) id 16hJLF-00005C-00 for questions@freebsd.org; Sun, 03 Mar 2002 00:55:05 +0100 Received: from [172.17.29.6] (helo=alex.i.schlund.de) by mxintern.kundenserver.de with smtp (Exim 2.12 #3) id 16hJLF-0002bd-00 for questions@freebsd.org; Sun, 3 Mar 2002 00:55:05 +0100 Received: (qmail 78646 invoked by uid 519); 2 Mar 2002 23:55:04 -0000 Date: Sun, 3 Mar 2002 00:55:04 +0100 From: Alex Kiesel To: Joseph Wright Cc: questions@freebsd.org Subject: Re: Building mod_php4 with GD2 Message-ID: <20020302235504.GB78568@schlund.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Binford: 6100 (more power) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mar 02, 2002, Joseph Wright wrote: > I have had no problems building mod_php4 wiht gd but now I have a need > for gd2 but have not been able to get it running. I tried changing the > line in mod_php4/scripts/configure.php > > that says echo "LIB_DEPENDS+= gd.2:\${PORTSDIR}/graphics/gd" > > to say > > echo "LIB_DEPENDS+= gd:\${PORTSDIR}/graphics/gd2" Hi Joseph, I do always change it to echo "LIB_DEPENDS+= gd.3:\${PORTSDIR}/graphics/gd2" It has always worked. > but I muust be doing something wrong because the port builds and gd2 > appears to be installed atleast under pkg_info but It does not show up > under phpnfo(); The first part of LIB_DEPENDS corresponds to the "library information" (name and version), the second only says which port to install if the lib is not found. (As fas as I understand this). Alex -- Alex Kiesel PGP Key: 0x09F4FA11 Todays excuse: PEBKAC (Problem Exists Between Keyboard And Chair) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message