Problems installing gimp2 on leopard

Ryan Schmidt ryandesign at macports.org
Sun Dec 9 17:01:04 PST 2007


On Dec 9, 2007, at 16:16, Frank McPherson wrote:

> After successfully following Randall Wood's instructions at http:// 
> shyramblings.blogspot.com/2007/11/gimp-on-mac-os-x-without-x11- 
> from.html to install gimp2 without x11 at work, I attempted the  
> same at home, and haven't met with the same success.
>
> 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.

> 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.
>
> Anyone have any ideas on this one?
>
> Thanks,
> Frank
>
>
> [frank at localhost ~]$ sudo port install -dv gimp2
> --->  Fetching gimp2
> --->  Verifying checksum(s) for gimp2
> --->  Extracting gimp2
> --->  Configuring gimp2
> --->  Building gimp2 with target all
[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.



More information about the macports-users mailing list