firefox 2.0.0.6 build fails: missing pangox.h

Kyle Allender kallender at completecomputing.com
Sun Sep 9 10:44:35 PDT 2007


cpghost wrote:
> On Sun, 09 Sep 2007 12:01:11 -0500
> Kyle Allender <kallender at completecomputing.com> wrote:
>
>   
>> While trying to upgrade the ports tree on my 6.2-RELEASE system, I am 
>> getting a failure with the firefox 2.0.0.6 port:
>>
>> nsRenderingContextGTK.h:161: warning:   by `virtual nsresult 
>> nsRenderingContextGTK::DrawString(const nsString&, nscoord, nscoord, 
>> PRInt32, const nscoord*)'
>> nsDeviceContextGTK.cpp:70:26: pango/pangox.h: No such file or
>> directory gmake[4]: *** [nsDeviceContextGTK.o] Error 1
>> gmake[4]: Leaving directory 
>> `/usr/ports/www/firefox/work/mozilla/gfx/src/gtk'
>> gmake[3]: *** [libs] Error 2
>> gmake[3]: Leaving directory
>> `/usr/ports/www/firefox/work/mozilla/gfx/src' gmake[2]: *** [libs]
>> Error 2 gmake[2]: Leaving directory
>> `/usr/ports/www/firefox/work/mozilla/gfx' gmake[1]: *** [tier_9]
>> Error 2 gmake[1]: Leaving directory
>> `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2
>> *** Error code 2
>>
>>
>> I have upgraded pango to the latest build in the ports thus:
>>
>> make -DWITH_X11 reinstall
>>
>> thinking that pango had a problem installing with X enabled.  This
>> has made no difference as the firefox build fails whether or not I
>> specify the -DWITH_X11 switch to the pango build or not.
>>
>> Could someone suggest a fix for this issue?
>>     
>
> Hmmm... just a wild guess: could you please check if the
> /usr/X11R6 -> /usr/local symlink is set? IIRC, not all ports have
> been updated yet to uniformly use /usr/local/include[/pango-1.0]
> instead of /usr/X11R6/include[/pango-1.0].
>
> Regards,
> -cpghost.
>
>   
The link does appear to still be set:

[root at sia /usr/ports/databases/mysql51-server]# ls -ld /usr/X11R6
lrwxr-xr-x  1 root  wheel  10 Jun 16 16:26 /usr/X11R6 -> /usr/local
[root at sia /usr/ports/databases/mysql51-server]# ls -ld /usr/local
drwxr-xr-x  22 root  wheel  512 Sep  4 14:56 /usr/local
[root at sia /usr/ports/databases/mysql51-server]# ls -ld /usr/X11R6/include
drwxr-xr-x  155 root  wheel  23040 Sep  9 10:35 /usr/X11R6/include
[root at sia /usr/ports/databases/mysql51-server]# ls -ld /usr/local/include
drwxr-xr-x  155 root  wheel  23040 Sep  9 10:35 /usr/local/include
[root at sia /usr/ports/databases/mysql51-server]#

I had thought of this, too, but didn't see an issue with how it's been 
set.  Would I need to explicitly set the symlink for /usr/X11R6/include 
as well?

K


More information about the freebsd-questions mailing list