Re: [Freeciv-Dev] (no subject)

2012-11-23 Thread raahul_da_man

Hi! I glad to see you online! http://ahs.neumuenster.de/neron.htmlFri, 
23 Nov 2012 17:38:32

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


RE: [Freeciv-Dev] (no subject)

2007-03-27 Thread programmer

I did not use --with-included-gettext.  I tried with gettext 0.14.5 and
gettext 0.16.  However, configure decided that I ought to use the
included gettext instead.  It looks like the gettext from the GTK+ for
Windows site doesnt define '_nl_msg_cat_cntr', which is what configure
uses to determine if the gettext is the GNU version or not.  Here's a
bit from the configure.log. 

configure:7683: checking for GNU gettext in libc
configure:7707: gcc -o conftest.exe -g -O2   conftest.c  -liconv 5
C:/DOCUME~1/cnash/LOCALS~1/Temp/ccCybaaa.o: In function
`main':c:/chris/freeciv/configure:7752: undefined reference to
`_imp__libintl_bindtextdomain'
:c:/chris/freeciv/configure:7753: undefined reference to
`_imp__libintl_gettext'
:c:/chris/freeciv/configure:7753: undefined reference to
`_imp__libintl_ngettext'
:c:/chris/freeciv/configure:7753: undefined reference to
`_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure:7710: $? = 1
configure: failed program was:
...
configure:7727: result: no
configure:7731: checking for GNU gettext in libintl
configure:7757: gcc -o conftest.exe -g -O2   conftest.c  -liconv -lintl
-liconv 5
C:/DOCUME~1/cnash/LOCALS~1/Temp/cceObaaa.o: In function
`main':c:/chris/freeciv/configure:7803: undefined reference to
`_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure:7760: $? = 1
configure: failed program was:
...
configure:7778: result: no

Perhaps I should try again with a different gettext.


  Original Message 
 Subject: Re: [Freeciv-Dev] (no subject)
 From: Jason Short [EMAIL PROTECTED]
 Date: Fri, March 23, 2007 7:34 pm
 To: [EMAIL PROTECTED]
 Cc: freeciv-dev@gna.org
 
 [EMAIL PROTECTED] wrote:
  Hello.  I just joined this list, and I did a quick skim thruogh the last
  few months archives.  Please forgive me if I'm bringing up stuff thats
  already been dealth with.
  
  I've been trying to build freeciv under windows using MinGW/MSys for the
  past week or so.  I had success doing this a couple years ago, but I
  hadn't played with it since.  I ran into problems when it tried to link
  civserver.exe.  If I ran autogen.sh normally,  and then make I got this
  at the link step for civserver:
 
 The win32 client IS basically unmaintained.  However your problem is in
 the bootstrap, nothing to do with client issues.
 
 What are you passing to freeciv on the configure (or autogen) line?  It
 sounds like you are using --with-included-gettext.  Do not do this.
 (The included gettext should be scrapped but it is very tedious to
 figure out what can safely be gotten rid of and what can't.)
 
 -jason


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (no subject)

2007-03-27 Thread Christian Prochaska

On 3/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I did not use --with-included-gettext.  I tried with gettext 0.14.5 and
gettext 0.16.  However, configure decided that I ought to use the
included gettext instead.  It looks like the gettext from the GTK+ for
Windows site doesnt define '_nl_msg_cat_cntr', which is what configure
uses to determine if the gettext is the GNU version or not.  Here's a
bit from the configure.log.

configure:7683: checking for GNU gettext in libc
configure:7707: gcc -o conftest.exe -g -O2   conftest.c  -liconv 5
C:/DOCUME~1/cnash/LOCALS~1/Temp/ccCybaaa.o: In function
`main':c:/chris/freeciv/configure:7752: undefined reference to
`_imp__libintl_bindtextdomain'
:c:/chris/freeciv/configure:7753: undefined reference to
`_imp__libintl_gettext'
:c:/chris/freeciv/configure:7753: undefined reference to
`_imp__libintl_ngettext'
:c:/chris/freeciv/configure:7753: undefined reference to
`_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure:7710: $? = 1
configure: failed program was:
...
configure:7727: result: no
configure:7731: checking for GNU gettext in libintl
configure:7757: gcc -o conftest.exe -g -O2   conftest.c  -liconv -lintl
-liconv 5
C:/DOCUME~1/cnash/LOCALS~1/Temp/cceObaaa.o: In function
`main':c:/chris/freeciv/configure:7803: undefined reference to
`_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure:7760: $? = 1
configure: failed program was:
...
configure:7778: result: no

