firefox 2.0.0.6 build fails: missing pangox.h
Mel
fbsd.questions at rachie.is-a-geek.net
Sun Sep 9 12:05:14 PDT 2007
On Sunday 09 September 2007 20:46:48 Kyle Allender wrote:
> 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 at 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
Almost correct: If WITHOUT_X11 is not defined during build of pango.
You probably had WITHOUT_X11 defined somewhere (/etc/make.conf
or /var/db/ports/pango/options or /usr/local/etc/pkgtools.conf in MAKE_ARGS
somewhere, shell environment?) when you rebuilt pango.
> 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?
Sorry for being short, I thought you'd pick up on it. The ports system is
quite transparent once you get the basics.
--
Mel
More information about the freebsd-questions
mailing list