Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2001:
[Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)
Home

[Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Greg Wooledge <greg@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)
From: Thue <thue@xxxxxxx>
Date: Sat, 19 May 2001 12:01:01 +0200

On Saturday 19 May 2001 03:22, Greg Wooledge wrote:
> Thue (thue@xxxxxxx) wrote:
> > A more ambitios patch attached.
> > Please proffread and test, some of the stuff I haven't tried before.
> > You still need to have readline 4.2
>
> Tried to test this, but I'm having some difficulty:
>
>   configure: error: can not run ./config.sub
>
> In fact, the config.sub and config.guess are both missing for some
> reason.  I don't know why -- could be a result of the new gettext in
> Debian unstable, or the files were deleted from the Freeciv server,
> or some funky autoconf thing.

Use
automake --add-missing
It is fairly reasonable not to distribute that file with freeciv, but instead 
require developers to use --add-missing.

> If I copy those two files from a different project, ./configure succeeds;
> but then make blows up:
>
> ranlib libcivserver.a
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -I../intl    -g
> -O2 -Wall -c civserver.c make[2]: *** No rule to make target `@INTLDEPS@',
> needed by `civserver'.  Stop.

This is probably because debian unstable has gettext version 0.10.37-1, ie 
unrelated. Still would be nice to have it fixed :).

> But for what it's worth, the readline part of the generated
> server/Makefile looks good on my system -- it successfully determines
> that I need -lreadline but not -lcurses or any other terminal library
> (which was true for me last time I was able to build Freeciv).
>
> > Running aclocal gives me this error message
> > aclocal: configure.in: 228: macro `AM_PATH_GDK_IMLIB' not found in
> > library Searching google I find this
> > http://arch.freeciv.org/freeciv-dev-199907/msg00035.html
> > But I don't know what development package I should install to get the
> > macro.
>
> $ rgrep AM_PATH_GDK_IMLIB /usr/share/aclocal/
> /usr/share/aclocal/imlib.m4:AC_DEFUN(AM_PATH_GDK_IMLIB,
> $ dpkg -S /usr/share/aclocal/imlib.m4
> imlib-dev: /usr/share/aclocal/imlib.m4
>
> So on Debian unstable, it's imlib-dev that has it.  Your mileage may vary.

Bah, obvious.
I was confused by the fact that all the other imlib stuff was in 
libgtk1.2-dev, and that the links I found in google pointed to gtk too. :(

--------------
Another question: when ./configure-ing with my newly generated configure I get

checking for __argz_next... (cached) yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached) 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes

Why does it print that out? It seems harmless though.

I am using debian unstable too...

-Thue


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