|
From: | Charles Wilson |
Subject: | Re: gettext cvs |
Date: | Thu, 20 Apr 2006 10:40:41 -0400 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
Bruno Haible wrote:
I've been trying to get cvs gettext to compile on cygwin.Welcome! I do still have your mail and patch from 2005-11-27, but I'm wondering which parts of the patch are still needed after we discussed the first round in four or five parallel threads.
Very little, actually. I did try to summarize the results of that multi-thread conversation here:
http://lists.gnu.org/archive/html/bug-gnu-utils/2005-11/msg00102.htmlThe changes I now need against current CVS are mostly unrelated to those old issues, and have more to do with the introduction of explicit declspec(dllimport) decorators. (Exception: I retained the change of the AM_CONDITIONAL from MINGW to WOEGCC32). Most of the remaining changes in my 2005-11-27 patch are obsoleted by your reimplementation of those fixes (e.g. you fixed the issues a different way).
The problem is, you really need different decoration markers for each DLL (and it gets even more complicated in that some .c's are compiled twice: sometimes for libgettext[lib|src], and sometimes for direct linkage into an application. (Plus, I had to modify libtool so that it, too, defined DLL_EXPORT when building PIC objects. Currently that only happens on mingw but gettext config.h assumes it is true for both cygwin and mingw -- and gettext is right; libtool is wrong. That patch will be headed upstream to the libtool guys for inclusion in 1.5.24 and 2.x soon).
But I've worked all that out; I'll post the patch soon -- after I apply it to the -pre2 tarball below and test it thoroughly (incl. 'make install' <g> and 'make check').
I get the following error in <build_dir>/gettext-tools/examples: *** No rule to make target `hello-c/po/af.po', needed by `install-data-local'. Stop.I now made a 0.15-pre2 tarball for you. At http://www.haible.de/bruno/gnu/gettext-0.15-pre2.tar.gz
Wonderful. Thanks -- I did download the snapshot and it unpacks OK.
Help? Is cvs-gettext just broken? If so, when was the last-known-good date?I underestimated the bootstrapping hassle for creating a 0.15 tarball. Now I did it; I had to temporarily set the version number to 0.15, exclude the examples directory from the build, make a tarball, use it to update gettext-tools/misc/archive.tar.gz, then do a "make install", then add back the examples directory, and then I was able to regenerate the missing .po files. Wheew!
Yeesh. I don't remember it being that hard to build from CVS before...but I'm glad you did it and not me. :-) How did you "turn off" the examples directory? Just remove it from SUBDIRS in gettext-tools/Makefile.am ?
More later... -- Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |