Subject: pkg/18813: textproc/php4-xslt error with iconv
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Juan@xtraeme.dyndns.org, RP@xtraeme.dyndns.org>
List: netbsd-bugs
Date: 10/26/2002 18:11:31
>Number:         18813
>Category:       pkg
>Synopsis:       textproc/php4-xslt error with iconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 26 09:07:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6J
>Organization:
HispaBSD
>Environment:

System: NetBSD xtraeme.dyndns.org 1.6J NetBSD 1.6J (xtrakernel) #3: Fri Oct 25 17:48:47 GMT 2002 root@xtraeme.dyndns.org:/usr/src/sys/arch/i386/compile/xtrakernel i386

Architecture: i386
Machine: i386
>Description:
	
textproc/php4-xslt fails during configure script with libiconv:

work.i386 -> /usr/obj.pkgsrc/textproc/php4-xslt/work.i386
===> Extracting for php-xslt-4.2.3nb1
===> Required installed package php>=4.2.3: php-4.2.3 found
===> Required installed package sablotron>=0.71nb1: sablotron-0.96 found
===> Required installed package libiconv>=1.8: libiconv-1.8 found
===> Required installed package expat>=1.95.2: expat-1.95.5 found
===> Required installed package automake>=1.7: automake-1.7 found
===> Required installed package autoconf>=2.50: autoconf-2.54 found
===> Required installed package libtool-base>=1.4.20010614nb9: libtool-base-1.4.20010614nb9 found
===> Required installed package php>=4.1.0: php-4.2.3 found
===> Patching for php-xslt-4.2.3nb1
===> Buildlinking for php-xslt-4.2.3nb1
===> Configuring for php-xslt-4.2.3nb1
autoheader: `config.h.in' is created
You should update your `aclocal.m4' by running aclocal.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking for PHP prefix... /usr/pkg
checking for PHP includes... -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/TSRM
checking for PHP extension directory... /usr/pkg/lib/php/20020429
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... yes, shared
checking libexpat dir for Sablotron XSL support... yes, shared
checking enable JavaScript for Sablotron... no
configure: error: Please specify the install prefix of iconv with --with-iconv=<DIR>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/php4-xslt
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/php4-xslt
 

>How-To-Repeat:

cd /usr/pkgsrc/textproc/php4-xslt && make install clean

>Fix:

Not provided. 
>Release-Note:
>Audit-Trail:
>Unformatted: