Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2001:
[Freeciv-Dev] Re: Something is wrong.
Home

[Freeciv-Dev] Re: Something is wrong.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gaute B Strokkenes <gs234@xxxxxxxxx>
Cc: Greg Wooledge <greg@xxxxxxxxxxxx>, Lance Levsen <l.levsen@xxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Something is wrong.
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Sun, 4 Mar 2001 19:27:36 +0100 (CET)

Gaute B Strokkenes writes:
 > On Sat, 3 Mar 2001, greg@xxxxxxxxxxxx wrote:
 > 
 > > At some point in the past couple years, I seem to recall some
 > > gettext problems; and it was said that in addition to config.cache,
 > > there was another file somewhere that needed to be removed if
 > > gettext was installed after ./configure had already been run once.
 > > Unfortunately, the mailing list archive host seems to be down right
 > > now, so I can't search for it.  If you haven't done so already, you
 > > might want to "rm -rf" your whole extracted freeciv source
 > > directory, then re-extract it.
 > 
 > There is the infamous intl/libintl.h -> intl/libgettext.h symlink.
 > This will be created if you ever configure Freeciv to use the included
 > gettext or if configure decides that your system's gettext is not good
 > enough.  Unfortunately, if you ever reconfigure Freeciv to use the
 > system's gettext, the symlink is not removed.  This results in the
 > wrong libintl.h being used.
 > 
 > The usual symptoms of this breakage are unresolved symbols a la
 > 'dcgettext__' etc.  However, the gettext in glibc 2.2+ has had a lot
 > of changes compared to the included one, and there's no reason why you
 > shouldn't be able to get even more and more interesting breakage this
 > way...
 > 
I have often done:
export CC=i386-mingw32-gcc
[..]
./configure
make

And afterwards (in another xterm) test, if I break something (compile
linux version)
make distclean
./configure 
make 

And libintl.h is still threre and causes errors.

What about
--- freeciv/intl/Makefile.in    Sat Jul 17 13:46:51 1999
+++ freeciv/intl/Makefile.in.new        Sun Mar  4 19:19:54 2001
@@ -171,7 +171,7 @@
 clean: mostlyclean
 
 distclean: clean
-       rm -f Makefile ID TAGS po2msg.sed po2tbl.sed
+       rm -f Makefile ID TAGS po2msg.sed po2tbl.sed libintl.h
 
 maintainer-clean: distclean
        @echo "This command is intended for maintainers to use;"


Or should we change freeciv/Makefile.am to avoid touching the intl
dir?? (add rm intl/libintl.h)

Greetings
Andreas Kemnade



[Prev in Thread] Current Thread [Next in Thread]