baohaojun / ajoke

Abducting Java Onto Emacs, K is silent.
GNU General Public License v2.0
73 stars 3 forks source link

autoconf failed #1

Closed oneself closed 11 years ago

oneself commented 11 years ago

Hi,

I'm trying to build on my machine, and I get the following error: configure.ac:240: error: required file 'libltdl/Makefile.in' not found Makefile.am:13: error: required directory ./libltdl does not exist global/Makefile.am:17: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 'CPPFLAGS') gtags/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') configure.ac:219: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 'CPPFLAGS') configure.ac:219: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 'CPPFLAGS') configure.ac:219: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') libparser/Makefile.am:25: warning: '%'-style pattern rules are a GNU make extension libparser/Makefile.am:28: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 'CPPFLAGS') libutil/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') plugin-example/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') plugin-example/Makefile.am:14: error: Libtool library used but 'LIBTOOL' is undefined plugin-example/Makefile.am:14: The usual way to define 'LIBTOOL' is to add 'LT_INIT' plugin-example/Makefile.am:14: to 'configure.ac' and run 'aclocal' and 'autoconf' again. plugin-example/Makefile.am:14: If 'LT_INIT' is in 'configure.ac', make sure plugin-example/Makefile.am:14: its definition is in aclocal's search path. autoreconf: automake failed with exit status: 1

baohaojun commented 11 years ago

You are on Debian-family right? If so, maybe you can try to install these packages:

apt-get build-dep global

apt-get install sudo bash-completion autoconf automake \
    bison exuberant-ctags flex \
    gperf libltdl-dev libtool netbase \
    openjdk-6-jdk strace tasksel git python python3 \
    libstring-approx-perl libstring-shellquote-perl \
    libtext-glob-perl liburi-encode-perl

You can remove or add some packages if there are install errors. I tried it on a clean minimal debian install (built using pbuilder), and the compilation is successful. Thanks for the report, I will clarify in the README.