pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/25850: php4-iconv faild to find libiconv (xs4)
>Number: 25850
>Category: pkg
>Synopsis: configure stage for php4-iconv fails to find libiconv
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 06 22:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Rogier Krieger
>Release: NetBSD 1.6.1
>Organization:
Iverdahl.net
>Environment:
System: NetBSD karres.wep.tudelft.nl 1.6.1 NetBSD 1.6.1 (KARRES) #1: Sun Oct 12
05:00:57 CEST 2003
root%terrance.bytepark.net@localhost:/usr/src/sys/arch/i386/compile/KARRES i386
Architecture: i386
Machine: i386
>Description:
When trying to build php4-iconv, the configure stage fails to find
libiconv, causing
a terminal error before starting the build stage.
Software versions:
pkgsrc collection up to date until 2004/06/07 15:00 CET (+0200)
php-iconv version 4.3.6nb2
libiconv 1.9.1nb2
Make clean; make install results in the following output:
[...]
checking for iconv support... yes, shared
checking for iconv... no
checking for libiconv... no
configure: error: Please specify the install prefix of iconv with
--with-iconv=<DIR>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/php4-iconv
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/converters/php4-iconv
>How-To-Repeat:
cd /usr/pkgsrc/converters/php4-iconv
make clean; make install
>Fix:
Apparently, the configure lines need different info. The following diff
works for
me (i.e. allowing the software to compile and function afterwards).
Undoubtedly there may be a cleaner or more elegant solution to this,
but this seemed to do the trick for me. I hope it is of use.
--- Makefile Sun Jun 6 23:56:35 2004
+++ Makefile.old Sun Jun 6 23:54:45 2004
@@ -14,7 +14,7 @@
# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists
# the PHP_ICONV in environment is to make configure find alternative
# libiconv
-CONFIGURE_ARGS+= --with-iconv=${PREFIX}
+CONFIGURE_ARGS+= --with-iconv
CONFIGURE_ENV+= PHP_ICONV=${BUILDLINK_PREFIX.iconv:Q}
.include "../../converters/libiconv/buildlink3.mk"
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index