Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 20:52:09 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        Peter Risdon <peter@circlesquared.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: failed php4 install...can't figure this one out
Message-ID:  <20040429205209.256b3995@it.buh.cameradicommercio.ro>
In-Reply-To: <40913C22.4020903@circlesquared.com>
References:  <5.2.1.1.0.20040429091808.00b13150@pop.courtesymortgage.com> <200404291717.48287.mikkel@talkactive.net> <40913C22.4020903@circlesquared.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Apr 2004 18:32:18 +0100
Peter Risdon <peter@circlesquared.com> wrote:

> 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

[..]

> >>configure: error: libjpeg.(a|so) not found.
> >>===>  Script "configure" failed unexpectedly.

[..]

> 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:

[..]
 
> 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.

Obvious.

> The problem for the OP is a dependency, though. No idea why it wasn't 
> pulled in automatically 

It should be:

.if defined(WITH_GD)
LIB_DEPENDS+=   freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS+=   t1.5:${PORTSDIR}/devel/t1lib
LIB_DEPENDS+=   png.5:${PORTSDIR}/graphics/png
LIB_DEPENDS+=   jpeg.9:${PORTSDIR}/graphics/jpeg
CONFIGURE_ARGS+=--with-gd \
                --enable-gd-native-ttf \
                --enable-gd-jis-conv \
                --with-freetype-dir=${LOCALBASE} \
                --with-t1lib=${LOCALBASE} \
                --with-jpeg-dir=${LOCALBASE} \
                --with-png-dir=${LOCALBASE}
.if !defined(WITHOUT_X11)
LIB_DEPENDS+=   Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries
CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE}
.endif
.if defined(WITH_LZW)
CONFIGURE_ARGS+=--enable-gd-lzw-gif
.endif
.endif


> but the fix would be to install graphics/jpeg and try again.

I've builded today on an 5-current and is OK. The OP should  provide
more details.


-- 
IOnut
Unregistered ;) FreeBSD "user"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040429205209.256b3995>