New issue 52 by hartmut.holzgraefe: "make distcheck" and configuring
http://code.google.com/p/google-ctemplate/issues/detail?id=52
What steps will reproduce the problem?
1. download and unpack source (0.96 tarball or SVN as of today)
2. ./configure
3. make distcheck
What is the expected output? What do you see instead?
* build should succeed
* build fails as statemachine.h is not found:
../statemachine.c:39:26: error: statemachine.h: No such file or directory
What version of the product are you using? On what operating system?
* 0.96 release and SVN as of today (Jan 22, 2010)
* Ubuntu Linux 9.10
Patch to fix the problem:
Index: Makefile.am
===================================================================
--- Makefile.am (revision 45)
+++ Makefile.am (working copy)
@@ -333,7 +333,7 @@
WINDOWS_PROJECTS += vsprojects/statemachine_test/statemachine_test.vcproj
statemachine_test_SOURCES = src/tests/statemachine_test.c \
statemachine.c
-statemachine_test_CFLAGS = -Isrc/htmlparser
+statemachine_test_CFLAGS = -I$(top_srcdir)/src/htmlparser
TESTS += generate_fsm_c_test
WINDOWS_PROJECTS +=
vsprojects/generate_fsm_c_test/generate_fsm_c_test.vcproj
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Autotools versions:
autoconf (GNU Autoconf) 2.64
automake (GNU automake) 1.11
ltmain.sh (GNU libtool) 2.2.6
Comment #2 on issue 52 by csilvers: "make distcheck" and configuring
http://code.google.com/p/google-ctemplate/issues/detail?id=52
Thanks for the report -- this does indeed look like a bug. I'll fix up all
the -I
flags for the next release.