From owner-freebsd-questions@FreeBSD.ORG Sun Sep 9 18:47:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A0C16A418 for ; Sun, 9 Sep 2007 18:47:05 +0000 (UTC) (envelope-from kallender@completecomputing.com) Received: from cgp.netins.net (f1phy.netins.net [167.142.228.65]) by mx1.freebsd.org (Postfix) with ESMTP id D91E613C442 for ; Sun, 9 Sep 2007 18:47:04 +0000 (UTC) (envelope-from kallender@completecomputing.com) X-netINS-MPP: scanned Received: from [199.120.78.141] (account kylea@netins.net HELO G4.local) by cgpf1.cgp.netins.net (CommuniGate Pro SMTP 5.0.13) with ESMTPA id 1438413874; Sun, 09 Sep 2007 13:47:03 -0500 Message-ID: <46E43F98.8090901@completecomputing.com> Date: Sun, 09 Sep 2007 13:46:48 -0500 From: Kyle Allender User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Mel References: <46E426D7.8040203@completecomputing.com> <200709091959.07952.fbsd.questions@rachie.is-a-geek.net> <46E43806.50705@completecomputing.com> <200709092027.44570.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200709092027.44570.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: firefox 2.0.0.6 build fails: missing pangox.h X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2007 18:47:05 -0000 Mel wrote: > On Sunday 09 September 2007 20:14:30 Kyle Allender wrote: > >> I see where the error is looking for pangox.h, but that file is not >> present in the directory. A search on the system shows that it was >> never created by the pango build either. I have a feeling that there's >> a switch I should have supplied to make when building the pango port, >> but I'm not sure what switch that would have been. >> >> Thoughts? > > cd /usr/ports/x11-toolkits/pango && grep pangox pkg-plist && grep X11 Makefile > > holds the answer to your problem. The output of the above command is: [root@sia /usr/ports/x11-toolkits/pango/work/pango-1.16.5/tools]# cd /usr/ports/x11-toolkits/pango && grep pangox pkg-plist && grep X11 Makefile %%X11%%etc/pango/pangox.aliases %%X11%%include/pango-1.0/pango/pangox.h %%X11%%include/pango-1.0/pango/pangoxft-render.h %%X11%%include/pango-1.0/pango/pangoxft.h %%X11%%lib/libpangox-1.0.a %%X11%%lib/libpangox-1.0.la %%X11%%lib/libpangox-1.0.so %%X11%%lib/libpangox-1.0.so.0 %%X11%%lib/libpangoxft-1.0.a %%X11%%lib/libpangoxft-1.0.la %%X11%%lib/libpangoxft-1.0.so %%X11%%lib/libpangoxft-1.0.so.0 %%X11%%libdata/pkgconfig/pangox.pc %%X11%%libdata/pkgconfig/pangoxft.pc FONTSCALE= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf FONTENCOD= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir .if defined(WITHOUT_X11) PLIST_SUB+= X11="@comment " -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" PLIST_SUB+= X11="" I see where the file should be created if X is enabled during the pango build and if the symlinks are correct. My most recent reply to the list asked if I should build pango this way: make -DENABLE-STATIC -DENABLE-SHARED install and that seems to have done the job: [root@sia /usr/local/include/pango-1.0/pango]# ls -ld pangox.h -r--r--r-- 1 root wheel 4393 Sep 9 13:26 pangox.h firefox 2.0.0.6 is now building and has successfully passed the point where it would have failed. I'm not sure how to interpret the output of the command at the top of this post. What exactly should that command tell me? It outputs what the Makefile expects for an include directory [LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"] but that confirms that the symlinks were in place correctly from the beginning doesn't it? K