From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: autohackery and nightly snapshots Date: Sat, 24 Feb 2007 22:45:31 +0000 Message-ID: <87tzxbcgz8.fsf@ossau.uklinux.net> References: <87ejoj5h91.fsf@ossau.uklinux.net> <87vehu7d1j.fsf@laas.fr> <87hcte0zdg.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1172357164 30394 80.91.229.12 (24 Feb 2007 22:46:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Feb 2007 22:46:04 +0000 (UTC) To: Guile Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Feb 24 23:45:58 2007 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HL5eO-0007lb-Si for guile-devel@m.gmane.org; Sat, 24 Feb 2007 23:45:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HL5eO-00008z-Bg for guile-devel@m.gmane.org; Sat, 24 Feb 2007 17:45:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HL5eK-00006i-A9 for guile-devel@gnu.org; Sat, 24 Feb 2007 17:45:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HL5eG-0008Vt-N0 for guile-devel@gnu.org; Sat, 24 Feb 2007 17:45:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HL5eG-0008Vo-FQ for guile-devel@gnu.org; Sat, 24 Feb 2007 17:45:48 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HL5eF-0008PE-SD for guile-devel@gnu.org; Sat, 24 Feb 2007 17:45:48 -0500 Original-Received: from laruns (host217-43-47-35.range217-43.btcentralplus.com [217.43.47.35]) by mail3.uklinux.net (Postfix) with ESMTP id 5685840A63C for ; Sat, 24 Feb 2007 22:45:35 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 2468E6F70D for ; Sat, 24 Feb 2007 22:45:32 +0000 (GMT) In-Reply-To: <87hcte0zdg.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 22 Feb 2007 19:24:27 +0000") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6554 Archived-At: Neil Jerram writes: > ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > >> Hi, >> >> Neil Jerram writes: >> >>> -subdirs_with_ltlibs=3D"srfi guile-readline" # maintain me >>> +subdirs_with_ltlibs=3D"srfi guile-readline libguile" # maintain = me >> >> Strangely, I had noticed that `(use-modules (ice-9 i18n))' would work >> with `pre-inst-guile', even before `libguile-i18n-v-0' is installed, >> perhaps because of some side-effect induced by the `libguile/guile' >> Libtool script. But apparently, this is not always the case, so your >> fix makes sense. > > Yes, I've observed that too, when running the "make distcheck" on my > own machine. My guess is that pre-inst-guile is picking up a copy of > libguile-i18n-v-0 from somewhere else (i.e. /usr/lib or > /usr/local/lib), but I haven't got to the bottom of this yet, and > that's why I haven't yet committed the above change to CVS. > > That said, I might commit the above change tonight provisionally, to > see if it helps the snapshot. I noticed from strace (below) that, on my machine, ltdl tries to open libguile-i18n-v-0.so from libguile/.libs, once it has failed with the locations in LTDL_LIBRARY_PATH. I'm guessing that this is a piece of fallback "try to open .so in the same directory as the running executable" logic, and that this logic wasn't present in some older version of libtool. (Although there is nothing in libtool's NEWS or doc to support this.) For tonight, therefore, I've committed the pre-inst-guile.in change, and also some code in autogen.sh to display the versions of libtool et al. We'll see what that gives. Regards, Neil open("/home/neil/guile-cvs-head/guile/guile-core/guile-readline/libguile-i1= 8n-v-0.la", O_RDONLY) =3D -1 ENOENT (No such file or directory) open("/home/neil/guile-cvs-head/guile/guile-core/srfi/libguile-i18n-v-0.la"= , O_RDONLY) =3D -1 ENOENT (No such file or directory) open("/lib/libguile-i18n-v-0.la", O_RDONLY) =3D -1 ENOENT (No such file or = directory) open("/usr/lib/libguile-i18n-v-0.la", O_RDONLY) =3D -1 ENOENT (No such file= or directory) open("/usr/i486-linuxlibc1/lib/libguile-i18n-v-0.la", O_RDONLY) =3D -1 ENOE= NT (No such file or directory) open("/usr/X11R6/lib/libguile-i18n-v-0.la", O_RDONLY) =3D -1 ENOENT (No suc= h file or directory) open("libguile-i18n-v-0.la", O_RDONLY) =3D -1 ENOENT (No such file or dire= ctory) access("/home/neil/guile-cvs-head/guile/guile-core/guile-readline/libguile-= i18n-v-0.so", R_OK) =3D -1 ENOENT (No such file or directory) access("/home/neil/guile-cvs-head/guile/guile-core/srfi/libguile-i18n-v-0.s= o", R_OK) =3D -1 ENOENT (No such file or directory) access("/lib/libguile-i18n-v-0.so", R_OK) =3D -1 ENOENT (No such file or di= rectory) access("/usr/lib/libguile-i18n-v-0.so", R_OK) =3D -1 ENOENT (No such file o= r directory) access("/usr/i486-linuxlibc1/lib/libguile-i18n-v-0.so", R_OK) =3D -1 ENOENT= (No such file or directory) access("/usr/X11R6/lib/libguile-i18n-v-0.so", R_OK) =3D -1 ENOENT (No such = file or directory) futex(0x402c41b4, FUTEX_WAKE, 2147483647) =3D 0 open("/home/neil/guile-cvs-head/guile/guile-core/libguile/.libs/libguile-i1= 8n-v-0.so", O_RDONLY) =3D 8 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel