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: Thue <thue@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)
From: Greg Wooledge <greg@xxxxxxxxxxxx>
Date: Fri, 18 May 2001 21:22:52 -0400

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.

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.

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.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg@xxxxxxxxxxxx              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Attachment: pgpmQj_6LGuc4.pgp
Description: PGP signature


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