[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
Sun, 15 Jun 2014 00:52:37 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
i got it working. both your guesses were correct.
of course the error message came from make directly and apparently the
make package for my distribution comes with guile extensions
enabled (somehow, could not find it in the packages build sources but
that is a different topic). installing a make version without guile
extensions (it needed make to build) and then recompiling guile-reader
> do you have pointers to these projects?
yes - i am currently in the process of "booting" a new website and
filling in content, not really ready but have a look
the transcompilers: http://sph.io/browse/name/sescript
http://sph.io/browse/name/sc there i use guile-reader to exclude some
the code formatter: http://sph.io/browse/name/lang-scm-format
and the reader definitions used:
On 2014-06-12 22:20, Ludovic Courtès wrote:
> tantalum <address@hidden> skribis:
>> i just updated from guile 2.0.11 to todays git version 184.108.40.206-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:
> ./configure --program-suffix=-2.2
> 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
> these projects?