Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> I changed nothing to my configuration but config.h is
Abdelrazak> still regenerated:
Abdelrazak> config.status: creating src/config.h
Could you keep the config.h before and after running configure and see
what the difference may be?
Will do that after Scons building is finished.
Abdelrazak> I am attaching my config.log and config.status if you want
Abdelrazak> to look at them. Have fun trying to understand what's
Abdelrazak> going on.
It goes like this (from config.log):
configure:30933: checking whether included gettext is requested
configure:30943: result: no
--without-included-gettext means that you do not insist on using the
code in intl/ (not that you do not want it). Actually, only
--with-included-gettext is relevant.
That's what I guessed but I tried nonetheless just in case.
Then, as the code cannot find GNU gettext, it uses the version that is
in intl/.
So the questions are: do you have libintl? Where? What version? Does
it contain the missing symbols?
I have:
$ ls /cygdrive/d/mingw/lib/*intl*
/cygdrive/d/mingw/lib/intl.lib
$ ls /cygdrive/d/mingw/bin/*intl*
/cygdrive/d/mingw/bin/intl.dll
They are coming from gnuwin32 project package
"gettext-runtime-0.13.1.bin.woe32.zip". Maybe these are MSVC++ libraries
(.lib are in general) and that's the reason why it doesn't work. I did
not notice because in general, GnuWin32 packages .a and .lib at the same
time (and only one .dll). But I am suspicious that there are only two
missing symbols: `_nl_msg_cat_cntr' `_nl_expand_alias'
I'll try to find another package or compile by hand... Thanks for the
help, and I know, I could have done all that myself. Did I say already
that I am such a lazy bastard?
The NLS support is working correctly with the included gettext, that's
why I didn't bother much. But I think that ultimately we should get rid
of all included software (intl and boost).
By the way, I still have this libiconv fix that I sent three or four
times already (attached).
Abdel.
Index: m4/iconv.m4
===================================================================
--- m4/iconv.m4 (revision 13683)
+++ m4/iconv.m4 (working copy)
@@ -88,7 +88,9 @@
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
+#ifndef LIBICONV_DLL_EXPORTED
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf,
size_t *outbytesleft);
+#endif
#else
size_t iconv();
#endif