如何构建sqlheavy 0-2?

时间:2014-07-25 17:09:12

标签: ubuntu autotools

我正在尝试在 Ubuntu trusty 上构建sqlheavy 0-2,因为0-2没有ppa

INSTALL文件已过时,我不是autotools忍者。

到目前为止,我做了:

git clone https://git.gitorious.org/sqlheavy/sqlheavy.git
# Because some text are required for some reason
touch NEWS README AUTHORS ChangeLog
automake --add-missing

我遇到以下错误(和警告):

examples/Makefile.am:34: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
examples/Makefile.am:24: warning: 'VALAFLAGS' is a user variable, you should not override it;
examples/Makefile.am:24: use 'AM_VALAFLAGS' instead
examples/Makefile.am:11: warning: variable 'GTK_LDFLAGS' is defined but no program or
examples/Makefile.am:11: library has 'GTK' as canonical name (possible typo)
gtk/Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
gtk/Makefile.am:3:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
gtk/Makefile.am:3:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
gtk/Makefile.am:3:   If 'LT_INIT' is in 'configure.ac', make sure
gtk/Makefile.am:3:   its definition is in aclocal's search path.
sqlheavy/Makefile.am:115: warning: '%'-style pattern rules are a GNU make extension
sqlheavy/Makefile.am:116: warning: LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH: non-POSIX variable name
sqlheavy/Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
sqlheavy/Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
sqlheavy/Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
sqlheavy/Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
sqlheavy/Makefile.am:5:   its definition is in aclocal's search path.

非常感谢任何帮助

1 个答案:

答案 0 :(得分:0)

我错过了autogen.sh文件:

clone git git://gitorious.org/sqlheavy/sqlheavy.git
./autogen.sh
sudo make install

转到下一个错误!