[GiNaC-list] GiNaC vs non-GNU readline

David Fang fang at csl.cornell.edu
Tue Jan 30 18:48:23 CET 2007

> --- Sheplyakov Alexei <varg at theor.jinr.ru> escribi=F3:
> > Do you have GNU readline installed?
> i do have a readline installed in /usr/include and
> other in /sw/include (this one is from fink for sure)
> If yes, could
> > you please check what
> > happens if you uninstall it (and use one shipped
> > with your OS)?
> i'm not sure i want to screw up my fink installation.
> But i sent a mail with my config.log attached, could
> you obtain the info you need from it? i can run other
> checks if you want

Perhaps a little off-topic: but installing and uninstalling packages won't
"screw up" your fink installation -- it is smart about telling you if
there is a problem with removing a package through the dependency system.
readline (and many other libraries) are build-depends-only, meaning they
are never required to be present for *installing* other packages, and may
be temporarily installed/removed for the sake of *building* package.

try this:

fink list readline (or readline5)
=09tells you the status of all readline packages, and if
=09they are installed or not

fink remove readline
=09removes it from installation, but keeps the package around
=09=09so it doesn't have to be rebuilt

fink install readline
=09installs it right back

(and no harm done to fink :D)

FYI: I was able to reproduce your config.log and your errors, they have
been diagnosed.

If you have fink's readline installed, you can help the configuration find
it by passing: "CPPFLAGS=3D-I/sw/include LDFLAGS=3D-L/sw/lib" to your
configure command.  This will force the build to search there for headers
and libraries first, before it finds anything in /usr/{include,lib}.
Then the editline woes should go away.  :)


David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
=09-- (2400 baud? Netscape 3.0?? lynx??? No problem!)

More information about the GiNaC-list mailing list