failed php4 install...can't figure this one out
Peter Risdon
peter at circlesquared.com
Thu Apr 29 10:31:33 PDT 2004
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 at 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 <dirk at FreeBSD.org>
#
# $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 at 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.
More information about the freebsd-questions
mailing list