Date: 17 May 2002 23:48:31 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: Byon Jaemin <bsdmaniac@hotmail.com> Cc: freebsd-questions@FreeBSD.org, nakai@FreeBSD.org Subject: Re: icewm 1.0.9 build failure Message-ID: <1021693711.759.16.camel@gyros.marcuscom.com> In-Reply-To: <F358uudgUWr81nn9RQA00002f7d@hotmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, 2002-05-17 at 23:12, Byon Jaemin wrote: > Build of icewm port fails with an error that seems related iconv.h. I have > read the archives but no answers to explain > definitely for the step by step solution. Is there anybody > wish to tell me how to fix this error? > > ...omitted... > checking giconv.h usability... no > checking giconv.h presence... no > checking for giconv.h... no > configure: error: I18N support has been requested but giconv.h wasn't > found. > *** Check your installation. Upgrade your C library or install GNU libiconv > *** available at ftp://ftp.gnu.org/pub/gnu/libiconv/ > ...omitted... This is due to the recent giconv -> iconv conversion. The maintainer has not updated the port yet. You may want to ask nakai@ if these patches can be comitted. Joe > > I tried symbolic link iconv-related files into giconv* > but it doesn't work. > > > > > _________________________________________________________________ > MSN Explorer가 있으면 Hotmail 사용이 훨씬 편리해 집니다. 지금 > http://explorer.msn.co.kr/ 에서 무료로 다운로드하세요. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > [-- Attachment #2 --] --- x11-wm/icewm/files/patch-ap.orig Fri May 17 23:44:26 2002 +++ x11-wm/icewm/files/patch-ap Fri May 17 23:40:22 2002 @@ -1,20 +1,16 @@ ---- aclocal.m4.orig Tue Oct 9 23:54:02 2001 -+++ aclocal.m4 Wed Feb 20 14:18:56 2002 -@@ -103,11 +103,15 @@ - dnl - AC_DEFUN(ICE_CHECK_CONVERSION, [ +--- aclocal.m4.orig Fri May 17 23:39:45 2002 ++++ aclocal.m4 Fri May 17 23:39:34 2002 +@@ -105,9 +105,12 @@ AC_MSG_CHECKING([whether iconv converts from $1 to $2]) -+ LIBS="-lgiconv $LIBS" AC_TRY_RUN([ -- #include <iconv.h> -+ #include <giconv.h> + #include <iconv.h> + #include <locale.h> int main() { - iconv_t cd = iconv_open("$2", "$1"); -+ iconv_t cd; ++ iconv_t cd; + setlocale(LC_ALL, ""); -+ cd = iconv_open("$2", "$1"); ++ cd = iconv_open("$2", "$1"); iconv_close(cd); return ((iconv_t) -1 == cd); }], --- x11-wm/icewm/files/patch-configure.in.orig Fri May 17 23:44:54 2002 +++ x11-wm/icewm/files/patch-configure.in Fri May 17 23:42:37 2002 @@ -1,5 +1,5 @@ ---- configure.in.orig Tue Oct 9 23:54:02 2001 -+++ configure.in Tue Feb 19 16:22:42 2002 +--- configure.in.orig Tue Oct 9 10:54:02 2001 ++++ configure.in Fri May 17 23:42:09 2002 @@ -83,7 +83,7 @@ AC_FUNC_SELECT_ARGTYPES @@ -52,45 +52,7 @@ fi ice_nl_codesets="${ice_nl_codesets} 0" -@@ -136,20 +137,20 @@ - - ice_iconv_cxxflags="${CXXFLAGS}" - -- AC_CHECK_HEADERS(iconv.h,, -- [ AC_MSG_ERROR([I18N support has been requested but iconv.h wasnt found. -+ AC_CHECK_HEADERS(giconv.h,, -+ [ AC_MSG_ERROR([I18N support has been requested but giconv.h wasnt found. - *** Check your installation. Upgrade your C library or install GNU libiconv - *** available at ftp://ftp.gnu.org/pub/gnu/libiconv/.])]) - - AC_CHECK_DECL(_libiconv_version, -- [ AC_MSG_RESULT(assuming iconv.h belongs to GNU libiconv) -- AC_CHECK_LIB(iconv, iconv, -- AC_CHECK_LIB(iconv, iconv_open, -- AC_CHECK_LIB(iconv, iconv_close, -- CXXFLAGS="${CXXFLAGS} -liconv" -- CORE_LIBS="${CORE_LIBS} -liconv" -- AC_DEFINE(CONFIG_LIBICONV, 1, Define when using libiconv), -- AC_MSG_ERROR([iconv.h appears to be part of libiconv but linking failed. -+ [ AC_MSG_RESULT(assuming giconv.h belongs to GNU libiconv) -+ AC_CHECK_LIB(giconv, iconv, -+ AC_CHECK_LIB(giconv, iconv_open, -+ AC_CHECK_LIB(giconv, iconv_close, -+ CXXFLAGS="${CXXFLAGS} -lgiconv" -+ CORE_LIBS="${CORE_LIBS} -lgiconv" -+ AC_DEFINE(CONFIG_LIBICONV, 1, Define when using libgiconv), -+ AC_MSG_ERROR([giconv.h appears to be part of libiconv but linking failed. - *** Check your installation. Upgrade your C library (glibc 2.2) or install - *** GNU libiconv available at ftp://ftp.gnu.org/pub/gnu/libiconv/.]))))], - -@@ -158,13 +159,13 @@ - AC_MSG_ERROR([iconv.h appears to be part of libc but linking failed. - *** Check your installation. Upgrade your C library (glibc 2.2) or install - *** GNU libiconv available at ftp://ftp.gnu.org/pub/gnu/libiconv/.]))], -- [#include <iconv.h>]) -+ [#include <giconv.h>]) - - AC_ARG_WITH(unicode-set, +@@ -164,7 +165,7 @@ [ --unicode-set=CODESET your iconv's unicode set in machine endian encoding (e.g. WCHAR_T, UCS-4-INTERNAL, UCS-4LE, UCS-4BE)], AC_DEFINE_UNQUOTED(CONFIG_UNICODE_SET, "$with_unicode_set"),home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1021693711.759.16.camel>
