Cannot compile Firefox

Alistair Sutton alistair.sutton at gmail.com
Tue Feb 13 10:03:54 UTC 2007


On 13/02/07, Lars Eighner <portsuser at larseighner.com> wrote:
>
> 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?

GTK was moved into LOCALBASE back when GNOME 2.16.1 entered the ports
tree. Your error messages relate to a GTK lib in /usr/X11R6, which
could explain why you still get the failures even though you've
reinstalled gettext and gtk.

I would try moving the two .a files mentioned in the compile error out
of /usr/X11R6 and see if the compile gets any further.

Al
-- 
WWW: http://ajs.no-dns-yet.org.uk
GPG/PGP: http://ajs.no-dns-yet.org.uk/pubkey.gpg


More information about the freebsd-ports mailing list