Subject: Re: buildlink problem? (libiconv.la: No such file or directory)
To: Sebastian P. <sebastian-p@gmx.net>
From: Stephen Degler <stephen@degler.net>
List: tech-pkg
Date: 06/28/2003 19:44:39
Hmm,

I didn't see the Linux part, please excuse my lack of reading.  Your problem 
is still probably that /usr/include/iconv.h exists and you have my problem 
#2, with USE_GNU_ICONV not getting propagated.  As a workaround I defined 
USE_GNU_ICONV=yes in /usr/pkgsrc/devel/glib2/buildlink2.mk:


Index: buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/glib2/buildlink2.mk,v
retrieving revision 1.9
diff -u -r1.9 buildlink2.mk
--- buildlink2.mk       2003/05/02 11:54:27     1.9
+++ buildlink2.mk       2003/06/28 23:42:05
@@ -17,6 +17,7 @@
 BUILDLINK_FILES.glib2+=        lib/libgobject-2.0.*
 BUILDLINK_FILES.glib2+=        lib/libgthread-2.0.*

+USE_GNU_ICONV=yes
 .include "../../converters/libiconv/buildlink2.mk"
 .include "../../devel/gettext-lib/buildlink2.mk"
 .include "../../devel/pkgconfig/buildlink2.mk"

My builds are rolling along happliy now...

skd

On Friday 27 June 2003 02:47 pm, Sebastian P. wrote:
> hi
> i have problems installing devel/atk and devel/pango.
> both builds stop with the error:
> sed: can't read /usr/pkgsrc/.../work/.buildlink/lib/libiconv.la: No such
> file or directory.
> looks strange to me since i have libiconv installed (and the missing files
> are in /usr/local/lib ...). manualy copying the .la file and linking the
> library into the buildlink/lib dir solves the problem
> does anybody has an idea why this is the case?
>
> (my machine is a slackware 9 box:
>   Linux 2.4.21-ck3 #2 Mon Jun 23 20:15:38 CEST 2003 i686 AuthenticAMD)
>
>
> bye
> Sebastian