unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: Roger Mc Murtrie <rogermc@iinet.net.au>
Cc: bug-guile@gnu.org
Subject: Re: Intel Mac-mini OSX 10.5.1 guile test results
Date: Wed, 23 Jan 2008 23:24:44 +0000	[thread overview]
Message-ID: <873asoktvn.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87hchl33cv.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 10 Jan 2008 19:08:48 +0000")

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

> Roger Mc Murtrie <rogermc@iinet.net.au> writes:
>
>> make  check-TESTS
>> PASS: test-system-cmds
>> ERROR: In procedure dynamic-link:
>> ERROR: file: "libguile-srfi-srfi-1-v-3", message: "dlopen(libguile-
>> srfi-srfi-1-v-3.a, 9): image not found"
>> FAIL: test-require-extension
>> PASS: test-num2integral
>> PASS: test-round
>> PASS: test-gh
>> ERROR: In procedure dynamic-link:
>> ERROR: file: "libtest-asmobs", message: "dlopen(libtest-asmobs.a, 9):
>
> Sounds like this:
> http://comments.gmane.org/gmane.comp.gnu.libtool.general/8440
>
> I need a bit longer to digest what the conclusions are, though!  Will
> follow up when I've done that.

For the build that was failing with dynamic-link problems (per above),
can you try patching pre-inst-guile-env.in and pre-inst-guile.in as
below, and report if that helps?

You may first want to do

    sudo touch /var/db/.AllowDYLDEnvironmentVariables

to make sure that
http://docs.info.apple.com/article.html?artnum=305509 is not a factor.

(You'll need to make distclean and run the ./configure step again, so
that pre-inst-guile-env and pre-inst-guile are regenerated from the
patched .in files.)

Thanks,
        Neil



Index: pre-inst-guile-env.in
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/pre-inst-guile-env.in,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 pre-inst-guile-env.in
--- pre-inst-guile-env.in	12 Feb 2006 13:42:49 -0000	1.3.2.1
+++ pre-inst-guile-env.in	23 Jan 2008 23:11:59 -0000
@@ -63,11 +63,15 @@
 
 # handle LTDL_LIBRARY_PATH (no clobber)
 ltdl_prefix=""
+dyld_prefix=""
 for dir in $subdirs_with_ltlibs ; do
     ltdl_prefix="${top_builddir}/${dir}:${ltdl_prefix}"
+    dyld_prefix="${top_builddir}/${dir}/.libs:${dyld_prefix}"
 done
 LTDL_LIBRARY_PATH="${ltdl_prefix}$LTDL_LIBRARY_PATH"
 export LTDL_LIBRARY_PATH
+DYLD_LIBRARY_PATH="${dyld_prefix}${top_builddir}/libguile/.libs:$DYLD_LIBRARY_PATH"
+export DYLD_LIBRARY_PATH
 
 # handle PATH (no clobber)
 PATH="${top_builddir}/guile-config:${PATH}"
Index: pre-inst-guile.in
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/pre-inst-guile.in,v
retrieving revision 1.7.2.1
diff -u -r1.7.2.1 pre-inst-guile.in
--- pre-inst-guile.in	12 Feb 2006 13:42:49 -0000	1.7.2.1
+++ pre-inst-guile.in	23 Jan 2008 23:11:59 -0000
@@ -76,11 +76,15 @@
 
 # handle LTDL_LIBRARY_PATH (no clobber)
 ltdl_prefix=""
+dyld_prefix=""
 for dir in $subdirs_with_ltlibs ; do
     ltdl_prefix="${top_builddir}/${dir}:${ltdl_prefix}"
+    dyld_prefix="${top_builddir}/${dir}/.libs:${dyld_prefix}"
 done
 LTDL_LIBRARY_PATH="${ltdl_prefix}$LTDL_LIBRARY_PATH"
 export LTDL_LIBRARY_PATH
+DYLD_LIBRARY_PATH="${dyld_prefix}${top_builddir}/libguile/.libs:$DYLD_LIBRARY_PATH"
+export DYLD_LIBRARY_PATH
 
 # set GUILE (clobber)
 GUILE=${top_builddir}/libguile/guile





  reply	other threads:[~2008-01-23 23:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09  3:57 Intel Mac-mini OSX 10.5.1 guile test results Roger Mc Murtrie
2008-01-10 19:08 ` Neil Jerram
2008-01-23 23:24   ` Neil Jerram [this message]
2008-01-24 13:36     ` Roger Mc Murtrie
2008-01-24 22:01       ` Neil Jerram
     [not found]         ` <7A8A3E01-C259-46BB-8FA7-92F75AAB7642@iinet.net.au>
     [not found]           ` <87y7ae3kqj.fsf@ossau.uklinux.net>
2008-01-25  1:31             ` Roger Mc Murtrie
2008-01-25  8:20               ` Roger Mc Murtrie
2008-01-29 23:09                 ` Neil Jerram
2008-01-30  0:35                   ` Roger Mc Murtrie
2008-01-30 21:54                     ` Neil Jerram
     [not found] ` <87zlvept9v.fsf@ossau.uklinux.net>
     [not found]   ` <0CAB0B4F-7CA6-4892-9066-BA9D0CA56EAF@iinet.net.au>
     [not found]     ` <7A68F70F-CCDB-46E7-9B11-D4B564B33F7C@iinet.net.au>
     [not found]       ` <87prw91dwv.fsf@ossau.uklinux.net>
2008-01-10 23:46         ` Roger Mc Murtrie

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=873asoktvn.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=bug-guile@gnu.org \
    --cc=rogermc@iinet.net.au \
    /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).