Building ach

30 views
Skip to first unread message

Kim Bøndergaard

unread,
Nov 7, 2014, 10:17:53 AM11/7/14
to ach-...@googlegroups.com
I have a problem building ach on my ubuntu.

I've run the following command sequence

aclocal
autoheader
automake
autoconf
./configure

Configure ends with the following output:

checking for ./doc/manual/ach-manual.html... no
checking for java... java
checking for javac... javac
checking for javah... javah
checking for jar... jar
./configure: line 18098: AX_JNI_INCLUDE_DIR: command not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'


Anyone who can help me going beyond this step. Probably some java package missing, but it does actually find all java stuff it looks for

/Kim

Neil Dantam

unread,
Nov 7, 2014, 11:03:04 AM11/7/14
to Kim Bøndergaard, ach-...@googlegroups.com

What is the ubuntu version, and do you have the autoconf archive installed?  Sometimes autoconf also renames macros...

Cheers,
-ntd

--
You received this message because you are subscribed to the Google Groups "ach-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ach-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kim Bøndergaard

unread,
Nov 10, 2014, 2:12:40 AM11/10/14
to ach-...@googlegroups.com, kim...@gmail.com
I'm running ubuntu 14.04 LTS
I now do have autoconf-archive installed. It made the Java error disappear but wasn't enough.

Realized that among the warnings from automake was an error telling me ltmain.sh was missing.

It now works by following these steps

libtoolize     <--- generates ltmain.sh

aclocal
autoheader
automake
autoconf
./configure
make

/Kim

Neil Dantam

unread,
Nov 10, 2014, 9:37:32 AM11/10/14
to ach-...@googlegroups.com
On 11/10/2014 01:12 AM, Kim Bøndergaard wrote:
> libtoolize <--- generates ltmain.sh
> aclocal
> autoheader
> automake
> autoconf

FYI: `autoreconf -i` will run all/whichever of these that are necessary.

Cheers,
-ntd
Reply all
Reply to author
Forward
0 new messages