Skip site navigation (1)Skip section navigation (2)
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>
References:  <F358uudgUWr81nn9RQA00002f7d@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-j04c+OI8dxh9rDykvZHY
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 hav=
e=20
> 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?
>=20
> ...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=20
> found.
> *** Check your installation. Upgrade your C library or install GNU libico=
nv
> *** 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.=20

Joe

>=20
> I tried symbolic link iconv-related files into giconv*
> but it doesn't work.
>=20
>=20
>=20
>=20
> _________________________________________________________________
> MSN Explorer=EA=B0=80 =EC=9E=88=EC=9C=BC=EB=A9=B4 Hotmail =EC=82=AC=EC=9A=
=A9=EC=9D=B4 =ED=9B=A8=EC=94=AC =ED=8E=B8=EB=A6=AC=ED=95=B4 =EC=A7=91=EB=8B=
=88=EB=8B=A4. =EC=A7=80=EA=B8=88=20
> http://explorer.msn.co.kr/ =EC=97=90=EC=84=9C =EB=AC=B4=EB=A3=8C=EB=A1=9C=
 =EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=ED=95=98=EC=84=B8=EC=9A=94.
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>=20


--=-j04c+OI8dxh9rDykvZHY
Content-Disposition: attachment; filename=icewm.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=icewm.diff; charset=ISO8859-1

--- 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=3D"-lgiconv $LIBS"
    AC_TRY_RUN([
--    #include <iconv.h>
-+    #include <giconv.h>
+     #include <iconv.h>
 +    #include <locale.h>
     =20
      int main() {
 -        iconv_t cd =3D iconv_open("$2", "$1");
-+        iconv_t cd;
++	iconv_t cd;
 +	setlocale(LC_ALL, "");
-+        cd =3D iconv_open("$2", "$1");
++	cd =3D iconv_open("$2", "$1");
  	iconv_close(cd);
  	return ((iconv_t) -1 =3D=3D 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
 =20
@@ -52,45 +52,7 @@
        fi
       =20
        ice_nl_codesets=3D"${ice_nl_codesets} 0"
-@@ -136,20 +137,20 @@
-=20
-       ice_iconv_cxxflags=3D"${CXXFLAGS}"
-=20
--      AC_CHECK_HEADERS(iconv.h,,
--      [ AC_MSG_ERROR([I18N support has been requested but iconv.h wasn=B4=
t found.
-+      AC_CHECK_HEADERS(giconv.h,,
-+      [ AC_MSG_ERROR([I18N support has been requested but giconv.h wasn=
=B4t found.
- *** Check your installation. Upgrade your C library or install GNU libico=
nv
- *** available at ftp://ftp.gnu.org/pub/gnu/libiconv/.])])
-=20
-       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=3D"${CXXFLAGS} -liconv"
--	CORE_LIBS=3D"${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=3D"${CXXFLAGS} -lgiconv"
-+	CORE_LIBS=3D"${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 instal=
l
- *** GNU libiconv available at ftp://ftp.gnu.org/pub/gnu/libiconv/.]))))],
-=20
-@@ -158,13 +159,13 @@
-         AC_MSG_ERROR([iconv.h appears to be part of libc but linking fail=
ed.
- *** Check your installation. Upgrade your C library (glibc 2.2) or instal=
l
- *** GNU libiconv available at ftp://ftp.gnu.org/pub/gnu/libiconv/.]))],
--      [#include <iconv.h>])
-+      [#include <giconv.h>])
-=20
-       AC_ARG_WITH(unicode-set,
+@@ -164,7 +165,7 @@
          [  --unicode-set=3DCODESET   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"),

--=-j04c+OI8dxh9rDykvZHY--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1021693711.759.16.camel>