From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: statically linking in srfi modules Date: Mon, 11 Feb 2013 12:03:48 -0500 Message-ID: <874nhi2363.fsf@tines.lan> References: <1360315456.2172.131.camel@debian-box.lan> <1360315553.2172.132.camel@debian-box.lan> <87sj5711wu.fsf@pobox.com> <1360345958.2172.181.camel@debian-box.lan> <874nhm7aed.fsf@tines.lan> <87zjze5udn.fsf@tines.lan> <1360412014.2172.231.camel@debian-box.lan> <87a9rd5xqa.fsf@tines.lan> <874nhl5wqc.fsf@tines.lan> <1360432628.2172.497.camel@debian-box.lan> <87zjzd2ahw.fsf@tines.lan> <1360494675.2172.770.camel@debian-box.lan> <87wqug18t7.fsf@tines.lan> <1360517094.2172.1582.camel@debian-box.lan> <87sj531uc7.fsf@tines.lan> <1360577152.2172.2010.camel@debian-box.lan> <1360588037.2172.2132.camel@debian-box.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360602265 14912 80.91.229.3 (11 Feb 2013 17:04:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 17:04:25 +0000 (UTC) Cc: guile-user@gnu.org To: Richard Shann Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Feb 11 18:04:42 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4wo1-0007UN-LM for guile-user@m.gmane.org; Mon, 11 Feb 2013 18:04:37 +0100 Original-Received: from localhost ([::1]:47937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4wni-0003i7-B0 for guile-user@m.gmane.org; Mon, 11 Feb 2013 12:04:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4wnc-0003e8-5o for guile-user@gnu.org; Mon, 11 Feb 2013 12:04:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4wnT-0005Nf-Ak for guile-user@gnu.org; Mon, 11 Feb 2013 12:04:12 -0500 Original-Received: from world.peace.net ([96.39.62.75]:43182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4wnT-0005NE-6l for guile-user@gnu.org; Mon, 11 Feb 2013 12:04:03 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1U4wnL-0000rM-UM; Mon, 11 Feb 2013 12:03:56 -0500 In-Reply-To: <1360588037.2172.2132.camel@debian-box.lan> (Richard Shann's message of "Mon, 11 Feb 2013 13:07:17 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10079 Archived-At: Richard Shann 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