Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2007 12:44:12 -0500
From:      Kyle Allender <kallender@completecomputing.com>
To:        cpghost <cpghost@cordula.ws>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: firefox 2.0.0.6 build fails: missing pangox.h
Message-ID:  <46E430EC.8000300@completecomputing.com>
In-Reply-To: <20070909194336.5f33ca1b@epia-2.farid-hajji.net>
References:  <46E426D7.8040203@completecomputing.com> <20070909194336.5f33ca1b@epia-2.farid-hajji.net>

next in thread | previous in thread | raw e-mail | index | archive | help
cpghost wrote:
> On Sun, 09 Sep 2007 12:01:11 -0500
> Kyle Allender <kallender@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@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@sia /usr/ports/databases/mysql51-server]# ls -ld /usr/local
drwxr-xr-x  22 root  wheel  512 Sep  4 14:56 /usr/local
[root@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@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@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



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