Subject: Re: libtool problems making gtk2
To: Tobias Nygren <>
From: Georg Schwarz <>
List: tech-pkg
Date: 08/08/2004 22:45:58
> Libtool in pkgsrc has a fix that is supposed to solve this;
> Verify that your libtool-base/Makefile has:
> .elif ${OPSYS} == "IRIX"
> CONFIGURE_ENV+=         lt_cv_path_NM="nm -B"
> .endif
> Also make sure the native nm is in your path and that it
> accepts the -B flag.

The problem seems to be that in ${LOCALBASE}/share/mk/ NM is defined
as NM (for IRIX). This definition seems to be passed to the libtool-base
build process.
libtool.m4 has the following lines:

test -z "$NM" && NM=nm

(so even if NM is not passed it is here set to nm)

 [if test -n "$NM"; then
  # Let the user override the test.

Georg Schwarz     +49 177 8811442