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
*** Bug 68072 has been marked as a duplicate of this bug. ***
*** Bug 68075 has been marked as a duplicate of this bug. ***
*** Bug 68076 has been marked as a duplicate of this bug. ***
iconv is a part of the (modern) glibc .. how did you compile your glibc, which use flags did you use ?
******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!
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 :)
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?
I am having the exact same problem, and I am using glibc-2.3.4.200 50125-r1.
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.
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