Re: [Autogen-users] autogen-5.9.5pre1 pre-release
Brought to you by:
bkorb
From: Aaron T. <syn...@gm...> - 2008-04-30 06:01:17
|
On Tue, Apr 29, 2008 at 4:01 PM, Brian Dessent <br...@de...> wrote: > Aaron Turner wrote: > > > What's the "right version" of gcc to use? I removed the Cygwin > > version of guile, grabbed the sources and built & installed from > > scratch, but autogen complains it can't link against it. Or is there > > some other trick that I'm missing (yes, I tried specifying > > --with-libguile=/usr/local). > > The "right" gcc is the same one that you use to build autogen, > preferrably the stable system compiler (3.4.4-3). Yep, got that. > As to libguile not working, you need to give us a lot more details: > > - Is it the configure checks that are failing or the link step? Configure. > - If the configure checks fail, what's the contents of config.log? Problem is that it can't link to libguile. guile-config link returns: configure: guile-config used for LIBS: -lguile -lltdl -L/usr/local/lib -lgmp -lcrypt -lm -lltdl but no shared library is created for guile. Also, seems to be in the wrong order (-L/usr/local/lib should be before -lguile), but it doesn't really matter since the shared lib isn't being built. configure says it will build a shared library though. > - If the link step fails, what's the exact command and resulting output? > - Did the guile testsuite pass? 'make' runs successfully.... I don't see a 'make test' target. > - Did libguile build a shared library or just static? static only. > - Does libguile.la look correct? Considering there really isn't a shared lib, yep. > - Did you remove config.cache and re-run autogen's configure after > rebuilding libguile (since the libguile location has effectively moved > since you last ran it)? Yep. > > I didn't have to do anything special, but I did build libguile with > --prefix=/usr to overwrite the broken system copy rather than putting it > in /usr/local. Odd. -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin |