Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250814 - sys-devel/gettext-0.17- ./libxml/encoding.h:29:19: error: iconv.h: No such file or directory
Summary: sys-devel/gettext-0.17- ./libxml/encoding.h:29:19: error: iconv.h: No such fi...
Status: RESOLVED DUPLICATE of bug 214835
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-13 11:10 UTC by Hagen
Modified: 2009-01-06 14:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hagen 2008-12-13 11:10:00 UTC
I want to emerge gettext on my NSLU2, but I always get a compiling error "iconv.h: No such file or directory".

Reproducible: Always

Steps to Reproduce:
1. energe sys-devel/gettext

Actual Results:  
In file included from ./libxml/parser.h:797,
                 from ./libxml/globals.h:19,
                 from ./libxml/threads.h:36,
                 from ./libxml/xmlmemory.h:217,
                 from ./libxml/tree.h:1205,
                 from ./libcroco/cr-sel-eng.h:34,
                 from term-styled-ostream.oo.c:26:
./libxml/encoding.h:29:19: error: iconv.h: No such file or directory
In file included from ./libxml/parser.h:797,
                 from ./libxml/globals.h:19,
                 from ./libxml/threads.h:36,
                 from ./libxml/xmlmemory.h:217,
                 from ./libxml/tree.h:1205,
                 from ./libcroco/cr-sel-eng.h:34,
                 from term-styled-ostream.oo.c:26:
./libxml/encoding.h:137: error: expected specifier-qualifier-list before 'iconv_t'
make[4]: *** [term-styled-ostream.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1
 *
 * ERROR: sys-devel/gettext-0.17 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2666:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gettext-0.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gettext-0.17/temp/environment'.
 *

 * Messages for package sys-devel/gettext-0.17:

 *
 * ERROR: sys-devel/gettext-0.17 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2666:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gettext-0.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gettext-0.17/temp/environment'.
 *



emerge --info:

Portage 2.1.4.5 (uclibc/arm, gcc-4.1.2, uclibc-0.9.28.3-r3, 2.6.21.7 armv5teb)
=================================================================
System uname: 2.6.21.7 armv5teb XScale-IXP42x Family rev 2 (v5b)
Timestamp of tree: Wed, 03 Dec 2008 21:59:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.3.5, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10.1-r1
sys-devel/binutils:  2.16-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="arm"
CBUILD="armeb-softfloat-linux-uclibc"
CFLAGS="-march=armv5t -Os"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=armv5t -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm cli cracklib crypt dri midi mudflap ncurses openmp pam pcre perl python readline reflection session spl ssl tcpd uclibc xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2008-12-22 06:23:46 UTC

*** This bug has been marked as a duplicate of bug 214835 ***
Comment 2 disconnect 2008-12-24 13:45:07 UTC
Seems like iconv.h is missing in your include paths, Lets try to find it:
find /usr/include | grep iconv.h

If nothing found, then you should recompile your libc with iconv/i18/whateverelseidontremember enabled.
Comment 3 Hagen 2009-01-06 14:03:38 UTC
(In reply to comment #2)
> Seems like iconv.h is missing in your include paths, Lets try to find it:
> find /usr/include | grep iconv.h
> 
> If nothing found, then you should recompile your libc with
> iconv/i18/whateverelseidontremember enabled.
> 

hi disconnect,

I tried some things to enable inconv:
emerge iconv runs into another compiling bug, but I found iconv.h in the temporary directory! So I copied iconv.h into /usr/include and tried to emerge uclibc again. But here I ran into bug 155970! :(

This old bug 155970 describes, that gcc 4.1.1 is not able to compile with float point support. This version of gcc was not enough tested for arm. But I use the gcc version 4.1.2, which is stable for arm (see http://packages.gentoo.org/category/sys-devel?arches=all)!

Please help me, because I cannot compile a new kernel without gettext!
Comment 4 SpanKY gentoo-dev 2009-01-06 14:28:52 UTC
it is possible to build a kernel w/out gettext.  latest 2.6.28 should already support it, or if you're using an older version, search the embedded mailing list and/or forums.

bugzilla isnt a support forum ... this bug is a dupe

*** This bug has been marked as a duplicate of bug 214835 ***