Subject: Re: problem installing php4-xslt from pkgsrc
To: None <tech-pkg@NetBSD.org>
From: Robert Cates <robert@kormar.net>
List: tech-pkg
Date: 07/06/2005 10:37:18
I'm running NetBSD 2.0.2/i386, and the config.log doesn't tell me much 
(because I'm not experienced enough in this aspect of NetBSD).  Following is 
a sniplet of the config.log that seems to have to do with Sablotron and 
iconv:

  $ 
./configure --enable-xslt --with-xslt-sablot=/usr/pkg --with-expat-dir=/usr/pkg 
 --with-iconv --with-php-config=/usr/pkg/bin/php-config --host=i386--netbsdelf 
 --prefix=/usr/pkg --without-libiconv-prefix

configure:2921: checking whether to enable xslt support
configure:2963: result: yes, shared
configure:2971: checking for XSLT Sablotron backend
configure:2989: result: /usr/pkg
configure:2997: checking for libexpat dir for Sablotron XSL support
configure:3015: result: /usr/pkg
configure:3023: checking for iconv dir for Sablotron XSL support
configure:3041: result: no
configure:3049: checking for JavaScript for Sablotron XSL support
configure:3067: result: no
configure:3340: checking for sablot-config
configure:3343: result: found
configure:3361: checking for Sablotron version
configure:3395: cc -o 
conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include 
 -I/usr/pkg/include -W
l,-E -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c 
 >&5
configure:3398: $? = 0
configure:3400: ./conftest
configure:3403: $? = 0
configure:3406: result: >= 0.96
configure:4298: error: iconv not found. To build sablotron you need the 
iconv library.

Thanks for your help!
Robert

----- Original Message ----- 
From: "grant beattie" <grant@NetBSD.org>
To: "Robert Cates" <robert@kormar.net>
Cc: <tech-pkg@NetBSD.org>
Sent: Wednesday, July 06, 2005 7:05 AM
Subject: Re: problem installing php4-xslt from pkgsrc


> On Tue, Jul 05, 2005 at 10:52:39PM +0200, Robert Cates wrote:
>
>> Hi,
>>
>> I can't seem to install the php4-xslt extension, even though Sablotron 
>> and
>> iconv are installed.  Any ideas how I can get this to build/install?
>> Following is the error I get from the 'make' process.  I've had a look at
>> both config.log and .work.log, but they don't tell me anything.
>>
>> checking for gawk... /usr/bin/awk
>> 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: iconv not found. To build sablotron you need the iconv
>> library.
>> *** Error code 1
>
> what platform is this?
>
> the autoconf config.log should reveal why it isn't finding libiconv...
>
> grant.
>
>