guile-devel
[Top][All Lists]
Advanced

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

Snapshot make distcheck problem


From: Neil Jerram
Subject: Snapshot make distcheck problem
Date: Sat, 13 Jun 2009 10:46:12 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

The overnight snapshot is still failing make distcheck:

make[2]: Entering directory 
`/home/neil/SW/Guile/ovnight/guile-master-20090613/_build/examples'
/bin/mkdir -p box
gcc 
`PKG_CONFIG_PATH=/home/neil/SW/Guile/ovnight/guile-master-20090613/_inst/lib/pkgconfig
 /home/neil/SW/Guile/ovnight/guile-master-20090613/_inst/bin/guile-config 
compile` -c ../../examples/box/box.c -o box/box.o
/home/neil/SW/Guile/ovnight/guile-master-20090613/_inst/bin/guile-config: line 
2: exec: guile: not found
/bin/mkdir -p box
gcc box/box.o 
`PKG_CONFIG_PATH=/home/neil/SW/Guile/ovnight/guile-master-20090613/_inst/lib/pkgconfig
 /home/neil/SW/Guile/ovnight/guile-master-20090613/_inst/bin/guile-config link` 
-o box/box
/home/neil/SW/Guile/ovnight/guile-master-20090613/_inst/bin/guile-config: line 
2: exec: guile: not found
box/box.o: In function `print_box':
box.c:(.text+0x2d): undefined reference to `scm_puts'
box.c:(.text+0x3f): undefined reference to `scm_write'
box.c:(.text+0x52): undefined reference to `scm_puts'
box/box.o: In function `make_box':
box.c:(.text+0x74): undefined reference to `scm_cell'
box/box.o: In function `box_ref':
box.c:(.text+0xc8): undefined reference to `scm_wrong_type_arg'
box/box.o: In function `box_set_x':
box.c:(.text+0x11e): undefined reference to `scm_wrong_type_arg'
box/box.o: In function `init_box_type':
box.c:(.text+0x14a): undefined reference to `scm_make_smob_type'
box.c:(.text+0x164): undefined reference to `scm_set_smob_mark'
box.c:(.text+0x179): undefined reference to `scm_set_smob_print'
box.c:(.text+0x1a6): undefined reference to `scm_c_define_gsubr'
box.c:(.text+0x1d3): undefined reference to `scm_c_define_gsubr'
box.c:(.text+0x200): undefined reference to `scm_c_define_gsubr'
box/box.o: In function `inner_main':
box.c:(.text+0x21f): undefined reference to `scm_shell'
box/box.o: In function `main':
box.c:(.text+0x253): undefined reference to `scm_boot_guile'
collect2: ld returned 1 exit status

The key point here is the "exec: guile: not found", which is because
the installed guile isn't in the PATH.  I'm currently testing the fix
below.

Regards,
        Neil

>From a4c7b9cb1bcc211c1e4471e7ef209b888eee5f3d Mon Sep 17 00:00:00 2001
From: Neil Jerram <address@hidden>
Date: Sat, 13 Jun 2009 10:45:45 +0100
Subject: [PATCH] Fix for make distcheck

---
 examples/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index 873f34c..e514bd4 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -38,8 +38,8 @@ EXTRA_DIST = README ChangeLog-2008 check.test                 
        \
                                                                        \
  safe/README safe/safe safe/untrusted.scm safe/evil.scm
 
-AM_CFLAGS = `PKG_CONFIG_PATH=$(libdir)/pkgconfig $(bindir)/guile-config 
compile`
-AM_LIBS   = `PKG_CONFIG_PATH=$(libdir)/pkgconfig $(bindir)/guile-config link`
+AM_CFLAGS = `PATH=$(bindir):$$PATH PKG_CONFIG_PATH=$(libdir)/pkgconfig 
$(bindir)/guile-config compile`
+AM_LIBS   = `PATH=$(bindir):$$PATH PKG_CONFIG_PATH=$(libdir)/pkgconfig 
$(bindir)/guile-config link`
 
 
 box/box: box/box.o
-- 
1.5.6.5


reply via email to

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