Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Re: [patch] Startup readline segfault (PR#491)
Home

[Freeciv-Dev] Re: [patch] Startup readline segfault (PR#491)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [patch] Startup readline segfault (PR#491)
From: Jacob Luna Lundberg <jacob@xxxxxxxxxxxxxxxxx>
Date: Sat, 5 Aug 2000 19:20:21 -0700 (PDT)

On Sat, 5 Aug 2000, David Pfitzner wrote:
> This looks like the same problem I had with Debian (sensible since
> Corel is Debian-based), and the answer was actually "upgrade your
> ncurses-dev pacakge", or similar.   See:
>   http://arch.freeciv.org/freeciv-dev-200007/msg00280.html

Ah, that explains it...

> > but if so it might be nice
> > to have the configure script look for that somehow.
> 
> Unfortunately that seems rather difficult :-(

Actually, the attached configure.in patch detects the problem and turns
off readline support when it won't work (unless you override with
--with-readline or you're cross-compiling).  It's a bit unclean because it
uses AC_TRY_RUN() but that seemed unavoidable to me.

-Jacob

-- 

<0>Kernel panic: Attempted to kill the idle task!

Attachment: bad-readline-freeciv-1.11.4.patch
Description: patch for configure.in


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