Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2008 20:14:42 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        chris@chrismaness.com
Subject:   Re: GTK Compile fail in 7.0-R
Message-ID:  <200803062014.43505.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <4147.163.150.112.196.1204825531.squirrel@squirrel.kq6up.org>
References:  <4147.163.150.112.196.1204825531.squirrel@squirrel.kq6up.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 06 March 2008 18:45:31 chris@chrismaness.com wrote:
> I have tried to re-build all of my ports, but gtk-2 is failing.  Any
> suggestions.
>
> the comand I used last was:
>
> portupgrade -Rf --batch gtk-2.12.3
>
> iqr.la im-multipress.la  > gtk.immodules
> /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by
> "libgdk_pixbuf-2.0.so.0"
> gmake[3]: *** [gtk.immodules] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all] Error 2
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! x11-toolkits/gtk20 (gtk-2.12.3)       (new compiler error)
>

gtk20 doesn't depend on gdk-pixbuf according to the port, but the gtk2's 
configure script doesn't agree.
In short: the gnome-hack magic is not working for this as it doesn't add 
gdkpixbuf to LIB_DEPENDS. You might wanna report this to the freebsd-gnome 
list.

To make it work for you:
Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20 again. 
There's a change you'll run into the same with a different port this time, 
then rinse and repeat.
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803062014.43505.fbsd.questions>