From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 16:50:48 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91D9B1065673 for ; Thu, 23 Aug 2012 16:50:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7648FC1F for ; Thu, 23 Aug 2012 16:50:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-179.dynamic.qsc.de [92.195.49.179]) by mx02.qsc.de (Postfix) with ESMTP id 3A10327E4C; Thu, 23 Aug 2012 18:50:46 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q7NGojJV001951; Thu, 23 Aug 2012 18:50:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 23 Aug 2012 18:50:45 +0200 From: Polytropon To: david coder Message-Id: <20120823185045.d2e8311f.freebsd@edvax.de> In-Reply-To: <20120823162618.GE4662@mail3.dcoder.net> References: <20120822230150.GB4662@mail3.dcoder.net> <20120823011751.69a5849f.freebsd@edvax.de> <20120822234355.GC4662@mail3.dcoder.net> <20120823020015.644e38b0.freebsd@edvax.de> <20120823065406.GA3410@kontrol.kode5.net> <20120823162618.GE4662@mail3.dcoder.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jamie Paul Griffin , questions@freebsd.org Subject: Re: firefox & png X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2012 16:50:48 -0000 On Thu, 23 Aug 2012 12:26:18 -0400, david coder wrote: > +++ Jamie Paul Griffin [23/08/12 07:54 +0100]: > >[ Polytropon wrote on Thu 23.Aug'12 at 2:00:15 +0200 ] > > > >> On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote: > >> > thx, i hadn't seen the reply to my earlier message. > >> > > >> > unfortunately, though i've got the png port installed w/ > >> > > >> > OPTIONS= APNG "Animated PNG support" On > >> > >> That should be the default. Anyway, you can always check which > >> options had been in use when building and installing a port: > >> > >> % cat /var/db/ports/png/options > >> # This file is auto-generated by 'make config'. > >> # No user-servicable parts inside! > >> # Options for png-1.4.8 > >> _OPTIONS_READ=png-1.4.8 > >> WITH_APNG=true > >> > >> In this example you can see that it has been properly installed. > >> > >> > >> > >> > the install of freebsd fails w/ the error message given below. > >> > >> Sadly the Firefox build error message is not included. > >> > >> > >> > >> > is there something else required in the png makefile or elsewhere that i'm > >> > missing? > >> > >> I'm sure this entry of /usr/ports/UPDATING applies: > >> > >> 20120531: > >> AFFECTS: users of graphics/png > >> AUTHOR: dinoex@FreeBSD.org > >> > >> The PNG library has been updated to version 1.5.10. Please rebuild all > >> ports that depend on it. > > > >I built Firefox 14 a couple of days ago and png installed is now version 1.5.12. So an updated ports tree should incorporate that change now shouldn't it. > > true, but from what i have been able to sniff out on my own, ports > configuration data are stored in /usr/local/include, not anywhere in the ports > tree, so that if png has been installed already & you do a "make showconfig" > in /usr/ports/graphics/png, the data are read from files in /usr/local/include, > & if you run "make config" in /usr/ports/graphics/png, the files affected by > any change are in /usr/local/include, not anywhere in the ports tree. That's not fully correct. Ports _configuration_ (what you select with "make configure") is not stored inside the ports tree -- so far correct. It's _not_ stored in /usr/local/include. Anything that will go to those directory subtree will be installed there only by a "make install" step, not by "make configure". The options set for a port by "make configure" (even if no "make" or "make install" follows) is /var/db/ports//options, where is the name of the port in question. This data will be queried by "make showconfig". See the example shown above. make configure -> data into /var/db/ports//options make -> data into /usr/ports///work/... make install -> data into /usr/local and its subtrees The directory /usr/local/include is intended to hold header files for interfacing with various libraries. It doesn't have anything to do with ports _configuration_; it's designated content _may_ be affected by how a port is configured (by its own options or by implicit dependencies and _their_ content). > this has been a learning experience for me & prolly will continue to be as > others here correct me. See "man 7 ports" for an overview of how ports are utilized on FreeBSD. There's also a chapter in The FreeBSD Handbook dealing with ports. As soon as you have understood the simple mechanisms that build the basic parts the ports infrastructure works on, you will be quickly able to resolve all issues easily. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...