{"thread":{"id":"39571","subject":"How to compile without iconv?","startedAt":"2015-06-09T14:07:25Z","lastAt":"2015-06-09T18:46:18Z","messageCount":2,"participants":["Sascha Ziemann","Torsten Bögershausen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"263358","messageId":"CAGUt3y4RgtkP35XstHGQ=T3zkb_akZSRS=q227wMehVzmu9MDA@mail.gmail.com","threadId":"39571","inReplyTo":null,"subject":"How to compile without iconv?","fromName":"Sascha Ziemann","fromEmail":"ceving@gmail.com","sentAt":"2015-06-09T14:07:25Z","receivedAt":"2015-06-09T14:07:25Z","isPatch":false,"sender":{"key":"ceving@gmail.com","avatar":null},"body":"I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:\n\n$ ./configure --without-iconv\n\n$ grep -i iconv config.status\nac_cs_config=\"'--without-iconv'\"\n  set X /bin/bash './configure'  '--without-iconv'\n$ac_configure_extra_args --no-create --no-recursion\nOLD_ICONV=UnfortunatelyYes\n\nBut when I try to compile it, I get an error that libiconv is missing:\n\n    LINK git-credential-store\nUndefined                       first referenced\n symbol                             in file\nlibintl_gettext                     libgit.a(lockfile.o)\nlibiconv_close                      libgit.a(utf8.o)\nlibiconv_open                       libgit.a(utf8.o)\nlibintl_ngettext                    libgit.a(date.o)\nlibiconv                            libgit.a(utf8.o)\nld: fatal: symbol referencing errors. No output written to git-credential-store\ncollect2: ld returned 1 exit status\ngmake: *** [git-credential-store] Error 1\n\nHow can I work around this?\n"},{"id":"263400","messageId":"5577347A.5080107@web.de","threadId":"39571","inReplyTo":"CAGUt3y4RgtkP35XstHGQ=T3zkb_akZSRS=q227wMehVzmu9MDA@mail.gmail.com","subject":"Re: How to compile without iconv?","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2015-06-09T18:46:18Z","receivedAt":"2015-06-09T18:46:18Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 2015-06-09 16.07, Sascha Ziemann wrote:\n> I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:\n> \n> $ ./configure --without-iconv\n> \n> $ grep -i iconv config.status\n> ac_cs_config=\"'--without-iconv'\"\n>   set X /bin/bash './configure'  '--without-iconv'\n> $ac_configure_extra_args --no-create --no-recursion\n> OLD_ICONV=UnfortunatelyYes\n> \n> But when I try to compile it, I get an error that libiconv is missing:\n> \n>     LINK git-credential-store\n> Undefined                       first referenced\n>  symbol                             in file\n> libintl_gettext                     libgit.a(lockfile.o)\n> libiconv_close                      libgit.a(utf8.o)\n> libiconv_open                       libgit.a(utf8.o)\n> libintl_ngettext                    libgit.a(date.o)\n> libiconv                            libgit.a(utf8.o)\n> ld: fatal: symbol referencing errors. No output written to git-credential-store\n> collect2: ld returned 1 exit status\n> gmake: *** [git-credential-store] Error 1\n> \n> How can I work around this?\n\nIt seems that you need to switch of gettext as well.\n(Somewhat untested, I don't have Solaris)\nWhat happens if you run the default Makefile (without configure)\n\nNO_ICONV=t NO_GETTEXT=t make\n"}]}