building gtk2, error in libtool

Ryan Schmidt ryandesign at macports.org
Wed Jul 28 09:22:17 PDT 2010


On Jul 28, 2010, at 10:02, Kevin Layer wrote:

> I'm on a quest to build an mdmg of gtk2.  I got it to work last night,
> but remembered that I needed a universal binary.  I tried to execute 
> 
>  port mdmg gtk2 +x11 +universal
> 
> but it failed.  So, I decided to start over.  I uninstalled everything
> according to the uninstall advice in the guide.  I installed a fresh
> new 1.9.1, and issued this command:
> 
>  port install gtk2 +x11 +universal
> 
> got the error below.
> 
> I'm running on 10.5.8 (9L31a).
> 
> Is this a known issue?


> :info:build libtool: link: /usr/bin/nm  .libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o .libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o .libs/gdk-pixbuf-simple-anim.o .libs/gdk-pixbuf-scaled-anim.o .libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o   pixops/.libs/libpixops.a |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp
> :info:build ../libtool: eval: line 961: syntax error near unexpected token `|'

Sounds like the "can't find NM when cross-compiling" problem we've seen many times before. Please file a ticket in the issue tracker. A fix like the one in the pango port might work.






More information about the macports-users mailing list