Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Compile Problems Continue
Home

[Freeciv-Dev] Compile Problems Continue

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Per I Mathisen <per@xxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Compile Problems Continue
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Sat, 20 Apr 2002 23:52:54 -0700 (PDT)

My compilation problems continue. The CVS version is Apr 19 tarball.

================================================================================
 ./autogen.sh --disable-nls
+ nls checks disabled
+ checking for autoconf == 2.13 ... found 2.13, ok.
+ checking for automake >= 1.4 ... found 1.4, ok.
+ creating acinclude.m4
+ running aclocal ...
+ running autoheader ... 
+ running autoconf ... 
+ running automake ... 
+ removing config.cache ... 
+ running configure ... 
using: --disable-nls

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for uname... uname
checking host system type... i686-pc-linux-gnu
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
./configure: line 2697: syntax error near unexpected token `fi'
./configure: line 2697: `  fi'
================================================================================

Compilation steps:

Copied the two m4 files you supplied, lcmessage.m4  progtest.m4 to freeciv/m4
as requested. When I tried to run ./autogen.sh --disable-nls it complained
about the lack of SDL and ESD. So I applied cvsfix.diff, and with the two
patches combined I got as far as above. An improvement, but I still have not
generated a working makefile.

The config.log is attached and the relevant lines are below

configure:2535: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2578: checking for iconv declaration
configure:2603: gcc -c -g -O2  conftest.c 1>&5
configure:2632: checking for nl_langinfo and CODESET
configure:2644: gcc -o conftest -g -O2   conftest.c  1>&5

Aloha,
RK.

Lancre operated on the feudal system, which was to say, everyone feuded all the
time and handed on the fight to their descendants.

-- (Terry Pratchett, Carpe Jugulum).

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

Attachment: config.log
Description: config.log


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