Cannot compile Firefox

Lars Eighner portsuser at larseighner.com
Tue Feb 13 09:31:48 UTC 2007


uname -a output:

FreeBSD goodwill.6dollardialup.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri
Jan 12 10:40:27 UTC 2007
root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

Makefile variables:

PORTNAME=	firefox
DISTVERSION=	2.0.0.1
PORTREVISION=	1
PORTEPOCH=	1


Crash message:

[...]

ype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0
-lgli b-2.0 -liconv -L/usr/X11R6/lib -lXt -lX11 -Wl,-Bsymbolic -lc -lm
-pthread -pt hread -L/usr/local/lib -liconv

/usr/X11R6/lib/libgtk-x11-2.0.a(gtkcontainer.o)(.text+0x1b6): In function
`gtk_c ontainer_class_init':

: undefined reference to `libintl_dgettext'
/usr/X11R6/lib/libgtk-x11-2.0.a(gtkcontainer.o)(.text+0x1c9): In function
/`gtk_container_class_init':

: undefined reference to `libintl_dgettext'
/usr/X11R6/lib/libgtk-x11-2.0.a(gtkcontainer.o)(.text+0x203): In function
/`gtk_container_class_init':

/usr/X11R6/lib/libgtk-x11-2.0.a(gtkmenubar.o)(.text+0x278): more undefined
references to `libintl_dgettext' follow

/usr/X11R6/lib/libgdk_pixbuf-2.0.a(gdk-pixdata.o)(.text+0xb26): In function
`IA_ _gdk_pixbuf_from_pixdata': 
: undefined reference to `libintl_ngettext'

gmake[2]: *** [libgtkxtbin.so] Error 1

gmake[2]: Leaving directory
`/usr/ports/www/firefox/work/mozilla/widget/src/gtkx tbin'

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.

** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.61663.0 en v UPGRADE_TOOL=portupgrade
UPGRADE_PORT=firefox-2.0_2,1 UPGRADE_PORT_VER=2.0_2,1
  make

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
         ! www/firefox (firefox-2.0_2,1) (linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


with a freshly cvsup'd ports tree I forced a reinstall of gettext
and gt20 (although portupgrade thought they were current)
but the attempt to upgrade firefox ended in exactly the same
way.

Any ideas?


-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266



More information about the freebsd-ports mailing list