From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 10:31:33 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 A60F116A4CE for ; Thu, 29 Apr 2004 10:31:33 -0700 (PDT) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 380A943D48 for ; Thu, 29 Apr 2004 10:31:24 -0700 (PDT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i3THWIXs005144; Thu, 29 Apr 2004 18:32:18 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <40913C22.4020903@circlesquared.com> Date: Thu, 29 Apr 2004 18:32:18 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040327 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikkel Christensen References: <5.2.1.1.0.20040429091808.00b13150@pop.courtesymortgage.com> <200404291717.48287.mikkel@talkactive.net> In-Reply-To: <200404291717.48287.mikkel@talkactive.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: failed php4 install...can't figure this one out 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: Thu, 29 Apr 2004 17:31:33 -0000 Mikkel Christensen wrote: >On Thursday 29 April 2004 16:22, Jason Williams wrote: > > >>After that, I tried installing the following port: >> >>/usr/ports/lang/php4 >> >>Granted, i'm not entirely familiar with php and noticed there are quite a >>few variations of what i can install. >>When it came down to selecting what I wanted to build PHP with, I left the >>defaults selected, but made sure GD and MySQL were selected. >> >>After it crunched for awhile, I got the following error: >> >>configure: error: libjpeg.(a|so) not found. >>===> Script "configure" failed unexpectedly. >>Please report the problem to ale@FreeBSD.org [maintainer] and attach the >>"/usr/ports/lang/php4/work/php-4.3.6/config.log" including the output of the >>failure of your make command. Also, it might be a good idea to provide an >>overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). >>*** Error code 1 >> >>Stop in /usr/ports/lang/php4. >>*** Error code 1 >> >>Stop in /usr/ports/lang/php4. >> >> >> > >You should not install ports directly from the /usr/ports/lang directory. >The content here seems to be ports that other ports use in a combination. Not stand alone ports. > > I don't think that's true. You're right to say that other ports use this directory; take the mod_php4 port as an example. The Makefile is: less /usr/ports/www/mod_php4/Makefile # New ports collection makefile for: mod_php4 # Date created: Sun May 28 11:31:54 CEST 2000 # Whom: Dirk Froemberg # # $FreeBSD: ports/www/mod_php4/Makefile,v 1.191 2003/06/06 17:43:59 nork Exp $ # # Instructions on how to enable preferred extensions can be found in the # Makefile of the master port (lang/php4). # PORTEPOCH= 1 CATEGORIES= www MAINTAINER= sysadmin@alexdupre.com PKGMESSAGE= ${.CURDIR}/pkg-message MASTERDIR= ${.CURDIR}/../../lang/php4 WITHOUT_CLI= yes .include "${MASTERDIR}/Makefile" So it's a sort of wrapper for lang/php4 with the configure argument WITHOUT_CLI = yes but you should still be able to use the lang/php4 port if you wish. I always do. The problem for the OP is a dependency, though. No idea why it wasn't pulled in automatically but the fix would be to install graphics/jpeg and try again. PWR.