Error No Iconv Implementation
Sign in Pricing Blog Support Search GitHub This repository Watch 1,054 Star 29,534 Fork 14,089 Homebrew/legacy-homebrew Code Issues 2 Pull requests 0 Projects 0 Pulse Graphs Can't install glib due to missing iconv #18482 Closed Jmuccigr opened this Issue Mar 15, 2013 · 2 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants Jmuccigr commented Mar 15, 2013 Technically the error is: configure: error: *** No iconv() implementation found in C library or libiconv Lion 10.7.5 adamv commented Mar 15, 2013 https://github.com/mxcl/homebrew/wiki/Troubleshooting Jmuccigr commented Mar 15, 2013 Turns out to have been something in my .bash_profile. I suspect some of the paths I had set up for other things was screwing up homebrew. adamv closed this Mar 15, 2013 xu-cheng locked and limited conversation to collaborators Feb 16, 2016 Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in. Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
to Notes] [View Advanced] [Issue History] [Print] ID Category Severity Reproducibility Date Submitted Last Update 0001408 [buildroot] Architecture Specific major always 06-28-07 12:55 09-12-07 13:17 Reporter pavko View Status public Assigned To buildroot Priority normal Resolution open Status assigned Product Version Summary 0001408: Fail to build https://github.com/Homebrew/legacy-homebrew/issues/18482 glib 2.12.9 (No iconv() implementation found in C library or libiconv) Description uClibc has been build with locale suport, gcc 4.2.0, arch i686 also tried to compile newest 2.12.12 glib but without success (error dump is for 2.12.12 but 2.12.9 is behaving exactly the http://landley.net/mantis/mantis-1408.html same) Additional Information bzcat /home/pavko/buildroot/dl/glib-2.12.12.tar.bz2 | tar -C /home/pavko/buildroot/build_i686 -xf - toolchain/patch-kernel.sh /home/pavko/buildroot/build_i686/glib-2.12.12 package/libglib2/ \*.patch* Applying glib-gettextize-dir.patch using plaintext: patching file glib-gettextize.in Hunk 0000001 succeeded at 52 with fuzz 2 (offset 3 lines). Applying glibinclude.patch using plaintext: patching file glib/Makefile.am Hunk 0000001 succeeded at 202 (offset 1 line). Applying glib-mkenums-nowarn.patch using plaintext: patching file gobject/glib-mkenums.in Applying gtk-doc.patch using plaintext: patching file acinclude.m4 Applying libdir-la.patch using plaintext: patching file ltmain.sh Hunk 0000001 succeeded at 273 (offset -10 lines). Hunk 2 succeeded at 2405 (offset -30 lines). Hunk 0000003 succeeded at 2893 (offset -32 lines). Hunk 0000004 succeeded at 5615 (offset -43 lines). Hunk 0000005 succeeded at 5940 (offset -43 lines). /usr/bin/install -m 0644 package/libglib2/glibconfig-sysdefs.h /home/pavko/buildroot/build_i686/glib-2.12.12/ cp -f package/gnuconfig/config.sub package/gnuconfig/config.guess /home/pavko/buildroot/build_i686/glib-2.12.12 touch /home/pavko/buildroot/build_i686/glib-2.12.12/.unpacked (cd /home/pavko/buildroot/build_i686/glib-2.12.12; rm -rf config.cache; \ PATH="/home/pavko/buildroot/build_i686/staging_dir/bin:/home/pavko/buildroot/toolchain_build_i686/bin:/home/pavko/buildroot/build_i686/staging_dir/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" AR=/home/pavko/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-ar AS=/home/pavko/buildroot/build_i686/stag
here for a quick overview of the site Help http://stackoverflow.com/questions/16591066/cross-compiling-glib-for-mips-results-in-no-iconv-implementation-configure-e Center Detailed answers to any questions you might have Meta http://develissimo.com/forum/topic/86100/ Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask error no Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cross Compiling GLib for MIPS results in “No iconv() implementation” configure error up vote 1 down error no iconv vote favorite I'm trying to cross-compile GLib 2.37.0 for a MIPS system by following the directions here. I have a mips.cache file with the following contents: glib_cv_stack_grows=no glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=no I'm calling the configure script with the following command line: ./configure --cache-file=mips.cache --host=mips-linux CCFLAGS=-I/opt/toolchain/build_mips/staging_dir/usr/include LDFLAGS=-L/opt/toolchain/build_mips/staging_dir/usr/lib Unfortunately I get this error: configure: error: *** No iconv() implementation found in C library or libiconv If it helps, the entire output is: checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for mips-linux-gcc... mips-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes
found in C library or libiconv #1April 19, 2005 07:37:30 Xu Q. Registered: 2009-11-02 Reputation: 0 Profile Send e-mail No iconv() implementation found in C library or libiconv Hi, all: I downloaded glib 2.6.4 (src) and want to compile it. But I met this error in "./configure": ---------------------------------------------checking for iconv_open... nochecking for libiconv_open in -liconv... nochecking for iconv_open in -liconv... noconfigure: error: *** No iconv() implementation found in C library or libiconv---------------------------------------------However, I found there is a header "iconv.h" in the path "/usr/include/sys" (should be part of glibc). Anyway, I downloaded libiconv-1.9.2.tar.gz and installed it successfully into /usr/local. And now i run with "./configure --with-libiconv=/usr/local", but still the same error. :(I am compiling this on FreeBSD 5.3 (i386). Looking forward to help,Regards,Xu Qiang_______________________________________________gtk-list mailing listgtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list Offline Report | Reply #2April 19, 2005 07:55:57 Marcus v. Registered: 2009-11-02 Reputation: 0 Profile Send e-mail No iconv() implementation found in C library or libiconv On, Tue Apr 19, 2005, Xu Qiang wrote:> Hi, all: > > I am compiling this on FreeBSD 5.3 (i386). > > Looking forward to help,Use the BSD port located at /usr/ports/devel/glib20 (if the ports areinstalled beneath /usr/ports on your box).The iconv and gettext stuff is a real mess on non-linux systems.If you do not use the ports, go to and take a look at the Makefile andthe patches. They'll help you to get it to work on FreeBSD withoutproblems (especially the threading).http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/glib20/RegardsMarcus_______________________________________________gtk-list mailing listgtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list Offline Report | Reply #3April 19, 2005 08:26:43 Xu Q. Registered: 2009-11-02 Reputation: 0 Profile Send e-mail No iconv() implementation found in C library or libiconv Marcus wrote:> Use the BSD port located at /usr/ports/devel/glib20 (if the ports are> installed beneath /usr/ports on your box).Sorry for my stubborness, I want to compile directly