firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Kyle Allender
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?

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.


Thanks in advance.

K
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread cpghost
On Sun, 09 Sep 2007 12:01:11 -0500
Kyle Allender [EMAIL PROTECTED] 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.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Kyle Allender

cpghost wrote:

On Sun, 09 Sep 2007 12:01:11 -0500
Kyle Allender [EMAIL PROTECTED] 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:

[EMAIL PROTECTED] /usr/ports/databases/mysql51-server]# ls -ld /usr/X11R6
lrwxr-xr-x  1 root  wheel  10 Jun 16 16:26 /usr/X11R6 - /usr/local
[EMAIL PROTECTED] /usr/ports/databases/mysql51-server]# ls -ld /usr/local
drwxr-xr-x  22 root  wheel  512 Sep  4 14:56 /usr/local
[EMAIL PROTECTED] /usr/ports/databases/mysql51-server]# ls -ld 
/usr/X11R6/include
drwxr-xr-x  155 root  wheel  23040 Sep  9 10:35 /usr/X11R6/include
[EMAIL PROTECTED] /usr/ports/databases/mysql51-server]# ls -ld 
/usr/local/include
drwxr-xr-x  155 root  wheel  23040 Sep  9 10:35 /usr/local/include
[EMAIL PROTECTED] /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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Mel
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.


-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Kyle Allender

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=00 
-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=00 
-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=00 -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 

Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Kyle Allender

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.



  

A quick follow-up.  I tried this command:

make -DENABLE-STATIC -DENABLE-SHARED

in /usr/ports/x11-toolkits/pango

and now the pangox.h file is present here:

[EMAIL PROTECTED] /usr/ports/x11-toolkits/pango/work/pango-1.16.5/pango]# ls -ld 
pangox.h

-rw-r--r--  1 root  wheel  4393 May 10 16:44 pangox.h

Now the question becomes how do I get that file installed in 
/usr/local/include as required by the firefox port without the ports 
system overriding my configuration changes?  Will a


make install

provide the correct result?  Or should I use:

make -DENABLE-STATIC -DENABLE-SHARED install?

K
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Mel
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.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Mel
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:

 [EMAIL PROTECTED] /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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Kyle Allender

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:

[EMAIL PROTECTED] /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 and if the symlinks are correct.  My most recent reply to the list 
asked if I should build pango this way:


make -DENABLE-STATIC -DENABLE-SHARED install

and that seems to have done the job:

[EMAIL PROTECTED] /usr/local/include/pango-1.0/pango]# ls -ld pangox.h
-r--r--r--  1 root  wheel  4393 Sep  9 13:26 pangox.h

firefox 2.0.0.6 is now building and has successfully passed the point 
where it would have failed.


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?


K
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Adam J Richardson

Mel wrote:
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.


Hi Kyle.

I think Mel has hit on the answer here. Pango is being built without X 
support.


I had this exact error myself. A few libraries [Pango, Cairo etc] 
weren't allowing themselves to be built on. Turns out I had in my 
/etc/make.conf the lines


NO_X=true
WITHOUT_X11=true

to speed up make buildworld. Then I installed X from packages on this 
machine. A bit later I tried to build Firefox... took me a week to 
figure it out.


In summary, just comment out any NO_X and WITHOUT_X11 lines in the 
locations Mel suggested. Then remove, rebuild and reinstall Pango. After 
that's done Firefox should build properly.


HtH,
Adam J Richardson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Mel
On Sunday 09 September 2007 23:28:59 Adam J Richardson wrote:
 Mel wrote:
  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.

 Hi Kyle.

 I think Mel has hit on the answer here. Pango is being built without X
 support.

 I had this exact error myself. A few libraries [Pango, Cairo etc]
 weren't allowing themselves to be built on. Turns out I had in my
 /etc/make.conf the lines

 NO_X=true
 WITHOUT_X11=true

 to speed up make buildworld. Then I installed X from packages on this
 machine. A bit later I tried to build Firefox... took me a week to
 figure it out.

 In summary, just comment out any NO_X and WITHOUT_X11 lines in the
 locations Mel suggested. Then remove, rebuild and reinstall Pango. After
 that's done Firefox should build properly.

Yeah, I figured he wouldn't be alone in this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=116236

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Adam J Richardson

Mel wrote:

Yeah, I figured he wouldn't be alone in this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=116236


That makes it nice and clear. Thanks.

By the way, can you check your return address? I'm getting mailer daemon 
errors for fbsd.questions.


Regards,
Adam J Richardson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Mel
On Monday 10 September 2007 00:07:55 Adam J Richardson wrote:

 By the way, can you check your return address? I'm getting mailer daemon
 errors for fbsd.questions.

And so are the ~20 spammers who picked up the address within 24 hours after 
first list post. Only FreeBSD domain is allowed and people that request it. 
Gotta love postfix smtpd_restriction_classes.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 2.0.0.6 build fails: missing pangox.h

2007-09-09 Thread Kyle Allender

Adam J Richardson wrote:

Mel wrote:
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.


Hi Kyle.

I think Mel has hit on the answer here. Pango is being built without X 
support.


I had this exact error myself. A few libraries [Pango, Cairo etc] 
weren't allowing themselves to be built on. Turns out I had in my 
/etc/make.conf the lines


NO_X=true
WITHOUT_X11=true

to speed up make buildworld. Then I installed X from packages on 
this machine. A bit later I tried to build Firefox... took me a week 
to figure it out.


In summary, just comment out any NO_X and WITHOUT_X11 lines in the 
locations Mel suggested. Then remove, rebuild and reinstall Pango. 
After that's done Firefox should build properly.


HtH,
Adam J Richardson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


That was precisely the problem - my /etc/make.conf had WITHOUT_X11 from 
when I was trying to get CalendarServer installed a few weeks ago.  
After I commented that out, firefox built without issue.


Thanks for both your help - 'tis appreciated.

K
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]