gnupic: Re: [gnupic] Re: gpsim-0.21.11 on Debian
Subject:
Re: [gnupic] Re: gpsim-0.21.11 on Debian
From:
"Scott Dattalo" ####@####.####
Date:
18 Dec 2005 15:56:28 +0000
Message-Id: <63241.71.139.33.203.1134920970.squirrel@71.139.33.203>
On Sun, 2005-12-18 at 08:36 -0600, Martin McCormick wrote:
> I almost feel bad. Here is what happened after about 7
> minutes of compilation on a 600-MHZ system:
Ouch! Once compiled, gpsim will simulate PICs faster than real time, but
it'll take eternity for it to compile!
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2
-I/usr/lib/glib/include -g -O2 -MT input.lo -MD -MP -MF .deps/input.Tpo
-c input.cc -fPIC -DPIC -o .libs/input.o
> input.cc:86:31: readline/readline.h: No such file or directory
> input.cc:87:30: readline/history.h: No such file or directory
You had mentioned that you were able to build an earlier release of gpsim.
Did that occur on the same Debian box? If so, I'd be surprised that a new
readline bug has occurred. But it's clear that readline is not being found
now. Can you try
$ locate readline.h
/usr/include/readline/readline.h
If it is found on your system, then maybe you can try manually supplying
an include path. For example, add the prefix of the readline headers like
this:
$ CXX="g++ -I/usr/include" ./configure
Where you should replace /usr/include with the prefix to the readline .h
files.
after doing that, save yourself a little misery and
$ cd cli
$ make input.lo
This will compile input.cc only. If that works, then cd back down and
build everything.
Scott