From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ww0-f50.google.com ([74.125.82.50]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RL2pj-0004b5-Bs for ptxdist@pengutronix.de; Tue, 01 Nov 2011 02:08:09 +0100 Received: by wwp14 with SMTP id 14so1142469wwp.7 for ; Mon, 31 Oct 2011 18:08:01 -0700 (PDT) Message-ID: <4EAF466F.5030203@gmail.com> Date: Tue, 01 Nov 2011 02:07:59 +0100 From: Ludovic BOUE MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050204020002010005000806" Subject: [ptxdist] Install a iconv libraries Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This is a multi-part message in MIME format. --------------050204020002010005000806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dear All, I'm trying to fix an issue with my OSELAS.BSP-Phytec-phyCORE-12. My program returns empty string from iconv function. It working perfectly on my laptop and any PC. Deb1: Autoconf: -- SDT : Service Description Table (id 0x42)-- Deb1: Autoconf: We discovered a new service, service_id : 0x201 Deb1: Autoconf: free_ca_mode : 0x0 Deb1: Autoconf: service type: 0x1 : Television Deb1: Autoconf: service_name : "" (name encoding : ISO8859-9) I allready copy modules by hand to /usr/lib/gconv/ root@eyetv:/persistent ll -h /usr/lib/gconv/ drwxr-xr-x 2 root root 0 Jan 1 02:33 . drwxr-xr-x 5 root root 0 Jan 1 01:43 .. -rwxr-xr-x 1 root root 9.3K Jan 1 01:43 ISO8859-1.so -rwxr-xr-x 1 root root 9.3K Jan 1 01:43 ISO8859-15.so -rwxr-xr-x 1 root root 9.3K Jan 1 02:33 ISO8859-9.so -rwxr-xr-x 1 root root 9.3K Jan 1 01:43 UNICODE.so -rwxr-xr-x 1 root root 13.3K Jan 1 01:43 UTF-16.so -rwxr-xr-x 1 root root 9.3K Jan 1 01:43 UTF-32.so -rwxr-xr-x 1 root root 17.3K Jan 1 01:43 UTF-7.so I created a binary file from the "gconv-modules" text file with this simple command line: /persistent/iconvconfig --nostdlib --output=/usr/lib/gconv/gconv-modules.cache /usr/lib/gconv/ => OK But I can see any ISO8859 modules here: /persistent ./iconv_prog -l The following list contain all the coded character sets known. This does not necessarily mean that all combinations of these names can be used for the FROM and TO command line parameters. One coded character set can be listed with several different names (aliases). 10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4, ASCII, CP367, CSASCII, CSUCS4, IBM367, ISO-10646, ISO-10646/UCS2, ISO-10646/UCS4, ISO-10646/UTF-8, ISO-10646/UTF8, ISO-IR-6, ISO-IR-193, ISO646-US, ISO_646.IRV:1991, OSF00010020, OSF00010100, OSF00010101, OSF00010102, OSF00010104, OSF00010105, OSF00010106, OSF05010001, UCS-2, UCS-2BE, UCS-2LE, UCS-4, UCS-4BE, UCS-4LE, UCS2, UCS4, UNICODEBIG, UNICODELITTLE, US-ASCII, US, UTF-8, UTF8, WCHAR_T What else can I do to fix that ? Regards, Ludovic --------------050204020002010005000806 Content-Type: text/x-patch; name="glibc.make.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="glibc.make.patch" --- glibc.make.old 2011-10-31 22:24:44.648491649 +0100 +++ glibc.make 2011-10-31 22:25:53.520491657 +0100 @@ -156,6 +156,10 @@ @$(call install_copy_toolchain_lib, glibc, gconv/ISO8859-15.so, /usr/lib/gconv) endif +ifdef PTXCONF_GLIBC_GCONV_ISO88599 + @$(call install_copy_toolchain_lib, glibc, gconv/ISO8859-9.so, /usr/lib/gconv) +endif + ifdef PTXCONF_GLIBC_GCONV_UTF @$(call install_copy_toolchain_lib, glibc, gconv/UNICODE.so, /usr/lib/gconv) @$(call install_copy_toolchain_lib, glibc, gconv/UTF-16.so, /usr/lib/gconv) --------------050204020002010005000806 Content-Type: text/x-patch; name="glibc.in.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="glibc.in.patch" --- glibc.in.old 2011-10-31 22:19:57.204491620 +0100 +++ glibc.in 2011-10-31 22:25:44.092491656 +0100 @@ -213,6 +213,14 @@ Alphabet No.9) encoding modules into gconv, this should be ok for most western languages +config GLIBC_GCONV_ISO88599 + bool + prompt "gconv modules for ISO8859-9" + select GLIBC_GCONF_BASE + default y + help + install the gconv modules for iso8859-9 conversion + config GLIBC_GCONV_UTF bool prompt "gconv modules for UTF" --------------050204020002010005000806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --------------050204020002010005000806--