* Snapshot make distcheck problem
@ 2009-06-13 9:46 Neil Jerram
2009-06-13 12:28 ` Neil Jerram
0 siblings, 1 reply; 2+ messages in thread
From: Neil Jerram @ 2009-06-13 9:46 UTC (permalink / raw)
To: Guile Development
[-- Attachment #1: Type: text/plain, Size: 2112 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-for-make-distcheck.patch --]
[-- Type: text/x-diff, Size: 966 bytes --]
From a4c7b9cb1bcc211c1e4471e7ef209b888eee5f3d Mon Sep 17 00:00:00 2001
From: Neil Jerram <neil@ossau.uklinux.net>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Snapshot make distcheck problem
2009-06-13 9:46 Snapshot make distcheck problem Neil Jerram
@ 2009-06-13 12:28 ` Neil Jerram
0 siblings, 0 replies; 2+ messages in thread
From: Neil Jerram @ 2009-06-13 12:28 UTC (permalink / raw)
To: Guile Development
Neil Jerram <neil@ossau.uklinux.net> writes:
> 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.
Seems to work, so I've pushed this now.
Neil
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-13 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-13 9:46 Snapshot make distcheck problem Neil Jerram
2009-06-13 12:28 ` Neil Jerram
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).