Subject: Re: pkg/30464: php4-xslt can't find libiconv after sablotron update
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 06/12/2005 19:56:01
The following reply was made to PR pkg/30464; it has been noted by GNATS.

From: diro@nixsys.bz
To: "Johnny C. Lam" <jlam@NetBSD.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/30464: php4-xslt can't find libiconv after sablotron update
Date: Sun, 12 Jun 2005 15:53:48 -0400

 On Sun, Jun 12, 2005 at 07:05:52PM +0000, Johnny C. Lam wrote:
 > On Sun, Jun 12, 2005 at 08:06:21AM -0400, diro@nixsys.bz wrote:
 > > > From: "Johnny C. Lam" <jlam@NetBSD.org>
 > > >  On Wed, Jun 08, 2005 at 11:53:00AM +0000, diro@nixsys.bz wrote:
 > > >  > 
 > > >  > checking whether to enable xslt support... yes, shared
 > > >  > checking for XSLT Sablotron backend... /usr/pkg
 > > >  > checking for libexpat dir for Sablotron XSL support... /usr/pkg
 > > >  > checking for iconv dir for Sablotron XSL support... no
 > > >  > checking for JavaScript for Sablotron XSL support... no
 > > >  > checking for sablot-config... found
 > > >  > checking for Sablotron version... >= 0.96
 > > >  > configure: error: Please specify the install prefix of iconv with --with-iconv=<DIR>
 > > >  > *** Error code 1
 > > >  
 > > >  Can you tell me if you're trying to use the built-in iconv in libc
 > > >  or converters/libiconv from pkgsrc?
 > > 
 > > Ideally, it would pick up the version installed from pkgsrc. I thought
 > > that's what it was looking for by default...
 > 
 > No, pkgsrc will use either the built-in iconv or pkgsrc iconv based
 > on your PREFER_* and USE_BUILTIN.* settings in /etc/mk.conf, defaulting
 > to preferring the built-in version.  Do have any such settings in your
 > /etc/mk.conf?  Which version are you trying to use?
 > 
 > 	Thanks,
 > 
 > 	-- Johnny Lam <jlam@NetBSD.org>
 
 I had no such settings in /etc/mk.conf and after reading up on the docu added:
 
 USE_BUILTIN.libiconv=no
 PREFER_PKGSRC=yes
 
 to the same effect.