Date: Tue, 16 Oct 2001 17:31:05 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: Roger Merritt <mcrogerm@stjohn.ac.th> Cc: Edwin Groothuis <edwin@mavetju.org>, freebsd-questions@FreeBSD.ORG Subject: Re: xpaint port won't build Message-ID: <20011016173105.V2865@k7.mavetju.org> In-Reply-To: <3.0.6.32.20011016141942.007eb530@stjohn.stjohn.ac.th>; from mcrogerm@stjohn.ac.th on Tue, Oct 16, 2001 at 02:19:42PM %2B0700 References: <3.0.6.32.20011016131524.007ebce0@stjohn.stjohn.ac.th> <3.0.6.32.20011016131524.007ebce0@stjohn.stjohn.ac.th> <20011016163139.U2865@k7.mavetju.org> <3.0.6.32.20011016141942.007eb530@stjohn.stjohn.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 16, 2001 at 02:19:42PM +0700, Roger Merritt wrote: > At 04:31 PM 10/16/01 +1000, you wrote: > >On Tue, Oct 16, 2001 at 01:15:24PM +0700, Roger Merritt wrote: > >> I was trying to install the current xpaint port, but it fails in > >> readWritePNG.c with the error message: > >> > >> readWritePNG.c:10: png.h: No such file or directory > >> > >> The Makefile shows: > >> LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ > >> png.5:${PORTSDIR}/graphics/png > >> But for some reason it's not making png. > >> > >> What's my next step? > > > >It should make it automagicly. Try a 'make install' in > >/usr/ports/graphics/png and then this one again. > > OK, tried that again. It refused to install, because the port has already > been installed, but the source code is there. But when I cd over to xpaint > and do 'make' it still says 'png.h: No such file or directory'. Meanwhile > the find(1) shows '/usr/ports/graphics/png/work/libphg-1.2/png.h'. Do I > need to edit the Makefile? I've never had this happen with a port before, > so I don't know how to proceed. Uninstall png-1.1.something (whatever is currently installed, try "pkg_version -vs png"), then "make clean", then "make" and "make install" of png-1.2.0 You will end up with a png.h in /usr/local/include Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011016173105.V2865>