bug-guile
[Top][All Lists]
Advanced

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

Re: Intel Mac-mini OSX 10.5.1 guile test results


From: Neil Jerram
Subject: Re: Intel Mac-mini OSX 10.5.1 guile test results
Date: Wed, 23 Jan 2008 23:24:44 +0000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Neil Jerram <address@hidden> writes:

> Roger Mc Murtrie <address@hidden> 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 via email to

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