Subject: libglade can't find libiconv
To: None <tech-pkg@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-pkg
Date: 09/18/2003 13:43:00
Hi again.
Again, really current pkgsrc on 1.6ish i386. Trying to build libglade,
I see:
...
cc -O2 -I/usr/obj/pkg/devel/libglade/work.thoreau/.buildlink/include -I/usr/obj/pkg/devel/libglade/work.thoreau/.buildlink-x11/include -Wall -Wunused -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/test-libglade test-libglade.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/obj/pkg/devel/libglade/work.thoreau/.buildlink/lib -L/usr/obj/pkg/devel/libglade/work.thoreau/.buildlink-x11/lib glade/.libs/libglade-gnome.so -L/usr/pkg/lib -L/usr/X11R6/lib glade/.libs/libglade.so /usr/pkg/lib/libgnomeui.so /usr/pkg/lib/libart_lgpl.so /usr/pkg/lib/libgdk_imlib.so -lSM -lICE /usr/pkg/lib/libgtk.so /usr/pkg/lib/libgdk.so -lintl /usr/pkg/lib/libgmodule.so -lXi -lXext -lX11 /usr/pkg/lib/libgnome.so /usr/pkg/lib/libgnomesupport.so -liconv -lc /usr/pkg/lib/libesd.so -lossaudio /usr/pkg/lib/libaudiofile.so -lm /usr/pkg/lib/libglib.so /usr/pkg/lib/libxml.so -lz /usr/lib/libz.so /usr/lib/libintl.so -Wl,--rpath -Wl,/usr/pkg/lib
ld: cannot find -liconv
Adding the following to the libglade Makefile get the package
building and installing:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libglade/Makefile,v
retrieving revision 1.47
diff -d -p -u -r1.47 Makefile
--- Makefile 2003/08/10 03:15:29 1.47
+++ Makefile 2003/09/18 03:41:30
@@ -31,6 +31,7 @@ MAKE_ENV+= DISPLAY=${DISPLAY}
pre-configure:
${RM} ${WRKSRC}/libgladeConf.sh
+.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../textproc/libxml/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
I'm not really buildlink-savvy though. Ok to commit this? Or is
there a better/different way to fix it?
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Development, Support and Service: http://www.wasabisystems.com/