Problems installing gimp2 on leopard

Ryan Schmidt ryandesign at macports.org
Wed Dec 12 03:28:37 PST 2007


On Dec 12, 2007, at 04:07, Randall Wood wrote:

> On 11 Dec 2007, at 07:12, Frank McPherson wrote:
>
>> On Dec 9, 2007, at 8:01 PM, Ryan Schmidt wrote:
>>
>>>> As I poked around the dependency tree, I saw that gtk2 had been  
>>>> previously installed with the +quartz and +x11 variants.  I  
>>>> tried rebuilding gtk2 with only the +quartz variant, but found  
>>>> it somehow automatically adds +x11.
>>>
>>> Since Randall Wood just dropped maintainership of gtk2 and gnome,  
>>> I stepped in and changed this in r31844. Now +x11 is the default  
>>> for gtk2 only if you have not requested +quartz. You can still  
>>> have both, if you want them, by specifying +quartz +x11.
>>
>> I'll give it another try when this change hits.
>>
>>
>>>> It didn't matter in the end --- I got the same error when trying  
>>>> to build gimp2. I've attached it at the end. The weird thing is  
>>>> I can't find any references in the command line here to gdk-x11,  
>>>> though that's the error. I also tried 'find . -type f -exec grep  
>>>> gdk-x11 {} \;' from inside gimp2's work directory and didn't  
>>>> find any matches.
>>>> [snip]
>>>> /bin/sh ../../libtool --tag=CC --mode=link gcc  -O2 -Wall - 
>>>> Wdeclaration-after-statement -Wmissing-prototypes -Wmissing- 
>>>> declarations -Winit-self -Wpointer-arith  -L/opt/local/lib -o  
>>>> poppler  poppler-poppler.o ../../libgimp/libgimpui-2.0.la ../../ 
>>>> libgimpwidgets/libgimpwidgets-2.0.la ../../libgimpmodule/ 
>>>> libgimpmodule-2.0.la ../../libgimp/libgimp-2.0.la ../../ 
>>>> libgimpmath/libgimpmath-2.0.la ../../libgimpconfig/ 
>>>> libgimpconfig-2.0.la ../../libgimpcolor/ 
>>>> libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la -Wl,- 
>>>> framework,CoreServices,-framework,ApplicationServices -L/opt/ 
>>>> local/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 - 
>>>> lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo - 
>>>> lgobject-2.0 -lgmodule-2.0 -lfreetype -lz -lfontconfig -lexpat - 
>>>> lpng12 -lgthread-2.0 -lglib-2.0 -lintl -liconv   -Wl,- 
>>>> framework,CoreServices,-framework,ApplicationServices -L/opt/ 
>>>> local/lib -lpoppler-glib -lpoppler -lgdk-quartz-2.0 - 
>>>> lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo - 
>>>> lgobject-2.0 -lgmodule-2.0 -lfreetype -lz -lfontconfig -lexpat - 
>>>> lpng12 -lgthread-2.0 -lglib-2.0 -lintl -liconv    -lintl
>>>> libtool: link: cannot find the library `/opt/local/lib/libgdk- 
>>>> x11-2.0.la' or unhandled argument `/opt/local/lib/libgdk- 
>>>> x11-2.0.la'
>>>> make[3]: *** [poppler] Error 1
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[1]: *** [all-recursive] Error 1
>>>> make: *** [all] Error 2
>>>
>>> I'm afraid I don't know about this one. I don't use gdk2 myself.
>>
>> That's the funny thing here - the only port returned by 'port  
>> search gdk' is gdk-pixbuf, and I don't have it installed at all.
>
> GDK is the GIMP Drawing Kit and is a core component of GTK, so if  
> you use GTK, you use GDK. GDK handles all of the low level drawing  
> and rendering for GTK, and is the part that is ported to X11,  
> Quartz, Win32 APIs, etc, to get native GTK.
>
> However you attempted to install gimp2, it wants GTK on X11, and is  
> failing to bind to the GDK X11 library.

Sorry... Shows how much I know about this software. Above, I meant I  
don't use gtk2 myself. And I didn't even know of the existence of gdk.



More information about the macports-users mailing list