Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68060 - emerge samba fail. I get errors about libiconv
Summary: emerge samba fail. I get errors about libiconv
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 68072 68075 68076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-18 14:39 UTC by Ricardo Rodriguez
Modified: 2005-08-01 08:25 UTC (History)
2 users (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 Ricardo Rodriguez 2004-10-18 14:39:24 UTC
When I try emerge samba I get a warning like this:

configure: WARNING: Sufficient support for iconv function was not found.
    Install libiconv from http://freshmeat.net/projects/libiconv/ for better charset compatibility!

Please help me! I need samba on my server!! :s I'm newbee and don't speak english well!

Reproducible: Always
Steps to Reproduce:
1.emerge samba
2.
3.

Actual Results:  
checking for ut_pid in utmp... yes
checking for ut_exit in utmp... yes
checking for ut_addr in utmp... yes
checking whether pututline returns pointer... yes
checking for ut_syslen in utmpx... no
checking for iconv in /usr/lib... yes
checking can we convert from CP850 to UCS2-LE?... no
checking can we convert from IBM850 to UCS2-LE?... no
checking can we convert from ASCII to UCS2-LE?... no
checking can we convert from 646 to UCS2-LE?... no
checking can we convert from UTF-8 to UCS2-LE?... no
checking can we convert from UTF8 to UCS2-LE?... no
checking for iconv in /usr/local/lib... yes
checking can we convert from CP850 to UCS2-LE?... no
checking can we convert from IBM850 to UCS2-LE?... no
checking can we convert from ASCII to UCS2-LE?... no
checking can we convert from 646 to UCS2-LE?... no
checking can we convert from UTF-8 to UCS2-LE?... no
checking can we convert from UTF8 to UCS2-LE?... no
configure: WARNING: Sufficient support for iconv function was not found.
    Install libiconv from http://freshmeat.net/projects/libiconv/ for better 
charset compatibility!
checking for Linux kernel oplocks... no
checking for kernel change notify support... no
checking for kernel share modes... no
checking for IRIX kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
checking for test routines... configure: error: cant find test code. Aborting 
config

!!! ERROR: net-fs/samba-3.0.7 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-18 16:00:34 UTC
*** Bug 68072 has been marked as a duplicate of this bug. ***
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-18 16:22:10 UTC
*** Bug 68075 has been marked as a duplicate of this bug. ***
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-18 16:22:23 UTC
*** Bug 68076 has been marked as a duplicate of this bug. ***
Comment 4 Michael Glauche (RETIRED) gentoo-dev 2004-10-19 01:15:40 UTC
iconv is a part of the (modern) glibc .. how did you compile your glibc, which use flags did you use ?
Comment 5 Ricardo Rodriguez 2004-10-19 05:16:10 UTC
******make.conf***************

CFLAGS="-O3 -march=pentium2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
USE="acl ftp samba -gtk -gtk2 -gnome -mpeg -xmms -avi -quicktime -xv"
MAKEOPTS="-j2"
LINGUAS="us es"
*******************************************
This is my home server (firewall, router, Squid, Apache)
Thanks!
Comment 6 Michael Glauche (RETIRED) gentoo-dev 2004-10-29 02:49:49 UTC
also, can you post your config.log from the /var/tmp/portage/samba-3.0.7/work/....... directory ? (the place where portage does the actual compiling) ... it might contain the clue to your problem :)
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2004-12-25 20:35:07 UTC
the thing that's weird to me is /usr/local/lib apparently contains iconv. Did you manually install iconv at anytime? Do you have anything in /usr/local/lib?

Did you install the masked libiconv package?

What glibc version are you using?
Comment 8 Adam Davis 2005-04-25 05:09:01 UTC
I am having the exact same problem, and I am using glibc-2.3.4.200 50125-r1.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-26 19:45:27 UTC
Please note that you *must not* install libiconv, neither from portage nor from the stated freshmeat 
project, as that it's just for non-GNU system.

Anyway the problem seems to be:

checking for test routines... configure: error: cant find test code. Aborting 
config

which isn't directly related with libiconv.
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2005-08-01 08:25:06 UTC
Ricardo, closing this bug since you haven't responded.  IF this bug still
happens for you please post the config.log file as m. glauche asked in comment #6