Perhaps I should try again with a different gettext.



I'm always applying the attached patch to work around this problem
when building the Windows packages.
Index: m4/gettext.m4
===
--- m4/gettext.m4	(revision 12321)
+++ m4/gettext.m4	(working copy)
@@ -93,7 +93,7 @@
 		AC_TRY_LINK([#include libintl.h
 extern int _nl_msg_cat_cntr;],
 		  [bindtextdomain (, );
-return (int) gettext ()]ifelse([$2], need-ngettext, [ + (int) ngettext (, , 0)], [])[ + _nl_msg_cat_cntr],
+return (int) gettext ()]ifelse([$2], need-ngettext, [ + (int) ngettext (, , 0)], []),
 		  gt_cv_func_gnugettext_libintl=yes,
 		  gt_cv_func_gnugettext_libintl=no)
 		LIBS=$gt_save_LIBS])
Index: manual/Makefile.am
===
--- manual/Makefile.am	(revision 12321)
+++ manual/Makefile.am	(working copy)
@@ -22,7 +22,7 @@
 civmanual_LDFLAGS = $(GGZDMOD_LDFLAGS)
 civmanual_LDADD= ../utility/libcivutility.a ../common/libcivcommon.a \
   ../ai/libcivai.a ../utility/libcivutility.a ../server/libcivserver.a \
-  $(INTLLIBS) ../client/helpdata.o \
+  ../client/helpdata.o \
   ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a \
   ../utility/libcivutility.a ../server/libcivserver.a \
   ../utility/libcivutility.a ../common/aicore/libaicore.a \
@@ -31,4 +31,4 @@
   ../dependencies/lua/src/lib/liblualib.a \
   ../dependencies/tolua/libtolua.a \
   ../server/generator/libgenerator.a \
-  $(SERVER_LIBS) $(AUTH_LIBS) $(LIB_GGZDMOD)
+  $(SERVER_LIBS) $(AUTH_LIBS) $(INTLLIBS) $(LIB_GGZDMOD)
Index: po/Makefile.in.in
===
--- po/Makefile.in.in	(revision 12321)
+++ po/Makefile.in.in	(working copy)
@@ -69,7 +69,7 @@
 
 .po.gmo:
 	file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
-	   rm -f $$file  $(GMSGFMT) -c --statistics -o $$file $
+	   rm -f $$file  $(GMSGFMT) --statistics -o $$file $
 
 
 all: [EMAIL PROTECTED]@
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (no subject)

2007-03-23 Thread Jonathan Landis

I think there is no regular maintainer for the Win32 client.  I
submitted a patch for the Win32 client a while ago -- I believe the
tracking number is PR#33445.  Marko looked at it and wrote his own
patch which improved parts of what I had written.  However, he only
committed his own patch, and certain fixes from my patch were never
committed.

 Perhaps that's because I did more than just fix what absolutely had
to be fixed, opting to the cursor code to a new file and such.
Anyway, I'm pretty new around here, but I would say go ahead and send
in what you did.  Perhaps it will improve upon what I submitted.
Hopefully someone will be able to tell you how to get your patch added
to the proper place in the tracking system.

  Regarding the server build, I was able to build everything fine
