Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2007 13:46:48 -0500
From:      Kyle Allender <kallender@completecomputing.com>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: firefox 2.0.0.6 build fails: missing pangox.h
Message-ID:  <46E43F98.8090901@completecomputing.com>
In-Reply-To: <200709092027.44570.fbsd.questions@rachie.is-a-geek.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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