GTK Compile fail in 7.0-R

Chris Maness chris at chrismaness.com
Fri Mar 7 00:24:18 UTC 2008


Mel wrote:
> 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.
>   
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



More information about the freebsd-questions mailing list