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:

[EMAIL PROTECTED] /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:

[EMAIL PROTECTED] /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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to