Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2007 21:05:12 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: firefox 2.0.0.6 build fails: missing pangox.h
Message-ID:  <200709092105.12625.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <46E43F98.8090901@completecomputing.com>
References:  <46E426D7.8040203@completecomputing.com> <200709092027.44570.fbsd.questions@rachie.is-a-geek.net> <46E43F98.8090901@completecomputing.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709092105.12625.fbsd.questions>