Richard Shann <richard.sh...@virgin.net> writes: > On Sun, 2013-02-10 at 10:35 -0500, Mark H Weaver wrote: >> This is an unrelated problem, namely that './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. > Thanks for the insight - I have asked on the mxe mailing list, as I > guess this is a problem of their make file. But in case you can help > here too, I deliberately triggered a failed build so that I could get at > the config.log file and I found this within: > > ... > configure:25048: checking for regex.h > configure:25057: result: yes > configure:24937: checking rxposix.h usability > configure:24954: i686-pc-mingw32-gcc -c -Wno-unused-but-set-variable > conftest.c >&5 > conftest.c:96:21: fatal error: rxposix.h: No such file or directory > ... > > the resultant config.h has > > /* Define to 1 if you have the `regex' library (-lregex). */ > /* #undef HAVE_LIBREGEX */ > > which I guess means it is undefined... > > I can't seem to track down anything about rxposix.h though ...
Don't worry about rxposix.h. We need only one of regex.h, rxposix.h, or rx/rxposix.h, and it doesn't matter which one. The problem now is that ./configure was apparently unable to find out how to link in the 'regcomp' function. Search for 'regcomp' in 'configure.in' to see the source code for the relevant tests. Search for 'regcomp', 'regex', and 'rx' in 'config.log' to see more detail about what went wrong. Note that 'GUILE_NAMED_CHECK_FUNC' is defined in 'acinclude.m4'. Regards, Mark