* How to compile without iconv?
@ 2015-06-09 14:07 Sascha Ziemann
2015-06-09 18:46 ` Torsten Bögershausen
0 siblings, 1 reply; 2+ messages in thread
From: Sascha Ziemann @ 2015-06-09 14:07 UTC (permalink / raw)
To: git
I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:
$ ./configure --without-iconv
$ grep -i iconv config.status
ac_cs_config="'--without-iconv'"
set X /bin/bash './configure' '--without-iconv'
$ac_configure_extra_args --no-create --no-recursion
OLD_ICONV=UnfortunatelyYes
But when I try to compile it, I get an error that libiconv is missing:
LINK git-credential-store
Undefined first referenced
symbol in file
libintl_gettext libgit.a(lockfile.o)
libiconv_close libgit.a(utf8.o)
libiconv_open libgit.a(utf8.o)
libintl_ngettext libgit.a(date.o)
libiconv libgit.a(utf8.o)
ld: fatal: symbol referencing errors. No output written to git-credential-store
collect2: ld returned 1 exit status
gmake: *** [git-credential-store] Error 1
How can I work around this?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to compile without iconv?
2015-06-09 14:07 How to compile without iconv? Sascha Ziemann
@ 2015-06-09 18:46 ` Torsten Bögershausen
0 siblings, 0 replies; 2+ messages in thread
From: Torsten Bögershausen @ 2015-06-09 18:46 UTC (permalink / raw)
To: Sascha Ziemann, git
On 2015-06-09 16.07, Sascha Ziemann wrote:
> I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:
>
> $ ./configure --without-iconv
>
> $ grep -i iconv config.status
> ac_cs_config="'--without-iconv'"
> set X /bin/bash './configure' '--without-iconv'
> $ac_configure_extra_args --no-create --no-recursion
> OLD_ICONV=UnfortunatelyYes
>
> But when I try to compile it, I get an error that libiconv is missing:
>
> LINK git-credential-store
> Undefined first referenced
> symbol in file
> libintl_gettext libgit.a(lockfile.o)
> libiconv_close libgit.a(utf8.o)
> libiconv_open libgit.a(utf8.o)
> libintl_ngettext libgit.a(date.o)
> libiconv libgit.a(utf8.o)
> ld: fatal: symbol referencing errors. No output written to git-credential-store
> collect2: ld returned 1 exit status
> gmake: *** [git-credential-store] Error 1
>
> How can I work around this?
It seems that you need to switch of gettext as well.
(Somewhat untested, I don't have Solaris)
What happens if you run the default Makefile (without configure)
NO_ICONV=t NO_GETTEXT=t make
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-09 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 14:07 How to compile without iconv? Sascha Ziemann
2015-06-09 18:46 ` Torsten Bögershausen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).