Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Compiling freeciv using MSYS, MinGW, and Eclipse 3.0
Home

[Freeciv-Dev] Compiling freeciv using MSYS, MinGW, and Eclipse 3.0

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Compiling freeciv using MSYS, MinGW, and Eclipse 3.0
From: Jeremy Adams <caveman@xxxxxxxxxxx>
Date: Sun, 25 Jul 2004 08:53:37 -0400
Reply-to: caveman@xxxxxxxxxxx

Well, so far I have managed to get CVS set up and working in Eclipse 3.0 so that I can now keep a copy of freeciv CVS updated on my Windows XP box. I have also downloaded and set paths to MinGW, MSYS, gettext, and zlib. I tried running autogen.sh using msys and the instructions found in the INSTALL doc to build for a Win32 system, but come up with these errors (the below output comes directly from the msys console window):

caveman@GROTTO /f/programming/eclipseworkspace/freeciv
$ ./autogen.sh --disable-autoconf2.52 --host=iX86-mingw32 --build=$(./config.gu
ess) --with-included-gettext --enable-client=win32 --prefix=
! forcing old autoconf configuration
+ checking for autoconf >= 2.13 ... found 2.56, ok.
+ checking for automake >= 1.4 ... found 1.7.1, ok.
+ checking for xgettext >= 0.10.36 ... found 0.13.1, ok.
+ checking for msgfmt >= 0.10.36 ... found 0.13.1, ok.
+ creating acinclude.m4
+ running aclocal ...
+ running autoheader ...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:300: warning: AC_CANONICAL_HOST invoked multiple times
configure.in:349: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
configure.in:352: error: AC_LANG: unknown language:
autoconf/lang.m4:123: _AC_LANG_SET is expanded from...
autoconf/lang.m4:132: AC_LANG is expanded from...
autoconf/general.m4:1824: AC_CACHE_VAL is expanded from...
aclocal.m4:3662: FC_CHECK_X_LIB is expanded from...
aclocal.m4:4113: FC_XAW_CLIENT is expanded from...
configure.in:352: the top level
autom4te: /bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1

autoheader failed

caveman@GROTTO /f/programming/eclipseworkspace/freeciv

I'm not real sure how to proceed at this point. I took a look at configure.in and just couldn't make much sense of it since I'm too new to programming with GNU tools to make sense of it all. I have also tried running autogen.sh with the following options:

caveman@GROTTO /f/programming/eclipseworkspace/freeciv
$ ./autogen.sh --enable-client=win32 --with-included-gettext

but that only produces the error:

checking for gzgets in -lz... no
configure: error: Could not find zlib library.

configure failed

So now I feel stuck. I'm not sure which method to continue using, althought I think the second way is the better route to go. Unfortunately, I'm not sure why it's not finding my zlib library, which I have set a path to in C:/zlib, as well as copying the entire structure of C:/zlib into the /lib directory of my mingw install. Can anyone help?

-Jeremy


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