On Tue, Apr 29, 2008 at 4:01 PM, Brian Dessent <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to