firefox build error

Drew Sanford lauasanf at wilderness.homeip.net
Wed Nov 22 13:04:21 PST 2006


Lowell Gilbert wrote:
> Laurence Sanford <lauasanf at wilderness.homeip.net> writes:
> 
>> Firefox build from ports is exiting with this error:
>>
>> cc -o gtk2xtbin.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\"
>> -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -D_IMPL_GTKXTBIN_API
>> -DUSE_XIM  -I../../../dist/include/xpcom
>> -I../../../dist/include/gtkxtbin -I../../../dist/include
>> -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include
>> -I/usr/include -I../../../dist/sdk/include -I.  -I/usr/X11R6/include
>> -fPIC -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
>> -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2
>> -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -O2 -pipe
>> -DNDEBUG -DTRIMMED -O2 -DXTHREADS -DXUSE_MTSAFE_API
>> -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/glib-2.0
>> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
>> -I/usr/local/include/freetype2 -I/usr/local/include
>> -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
>> -include ../../../mozilla-config.h -DMOZILLA_CLIENT gtk2xtbin.c
>> In file included from gtk2xtbin.h:44,
>>                  from gtk2xtbin.c:46:
>> /usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before
>> "_X_SENTINEL"
>> /usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before
>> "_X_SENTINEL"
>> gtk2xtbin.c:188: warning: initialization from incompatible pointer type
>> gtk2xtbin.c: In function `xt_client_create':
>> gtk2xtbin.c:566: warning: implicit declaration of function
>> XtVaCreateWidget'
>> gtk2xtbin.c:568: warning: assignment makes pointer from integer
>> without a cast
>> gmake[2]: *** [gtk2xtbin.o] Error 1
>> gmake[2]: Leaving directory
>> /usr/ports/www/firefox/work/mozilla/widget/src/gtkxtbin'
>> 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.
>>
>> I figure something is out of date, but I've updated xorg and gtk20 and
>> I'm still getting this. Any pointers? Thanks in advance.
> 
> Did you do the Gnome-stuff update described in UPDATING last month?

No, I didn't. Of course, another box I have running 6.1 that is only a 
few days different version of the same software did not exhibit this 
problem. I performed the command indicated in UPDATING, and tried again. 
It failed with the same error. If it helps any, I'm getting exactly the 
same error trying to upgrade Thunderbird, and both the firefox and the 
firefox15 port give this error.


More information about the freebsd-questions mailing list