From owner-freebsd-ports@FreeBSD.ORG Thu Sep 23 11:09:34 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AB2616A4CE for ; Thu, 23 Sep 2004 11:09:34 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31C4E43D45 for ; Thu, 23 Sep 2004 11:09:33 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i8NB9Tdw030763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 Sep 2004 12:09:29 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8NB9TGU030762; Thu, 23 Sep 2004 12:09:29 +0100 (BST) (envelope-from matthew) Date: Thu, 23 Sep 2004 12:09:29 +0100 From: Matthew Seaman To: Nika Vidal Message-ID: <20040923110929.GA30497@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Nika Vidal , freebsd-ports@freebsd.org References: <20040920102323.GB6502@happy-idiot-talk.infracaninophile.co.uk> <20040923074317.GA28396@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 23 Sep 2004 12:09:29 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l 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: freebsd-ports@freebsd.org Subject: Re: Problem with graphics/php4-gd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 11:09:34 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2004 at 11:02:09AM +0200, Nika Vidal wrote: > When I login and try to upload an image I always get the same error: >=20 > Critical error > PHP running on your server does not support the GD image library, > check with your webhost if ImageMagick is installed >=20 >=20 > In phpinfo(); I get gd information, but gd doesn't have jpeg support: >=20 > gd > GD Support enabled > GD Version bundled (2.0.23 compatible) > GIF Read Support enabled > PNG Support enabled > WBMP Support enabled > XBM Support enabled=20 >=20 >=20 > I've been trying for a week to fix it but I didn't get it. Interesting. I get the following from phpinfo(): gd =20 GD Support =3D> enabled GD Version =3D> bundled (2.0.23 compatible) FreeType Support =3D> enabled FreeType Linkage =3D> with freetype T1Lib Support =3D> enabled GIF Read Support =3D> enabled GIF Create Support =3D> enabled JPG Support =3D> enabled PNG Support =3D> enabled WBMP Support =3D> enabled XBM Support =3D> enabled You seem to have all of the necessary dependencies installed, and everything is up to date. There's no obvious reason why it isn't working. Are there any relevant error messages in /var/log/httpd-error.log ? Hmmm... Have you modified the CFLAGS setting in /etc/make.conf at all? I#d be thinking about recompiling everything with CFLAGS=3D'-O -pipe' in your position. You can do that by making the edits to /etc/make.conf and then running: # portupgrade -Rfi graphics/php4-gd But that's a sledgehammer solution, and without knowing what the problem actually is, doesn't offer an guarrantees that it will actually fix anything. 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 --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBUq7piD657aJF7eIRAoDWAKC3jEyahYAJSnRd8Jqdzb60W2EN/wCgg+lC QS5tkZjcnv1/2Kl5Gw7ui4Y= =cije -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--