Rob Browning wrote:
>
> Jeremy Collins <[EMAIL PROTECTED]> writes:
>
> > Just to let Rob, or whoever know... for me ./configure fails during the
> > guile tests. A quick look at the config.log reveals that -lreadline was
> > not linked in. Adding this to the ./configure script makes guile link,
> > and thus configure succeeds.
>
> At the beginning of the guile section in configure.in, there's this
> test. Does it succeed? If so, it's supposed to add -lreadline to
> LIBS, and LIBS is supposed to be used in the further guile tests.
>
> # If readline exists, just assume that guile needs it. It probably does.
> AC_CHECK_LIB(readline, readline)
>
There is not a check for readline in configure.in there is however what
appears to be a check to see what libs guile needs. It is a bunch of
nested AC_CHECK_LIB tests. Each additional one adds more library to the
test to see if it will compile..
I suppose if I add the above line to the configure.in, then run
autoconf, then ./configure it should work fine. You might want to check
to see if thats in your configure.in file. I don't think that line is
in CVS.
> I'd like to figure out why the readline test isn't working on your
> system, but failing that, if you can come up with an additional block
> for the guile tests that works on your system, then that'll be fine
> too.
>
> What I don't understand is how (in general) configure tests are
> supposed to figure out (given a library that might have been linked
> against some random collection of other libraries) what that random
> collection might be.
>
> If I understand the problem right, I think Debian may have resolved
> this by making it policy to do a linking trick on all libraries that
> embeds the library dependency info into the shared library, so that
> you don't need to specify it on the compile line, but I'm not sure
> about that. In any case, on my system, I get libreadline libm and
> libdl automatically, even if I just specify -lguile -lqthreads on the
> link line...
>
--
Jeremy Collins
[EMAIL PROTECTED]
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body