From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 07:36:17 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 3D52B16A4CE for ; Wed, 11 Aug 2004 07:36:17 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBD8043D46 for ; Wed, 11 Aug 2004 07:36:15 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i7B7a9Pr082130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Aug 2004 08:36:09 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i7B7a90r082129; Wed, 11 Aug 2004 08:36:09 +0100 (BST) (envelope-from matthew) Date: Wed, 11 Aug 2004 08:36:09 +0100 From: Matthew Seaman To: antenneX Message-ID: <20040811073609.GA27083@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , antenneX , Marc Cabanatuan , freebsd-questions@freebsd.org References: <41195AD0.4010804@wi.rr.com> <03d101c47f3a$4e437150$0200000a@SAGEAME> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <03d101c47f3a$4e437150$0200000a@SAGEAME> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Wed, 11 Aug 2004 08:36:10 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: Marc Cabanatuan cc: freebsd-questions@freebsd.org Subject: Re: php5 & libgd 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: Wed, 11 Aug 2004 07:36:17 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2004 at 07:29:46PM -0500, antenneX wrote: > From: "Marc Cabanatuan" > To: > Sent: Tuesday, August 10, 2004 6:31 PM > Subject: php5 & libgd > > ive grabbed php5 and attempted to grab phpMyAdmin from ports and in > > doing so (php5 works fine) I receive the error 'Unknown extension gd.' > > I recently discoevered that php was split from the core and its > > extensions, however in enabling 'gd' in php5-extensions, i still > > receive the same error. > > % make install clean > > Unknown extension gd. > > *** Error code 1 > > Stop in /usr/ports/lang/php5-extensions. > > > > Is gd located in ports? What is the recommended way of grabbing libgd > > and installing it? pkg_add? Any help with this would be greatly > > appreciated. > I'm having the same trouble with php4 -- the gd fails everytime. That doesn't sound good at all. But you two are the only people who have reported anything like this -- and as the port's maintainer, I'd hope I would be the first point of contact for problem reports. I'm mystified as to why you should be having problems with the GD extension specifically. It's just another run-of-mill PHP extension. Hmmm... I've just tried doing a test install of phpMyAdmin on a system stripped of all previously installed php or pecl ports: # cd /usr/ports/databases/phpmyadmin # make install DEFAULT_PHP_VER=3D5 and as a result the following PHP/PECL ports are installed: % pkg_info -I \*php\* \*pecl\*=20 pecl-pdflib-2.0.1 A PECL extension to create PDF on the fly php5-5.0.0_2 PHP Scripting Language (Apache Module and CLI) php5-bz2-5.0.0_2 The bz2 shared extension for php php5-gd-5.0.0_2 The gd shared extension for php php5-mysql-5.0.0_2 The mysql shared extension for php php5-openssl-5.0.0_2 The openssl shared extension for php php5-pcre-5.0.0_2 The pcre shared extension for php php5-zlib-5.0.0_2 The zlib shared extension for php phpMyAdmin-2.5.7.1_1 A set of PHP-scripts to administer MySQL over the = web and everything seems to be working as intended. Can you verify that you both have an up to date version of ports, that you've built or downloaded a copy of the INDEX{,-5} file to match the ports and if you've got any relevant settings in /etc/make.conf or /usr/local/etc/pkgtools.conf (if using portupgrade)? If the port still fails to install cleanly please do get back to me, with as much detail as you can about exactly what the build process outputs where the error occurs. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBGcxpiD657aJF7eIRAm+IAKCajcbz79fUak+LkQjbIEyH9NzEyACdF98I rB6l4p8tYKlk1yKbkWv7us4= =wGFy -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--