guile-user
[Top][All Lists]
Advanced

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

Re: statically linking in srfi modules


From: Mark H Weaver
Subject: Re: statically linking in srfi modules
Date: Mon, 11 Feb 2013 12:03:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Richard Shann <address@hidden> 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



reply via email to

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