From owner-freebsd-ports@FreeBSD.ORG Thu Sep 23 15:05:06 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 EBAD616A4CE for ; Thu, 23 Sep 2004 15:05:05 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A28F43D46 for ; Thu, 23 Sep 2004 15:05:05 +0000 (GMT) (envelope-from nikageek@gmail.com) Received: by mproxy.gmail.com with SMTP id 77so462534rnl for ; Thu, 23 Sep 2004 08:04:58 -0700 (PDT) Received: by 10.38.99.13 with SMTP id w13mr6248208rnb; Thu, 23 Sep 2004 08:04:11 -0700 (PDT) Received: by 10.38.79.65 with HTTP; Thu, 23 Sep 2004 08:04:11 -0700 (PDT) Message-ID: Date: Thu, 23 Sep 2004 17:04:11 +0200 From: Nika Vidal To: Nika Vidal , freebsd-ports@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040920102323.GB6502@happy-idiot-talk.infracaninophile.co.uk> <20040923074317.GA28396@happy-idiot-talk.infracaninophile.co.uk> <20040923110929.GA30497@happy-idiot-talk.infracaninophile.co.uk> Subject: Re: Problem with graphics/php4-gd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nika Vidal List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 15:05:06 -0000 After compiling with the options you tell me It gives me the same error. Uhmm I only delete from Makefile the --disable-all option, can this be the problem?? On Thu, 23 Sep 2004 14:16:52 +0200, Nika Vidal wrote: > Well, I didn't change anything on /etc/make.conf, but when I compile > php I added this options: > > --with-gd --with-png --with-jpeg --with-mysql --with-zlib > > And some others that havn't relation with gd or graphics. > > In httpd-error.log there isn't any error about this. > > I'm compiling it with te options you tell and waiting to know if that works. > > > > > On Thu, 23 Sep 2004 12:09:29 +0100, Matthew Seaman > wrote: > > 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: > > > > > > Critical error > > > PHP running on your server does not support the GD image library, > > > check with your webhost if ImageMagick is installed > > > > > > > > > In phpinfo(); I get gd information, but gd doesn't have jpeg support: > > > > > > gd > > > GD Support enabled > > > GD Version bundled (2.0.23 compatible) > > > GIF Read Support enabled > > > PNG Support enabled > > > WBMP Support enabled > > > XBM Support enabled > > > > > > > > > I've been trying for a week to fix it but I didn't get it. > > > > Interesting. I get the following from phpinfo(): > > > > gd > > > > GD Support => enabled > > GD Version => bundled (2.0.23 compatible) > > FreeType Support => enabled > > FreeType Linkage => with freetype > > T1Lib Support => enabled > > GIF Read Support => enabled > > GIF Create Support => enabled > > JPG Support => enabled > > PNG Support => enabled > > WBMP Support => enabled > > XBM Support => 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='-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 > > > > -- > > 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 > > > > > > > > >