under MinGW/Msys from the SVN sources back when I was working on that
patch.  I didn't need to do --disable-nls or hack the config.h file.
I built the required libraries from source, except for readline.  I
ended up using the prebuilt readline package from the GNUWin32
project.

  It looks to me like there is a problem with your build environment.
I don't think you should be using the libintl.a that's in
freeciv/intl/.  Perhaps configure can't find your libintl or can't use
it for some reason.  You should have gotten libintl from the gettext
package.

  If I were you I would clean up and try the build from autogen on,
this time without --disable-nls, looking for any errors or problems
related to dcgettext, libintl, libcharset, or libiconv in the
configure stage.  Hopefully you will see a test of one of these fail
and there will be some useful diagnostic information in config.log.

JKL

On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hello.  I just joined this list, and I did a quick skim thruogh the last
few months archives.  Please forgive me if I'm bringing up stuff thats
already been dealth with.

I've been trying to build freeciv under windows using MinGW/MSys for the
past week or so.  I had success doing this a couple years ago, but I
hadn't played with it since.  I ran into problems when it tried to link
civserver.exe.  If I ran autogen.sh normally,  and then make I got this
at the link step for civserver:

C:/GNU/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../libiconv.a(ds7.o):
multiple definition of `locale_charset'
../intl/libintl.a(localcharset.o):c:/chris/freeciv/intl/localcharset.c:206:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [civserver.exe] Error 1

So, I tried the suggestions in the Install-Windows document and passed
--disable-nls into autogen.sh.  Then I got this:

./libcivserver.a(stdinhand.o): In function
`handle_stdin_input':c:/chris/freeciv/server/stdinhand.c:1064:
undefined reference to `_imp__libintl_fprintf'
:c:/chris/freeciv/server/stdinhand.c:1071: undefined reference to
`_imp__libintl_fprintf'
:c:/chris/freeciv/server/stdinhand.c:1074: undefined reference to
`_imp__libintl_fprintf'
:c:/chris/freeciv/server/stdinhand.c:1077: undefined reference to
`_imp__libintl_fprintf'
:c:/chris/freeciv/server/stdinhand.c:1082: undefined reference to
`_imp__libintl_fprintf'
./libcivserver.a(stdinhand.o):c:/chris/freeciv/server/stdinhand.c:1106:
more undefined references to `_imp__libintl_fprintf' follow
collect2: ld returned 1 exit

I finally figured out that I had to edit config.h and comment out this
line:
#define HAVE_LIBCHARSET 1

Have I installed something wrong?  Do I need to pass more options to
autogen?  Or is there a problem with autogen/configure?


After I made the aforementioned change, the GTK client built just fine.
However, the win32 client gave me lots of errors.  I set about fixing
them, and I have a patch ready.  Should I email it to this mailing
list?  Inline or Attachment?

I'm also wondering how the most recent win32 clients were built.  Some
of the stuff I was fixing has been there for over a year, and prevented
compiling the win32 client.  I'm confused as to how a new build was
released last month.  Perhaps I'm doing something else wrong.


Chris Nash (aka Homr Zodyssey)



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (no subject)

2007-03-23 Thread Jason Short
[EMAIL PROTECTED] wrote:
 Hello.  I just joined this list, and I did a quick skim thruogh the last
 few months archives.  Please forgive me if I'm bringing up stuff thats
 already been dealth with.
 
 I've been trying to build freeciv under windows using MinGW/MSys for the
 past week or so.  I had success doing this a couple years ago, but I
 hadn't played with it since.  I ran into problems when it tried to link
 civserver.exe.  If I ran autogen.sh normally,  and then make I got this
 at the link step for civserver:

The win32 client IS basically unmaintained.  However your problem is in
the bootstrap, nothing to do with client issues.

What are you passing to freeciv on the configure (or autogen) line?  It
sounds like you are using --with-included-gettext.  Do not do this.
(The included gettext should be scrapped but it is very tedious to
figure out what can safely be gotten rid of and what can't.)

-jason


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev