Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2007 13:14:30 -0500
From:      Kyle Allender <kallender@completecomputing.com>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: firefox 2.0.0.6 build fails: missing pangox.h
Message-ID:  <46E43806.50705@completecomputing.com>
In-Reply-To: <200709091959.07952.fbsd.questions@rachie.is-a-geek.net>
References:  <46E426D7.8040203@completecomputing.com> <200709091959.07952.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mel wrote:
> On Sunday 09 September 2007 19:01:11 Kyle Allender wrote:
>
>   
>> 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
>>     
>
>   
>> I've been googling and trying to research the problem via the
>> freebsd/gnome pages, but have thus far come up empty.  I can provide
>> further log entries as needed, too.
>>     
>
> Could you post full compile statement for that error? Most notably it should 
> include -I/usr/local/include/pango-1.
>
>
>   
The compile statement is:

cc -o nsPrintdGTK.o -c  -DNATIVE_THEME_SUPPORT -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 
-DUSE_POSTSCRIPT -I../.. -I./. -I./.. -I./../shared -I./../x11shared 
-D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2    
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/widget -I../../../dist/include/view 
-I../../../dist/include/util -I../../../dist/include/pref 
-I../../../dist/include/uconv -I../../../dist/include/unicharutil 
-I../../../dist/include/locale -I../../../dist/include/necko 
-I../../../dist/include/content -I../../../dist/include/layout 
-I../../../dist/include/gfx -I../../../dist/include 
-I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include 
-I/usr/include -I../../../dist/sdk/include -I/usr/local/include   -fPIC 
-I/usr/local/include/nss -I/usr/local/include/nss/nss  
-I/usr/local/include  -I/usr/local/include -Wall -W -Wno-unused 
-Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing 
-pipe -O2 -pipe  -DNDEBUG -DTRIMMED -O  -D_THREAD_SAFE 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/pango-1.0 -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/freetype2    -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include  -I/usr/local/include 
-include ../../../mozilla-config.h -DMOZILLA_CLIENT nsPrintdGTK.c
gtk2drawing.c
cc -o gtk2drawing.o -c  -DNATIVE_THEME_SUPPORT -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 
-DUSE_POSTSCRIPT -I../.. -I./. -I./.. -I./../shared -I./../x11shared 
-D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2    
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/widget -I../../../dist/include/view 
-I../../../dist/include/util -I../../../dist/include/pref 
-I../../../dist/include/uconv -I../../../dist/include/unicharutil 
-I../../../dist/include/locale -I../../../dist/include/necko 
-I../../../dist/include/content -I../../../dist/include/layout 
-I../../../dist/include/gfx -I../../../dist/include 
-I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include 
-I/usr/include -I../../../dist/sdk/include -I/usr/local/include   -fPIC 
-I/usr/local/include/nss -I/usr/local/include/nss/nss  
-I/usr/local/include  -I/usr/local/include -Wall -W -Wno-unused 
-Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing 
-pipe -O2 -pipe  -DNDEBUG -DTRIMMED -O  -D_THREAD_SAFE 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/pango-1.0 -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/freetype2    -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include  -I/usr/local/include 
-include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2drawing.c
nsDeviceContextGTK.cpp
c++ -o nsDeviceContextGTK.o -c  -DNATIVE_THEME_SUPPORT 
-DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" 
-DBUILD_ID=0000000000 -DUSE_POSTSCRIPT -I../.. -I./. -I./.. 
-I./../shared -I./../x11shared -D_THREAD_SAFE -I/usr/local/include 
-I/usr/local/include/freetype2    -I../../../dist/include/xpcom 
-I../../../dist/include/string -I../../../dist/include/widget 
-I../../../dist/include/view -I../../../dist/include/util 
-I../../../dist/include/pref -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/locale 
-I../../../dist/include/necko -I../../../dist/include/content 
-I../../../dist/include/layout -I../../../dist/include/gfx 
-I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include 
-I/usr/local/include -I/usr/include -I../../../dist/sdk/include 
-I/usr/local/include   -fPIC  -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include  -I/usr/local/include 
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-aliasing -pipe -O2 
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  -D_THREAD_SAFE 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/pango-1.0 -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/freetype2    -I/usr/local/include/nss 
-I/usr/local/include/nss/nss  -I/usr/local/include  -I/usr/local/include 
-DMOZILLA_CLIENT -include ../../../mozilla-config.h nsDeviceContextGTK.cpp
In file included from nsDeviceContextGTK.h:47,
                 from nsDeviceContextGTK.cpp:47:
