Richard Shann <richard.sh...@virgin.net> writes: > configure:31783: checking for main in -lregex > configure:31812: i686-pc-mingw32-gcc -o conftest.exe > -Wno-unused-but-set-variable > -I/home/rshann/mxe/usr/i686-pc-mingw32/include conftest.c -lregex > -lgmp -lws2_32 -lm -lltdl -lunistring -lintl -liconv >&5 > /home/rshann/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/../../../../i686-pc-mingw32/bin/ld: > cannot find -lregex > > probably in all cases.
Can you find out where the 'regcomp' function is? If you can find it, you could pass LDFLAGS=-lfoobar to ./configure. My suspicion is that it's missing from your MXE build. Another possibility is that 'regcomp' is a preprocessor macro in one of the include files, which the current tests would fail to detect. > I am a bit out of my depth here ... these seem to be the libraries that > could plausibly provide regcomp(), ) > (by running find . -name '*regex*' -print) > > ./usr/i686-pc-mingw32/lib/libboost_regex-mt.a > ./usr/i686-pc-mingw32/lib/libwxregexu-2.8-i686-pc-mingw32.a > ./usr/i686-pc-mingw32/lib/libwxregex-2.8-i686-pc-mingw32.a > ./usr/i686-pc-mingw32/lib/libboost_regex-mt-d.a These aren't the droids you're looking for. Guile 1.8's ./configure seems to be looking for either libregex or librx, though I confess that my autoconf skills are weak. Mark