[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [guile-reader-devel] guile-reader may need adjustments to be used wi
Re: [guile-reader-devel] guile-reader may need adjustments to be used with the next release of guile
Thu, 12 Jun 2014 22:20:24 +0200
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)
tantalum <address@hidden> skribis:
> i just updated from guile 2.0.11 to todays git version 22.214.171.124-59258f
> and guile-reader worked before without problems, now i see things
> about "2.2" instead of "2.0" in strace and it does not work anymore, stating
> "ERROR: In procedure dynamic-link: file: "/usr/lib/libguile-reader",
> message: "file not found""
> open("/usr/lib/libguile-2.0.so.22", O_RDONLY|O_CLOEXEC)
> = -1 ENOENT (No such file or directory)
> (a file which is in fact missing and got replaced with a similar 2.2
> version with the update)
It looks as though Guile-Reader hadn’t been rebuilt against Guile 2.2.
When switching Guile major versions, you need to make sure to run (in
Guile-Reader’s build directory):
make clean && rm -f config.cache
and then run ./configure, make, make install.
Is this what you did?
> trying to compile gives
> "make: error while loading shared libraries: libguile-2.0.so.22: cannot
> open shared object file: No such file or directory"
Could it be that GNU Make was built with support for extensions with
Guile 2.0? If that is the case, you may need to rebuild it as well.
That being said, I’d recommend keeping both versions of Guile around,
which is easily done. For instance, configure Guile master with:
That’ll give you commands like ‘guile-2.2’, alongside the ‘guile’
command for 2.0; libraries and header files will also coexist (info
"(guile) Parallel Installations").
> by the way i think guile-reader is a great project, i use it for example
> to parse code with comments for formatting and for custom readers to
> transcompile from scheme syntax to other languages
Thanks, good to hear. :-) Out of curiosity, do you have pointers to