./../nsRenderingContextImpl.h:194: warning: `virtual nsresult 
nsRenderingContextImpl::DrawString(const char*, PRUint32, nscoord, 
nscoord, const nscoord*)' was hidden
nsRenderingContextGTK.h:161: warning:   by `virtual nsresult 
nsRenderingContextGTK::DrawString(const nsString&, nscoord, nscoord, 
PRInt32, const nscoord*)'
./../nsRenderingContextImpl.h:198: warning: `virtual nsresult 
nsRenderingContextImpl::DrawString(const PRUnichar*, PRUint32, nscoord, 
nscoord, PRInt32, const nscoord*)' was hidden
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

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade.38344.12 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=firefox-2.0.0.4,1 UPGRADE_PORT_VER=2.0.0.4,1 make
** Fix the problem and try again.

It looks like it should be working.  Here's the directory listing for 
that directory:

[root@sia /usr/local/include/pango-1.0]# ls -ld /usr/local/include/pango-1.0
drwxr-xr-x  3 root  wheel  512 Sep  8 13:03 /usr/local/include/pango-1.0
[root@sia /usr/local/include/pango-1.0]#


[root@sia /usr/local/include/pango-1.0]# ls -la /usr/local/include/pango-1.0
total 28
drwxr-xr-x    3 root  wheel    512 Sep  8 13:03 .
drwxr-xr-x  155 root  wheel  23040 Sep  9 10:35 ..
drwxr-xr-x    2 root  wheel   1024 Sep  8 13:03 pango
[root@sia /usr/local/include/pango-1.0]# ls -la 
/usr/local/include/pango-1.0/pango
total 168
drwxr-xr-x  2 root  wheel   1024 Sep  8 13:03 .
drwxr-xr-x  3 root  wheel    512 Sep  8 13:03 ..
-r--r--r--  1 root  wheel   9769 Sep  8 13:03 pango-attributes.h
-r--r--r--  1 root  wheel   3626 Sep  8 13:03 pango-break.h
-r--r--r--  1 root  wheel   5305 Sep  8 13:03 pango-context.h
-r--r--r--  1 root  wheel   2039 Sep  8 13:03 pango-coverage.h
-r--r--r--  1 root  wheel  14180 Sep  8 13:03 pango-engine.h
-r--r--r--  1 root  wheel   2245 Sep  8 13:03 pango-enum-types.h
-r--r--r--  1 root  wheel    232 Sep  8 13:03 pango-features.h
-r--r--r--  1 root  wheel  14831 Sep  8 13:03 pango-font.h
-r--r--r--  1 root  wheel   3408 Sep  8 13:03 pango-fontmap.h
-r--r--r--  1 root  wheel   4200 Sep  8 13:03 pango-fontset.h
-r--r--r--  1 root  wheel   1806 Sep  8 13:03 pango-glyph-item.h
-r--r--r--  1 root  wheel   4116 Sep  8 13:03 pango-glyph.h
-r--r--r--  1 root  wheel   3699 Sep  8 13:03 pango-gravity.h
-r--r--r--  1 root  wheel   1898 Sep  8 13:03 pango-item.h
-r--r--r--  1 root  wheel  12208 Sep  8 13:03 pango-layout.h
-r--r--r--  1 root  wheel   3352 Sep  8 13:03 pango-matrix.h
-r--r--r--  1 root  wheel   1934 Sep  8 13:03 pango-modules.h
-r--r--r--  1 root  wheel   4338 Sep  8 13:03 pango-ot.h
-r--r--r--  1 root  wheel   8017 Sep  8 13:03 pango-renderer.h
-r--r--r--  1 root  wheel   5523 Sep  8 13:03 pango-script.h
-r--r--r--  1 root  wheel   2667 Sep  8 13:03 pango-tabs.h
-r--r--r--  1 root  wheel   5166 Sep  8 13:03 pango-types.h
-r--r--r--  1 root  wheel   4805 Sep  8 13:03 pango-utils.h
-r--r--r--  1 root  wheel   1563 Sep  8 13:03 pango.h
-r--r--r--  1 root  wheel   3960 Sep  8 13:03 pangocairo.h
-r--r--r--  1 root  wheel   3809 Sep  8 13:03 pangofc-decoder.h
-r--r--r--  1 root  wheel   5280 Sep  8 13:03 pangofc-font.h
-r--r--r--  1 root  wheel   7269 Sep  8 13:03 pangofc-fontmap.h
-r--r--r--  1 root  wheel   4051 Sep  8 13:03 pangoft2.h
[root@sia /usr/local/include/pango-1.0]#


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?

K




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