GTK Compile fail in 7.0-R

Mel fbsd.questions at rachie.is-a-geek.net
Thu Mar 6 19:14:47 UTC 2008


On Thursday 06 March 2008 18:45:31 chris at 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.


More information about the freebsd-questions mailing list