Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Mar 2008 16:24:16 -0800
From:      Chris Maness <chris@chrismaness.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: GTK Compile fail in 7.0-R
Message-ID:  <47D08B30.9060204@chrismaness.com>
In-Reply-To: <200803062014.43505.fbsd.questions@rachie.is-a-geek.net>
References:  <4147.163.150.112.196.1204825531.squirrel@squirrel.kq6up.org> <200803062014.43505.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mel wrote:
> 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.
>   
I fixed by ripping out gtk20 (make deinstall in the port directory) and 
adding the binary package.  I figured that the binary can't be too far 
out of sync with the rest of the ports since it has just been released, 
but I thin there is some sort of dependency bug.  It should be able to 
compile.

Thanks

-- 
Chris Maness
(909) 223-9179
http://www.chrismaness.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D08B30.9060204>