ericmckean / snappy

Automatically exported from code.google.com/p/snappy
Other
0 stars 0 forks source link

Can't compile #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://snappy.googlecode.com/svn/trunk/ snappy-read-only
2. aclocal & autoreconf

What is the expected output? What do you see instead?
Expect to generate Makefile.
but:
{{{
configure.ac: required file `./install-sh' not found
configure.ac: required file `./missing' not found
Makefile.am: required file `./INSTALL' not found
Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
Makefile.am:4: 
Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:4: to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am: required file `./depcomp' not found
Makefile.am:20: `dist_doc_DATA' is used but `docdir' is undefined
autoreconf: automake failed with exit status: 1
}}}

What version of the product are you using? On what operating system?
URL: http://snappy.googlecode.com/svn/trunk
Repository Root: http://snappy.googlecode.com/svn
Repository UUID: 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Revision: 53

on Linux 2.6.18-128.7.1.el5 RHEL

Please provide any additional information below.
The change below seems worked:
{{{
Index: configure.ac
===================================================================
--- configure.ac        (revision 53)
+++ configure.ac        (working copy)
@@ -9,6 +9,7 @@

 AC_INIT([snappy], [snappy_major.snappy_minor.snappy_patchlevel])
 AC_CONFIG_MACRO_DIR([m4])
+AC_PROG_LIBTOOL("libtool")

 # These are flags passed to automake (though they look like gcc flags!)
 AM_INIT_AUTOMAKE([-Wall -Werror])
Index: Makefile.am
===================================================================
--- Makefile.am (revision 53)
+++ Makefile.am (working copy)
@@ -17,6 +17,7 @@
 noinst_PROGRAMS = $(TESTS)

 EXTRA_DIST = autogen.sh testdata/alice29.txt testdata/asyoulik.txt testdata/baddata1.snappy testdata/baddata2.snappy testdata/baddata3.snappy testdata/cp.html testdata/fields.c testdata/geo.protodata testdata/grammar.lsp testdata/house.jpg testdata/html testdata/html_x_4 testdata/kennedy.xls testdata/kppkn.gtb testdata/lcet10.txt testdata/mapreduce-osdi-1.pdf testdata/plrabn12.txt testdata/ptt5 testdata/sum testdata/urls.10K testdata/xargs.1 
+docdir = ./
 dist_doc_DATA = ChangeLog COPYING INSTALL NEWS README format_description.txt

 libtool: $(LIBTOOL_DEPS)
}}}

Original issue reported on code.google.com by lob...@gmail.com on 30 Nov 2011 at 9:58

GoogleCodeExporter commented 9 years ago

Original comment by se...@google.com on 30 Nov 2011 at 10:22