Opened 15 years ago

Last modified 15 years ago

#153 new task

Autoconf issues in se.lu.thep.WeNNI

Reported by: Jari Häkkinen Owned by: Peter Johansson
Priority: major Milestone: se.lu.thep.wenni 0.7
Component: se.lu.thep.wenni Keywords:
Cc:

Description

Checks for used programs should be added

jar, javac, tar, wget

Change History (9)

comment:1 by Peter Johansson, 15 years ago

(In [859]) adding tests for javac and jar - refs #153

comment:2 by Peter Johansson, 15 years ago

(In [860]) adding tests for javac and jar - refs #153

comment:3 by Jari Häkkinen, 15 years ago

I get

./configure: line 21226: AC_PROG_JAVAC: command not found
./configure: line 21227: AC_PROG_JAR: command not found

and JAR is not set. The new m4 directory is not referenced in configure.ac

comment:4 by Jari Häkkinen, 15 years ago

And now I get, with no changes made except rerunning bootstrap and configure:

configure.ac:135: error: possibly undefined macro: AC_PROG_JAVAC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:136: error: possibly undefined macro: AC_PROG_JAR

comment:5 by Peter Johansson, 15 years ago

The problem is the bootstrap. I forgot that we have such an old fashioned one. It doesn't pick up the '-I m4' because we call aclocal directly rather than calling autoreconf. If you try autoreconf, I think it will work.

We need to modify bootstrap, either as we do in svndigest and yat or by adding at least '-I m4' to aclocal (perhaps also '--install')

comment:6 by Peter Johansson, 15 years ago

(In [864]) refs #153 - using autoreconf in bootstrap. Did not add '--force' because it may overwrite INSTALL

comment:7 by Peter Johansson, 15 years ago

(In [870]) calling tar through script 'missing'. refs #153.

comment:8 by Jari Häkkinen, 15 years ago

Summary: wenni autoconfAutoconf issues in se.lu.thep.WeNNI

comment:9 by Jari Häkkinen, 15 years ago

Milestone: se.lu.thep.wenni 0.7
Note: See TracTickets for help on using tickets.