unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: Guile Development <guile-devel@gnu.org>
Subject: Re: autohackery and nightly snapshots
Date: Sat, 24 Feb 2007 22:45:31 +0000	[thread overview]
Message-ID: <87tzxbcgz8.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87hcte0zdg.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 22 Feb 2007 19:24:27 +0000")

Neil Jerram <neil@ossau.uklinux.net> writes:

> ludovic.courtes@laas.fr (Ludovic Courtès) writes:
>
>> Hi,
>>
>> Neil Jerram <neil@ossau.uklinux.net> writes:
>>
>>> -subdirs_with_ltlibs="srfi guile-readline"       # maintain me
>>> +subdirs_with_ltlibs="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-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/neil/guile-cvs-head/guile/guile-core/srfi/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/i486-linuxlibc1/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libguile-i18n-v-0.la", O_RDONLY)  = -1 ENOENT (No such file or directory)
access("/home/neil/guile-cvs-head/guile/guile-core/guile-readline/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory)
access("/home/neil/guile-cvs-head/guile/guile-core/srfi/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory)
access("/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/i486-linuxlibc1/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/X11R6/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory)
futex(0x402c41b4, FUTEX_WAKE, 2147483647) = 0
open("/home/neil/guile-cvs-head/guile/guile-core/libguile/.libs/libguile-i18n-v-0.so", O_RDONLY) = 8



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2007-02-24 22:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 21:32 autohackery and nightly snapshots Neil Jerram
2007-02-21 23:03 ` Kevin Ryde
2007-02-22  9:32 ` Ludovic Courtès
2007-02-22 19:24   ` Neil Jerram
2007-02-24 22:45     ` Neil Jerram [this message]
2007-02-25 22:43       ` Kevin Ryde
2007-02-26 20:15         ` Neil Jerram
2007-02-26 22:28           ` Kevin Ryde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzxbcgz8.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).