From owner-freebsd-questions Tue Oct 16 0:32:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 890CC37B40C for ; Tue, 16 Oct 2001 00:32:17 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id EA92F2B697; Tue, 16 Oct 2001 09:32:12 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 5BF3D36B; Tue, 16 Oct 2001 17:31:05 +1000 (EST) Date: Tue, 16 Oct 2001 17:31:05 +1000 From: Edwin Groothuis To: Roger Merritt Cc: Edwin Groothuis , freebsd-questions@FreeBSD.ORG Subject: Re: xpaint port won't build Message-ID: <20011016173105.V2865@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Roger Merritt , freebsd-questions@FreeBSD.ORG 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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