bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error during compilation


From: Andy Wingo
Subject: Re: Error during compilation
Date: Mon, 08 Feb 2010 11:47:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Hi Štěpán,

On Sun 07 Feb 2010 16:19, Štěpán Němec <address@hidden> writes:

> On Sun, Feb 07, 2010 at 11:37:47AM +0100, Andy Wingo wrote:
> So, sorry for the noise, although the compilation failure without a decent
> error message still seems weird to me.

Yes I don't understand that, there should have been an error from gcc or
ld.

> Other than that, apart from some (read: quite a lot of) compiler and
> Info warnings, I got this:

Hm, current git compiles without warnings on various fedora, debian, and
macos boxes that I have. There are some info warnings IIRC, yes.

> ;;; WARNING: compilation of 
> /home/stepnem/Hacking/Scheme/guile/guile/meta/guile-tools failed:
> ;;; key misc-error, throw_args ("dynamic-link" "file: ~S, message: ~S" 
> ("libguile-srfi-srfi-1-v-4" "file not found") #f)

Yes, that is this:
http://news.gmane.org/find-root.php?group=gmane.lisp.guile.devel&article=9955

I have it on my list.

> ... and a test failure (`make check'), see the attached file (it was not
> obvious to me which test really failed, according to the output; so I
> include the whole of the last suite).

> Running popen.test
> /home/stepnem/Hacking/Scheme/guile/guile/libguile/.libs/lt-guile: symbol 
> lookup error: 
> /home/stepnem/Hacking/Scheme/guile/guile/libguile/.libs/libguile.so.18: 
> undefined symbol: GC_do_blocking

That would seem to indicate that your make with libgc 6.8 partially
succeeded, then you made with 7.1, with strange results? Something like
that. Make sure that your libguile is properly linked to the right
libgc.

Sorry this is causing you so much trouble, it's not normally this much
work...

> And finally, after `sudo make install', guile gives me this error:
> ~% type guile
> guile is /usr/local/bin/guile
> ~% guile
> guile: error while loading shared libraries: libguile.so.18: cannot open
> shared object file: No such file or directory

Perhaps do an strace to see what it's trying to do?

> Not mentioning
>
> make  1412.32s user 32.42s system 93% cpu 25:43.24 total

Heh :) That's because much of Guile is implemented in Scheme, including
the compiler -- so when you do a fresh checkout you have to bootstrap
the compiler from the interpreter, which can be quite slow. We'll be
trying to speed this up, but unfortunately this is how it is right now.

Regards,

Andy
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]