Subject: libtool problems making gtk2
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 08/08/2004 17:22:03
I am trying to compile x11/gtk2 on IRIX 5.3. It turns out there is a problem
with libtool (libtool 1.5.6 from pkgsrc):

generating symbol list for `libgdk_pixbuf-2.0.la'
nm -B  .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-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o
pixops/.libs/libpixops.a |  | /usr/local/bin/sed 's/.* //' | sort | uniq >
.libs/libgdk_pixbuf-2.0.exp
/usr/local/pkg/bin/libtool[4000]: syntax error at line 1 : `|' unexpected
gmake[4]: *** [libgdk_pixbuf-2.0.la] Error 2

The respective line in /usr/local/pkg/bin/libtool is

# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe |
\$SED 's/.* //' | sort | uniq > \$export_symbols"

elsewhere in the libtool script I find the following:

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe=""

Is this what causes the problem? Should it be something else than an empty
string? What is it on other platforms?









-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442