mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] Problems with the guile package


From: Richard Shann
Subject: [Mingw-cross-env-list] Problems with the guile package
Date: Sun, 10 Feb 2013 16:12:07 +0000

In building Denemo on mxe I have run in to some problems with the guile
build.
The first has been solved (thanks to the guile-user mailing list): the
guile.mk generates static libraries for the srfi modules but the scripts
it generates expect them to be shared objects. Two lines need patching
for them to be used.
The second problem is that it seems guile is being built without regexp
support: the symbol make-regexp is not defined when guile starts.
Mark Weaver writes:

> './configure' is apparently
> unable to find a suitable POSIX regexp library.  I think you'll find
> that HAVE_REGCOMP is not defined in 'config.h', in which case
> 'make-regexp' will not be available.  Search for 'regex' and 'rxposix'
> in 'config.log' for details on what went wrong.

Looking in the mxe log of the build there are lines:

checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
...
removed `/home/rshann/mxe/tmp-guile/guile-1.8.7/libguile/regex-posix.h'
...

which would seem to suggest the regexp stuff should be there. Can anyone
help with this?

A third (minor?) point is that the test-guile.exe fails to execute
out-of-the-box, it would seem to require GUILE_LOAD_PATH to be set in
the environment. I tried to set this by hand without success, but we
have some code inside Denemo for setting it at run time. Perhaps this
should be incorporated into test-guile.c ?

Richard Shann





reply via email to

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