pspp-dev
[Top][All Lists]
Advanced

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

Re: Hardcoded sysconfigdir paths


From: Ben Pfaff
Subject: Re: Hardcoded sysconfigdir paths
Date: Mon, 13 Oct 2008 18:10:22 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ivy Foster <address@hidden> writes:

> John Darrington <address@hidden>
>> Check the value of default_config_path in src/libpspp/version.c If
>> it's not what you expect. Delete that file, and run make install
>> again.
>
> Turns out that's exactly what the problem was. Thanks for your help;
> it's much appreciated.

Upon reflection, it seems likely to me that Ivy ran "configure"
without --sysconfdir and built, then ran "configure" with
--sysconfdir and built, and that we don't have enough
dependencies to ensure that version.c gets rebuilt the second
time.

How about the following patch?  I think it would fix the problem.

index a0d7879..b4fa926 100644
--- a/src/libpspp/automake.mk
+++ b/src/libpspp/automake.mk
@@ -71,7 +71,7 @@ src_libpspp_libpspp_a_CPPFLAGS = -I $(top_srcdir)/src/libpspp 
$(AM_CPPFLAGS)
 
 nodist_src_libpspp_libpspp_a_SOURCES = src/libpspp/version.c
 
-src/libpspp/version.c: $(top_srcdir)/AUTHORS
+src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
        @$(MKDIR_P) src/libpspp
        echo "/*        -*- mode: c; buffer-read-only: t -*-" > $@
        echo "   Generated by src/libpspp/automake.mk --- Do not edit. */">> $@

-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

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