#443 closed defect (invalid)
aclocal doesn't like --force
| Reported by: | Paul Price | Owned by: | Paul Price |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | sys | Version: | unspecified |
| Severity: | major | Keywords: | |
| Cc: | robert.desonia@… |
Description
In Makefile.cvs, the command "aclocal --force" is performed:
aclocal --force
aclocal: unrecognized option -- `--force'
Try `aclocal --help' for more information.
make: * [all] Error 1
price@mithrandir:/home/mithrandir/price/psLib/psLib>aclocal --version
aclocal (GNU automake) 1.6.3
Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Tom Tromey <tromey@…>
The problem is easily fixed by removing "--force".
Change History (7)
comment:1 by , 21 years ago
| Owner: | changed from to |
|---|
comment:2 by , 21 years ago
Updated automake to 1.9.5, but now get a bunch of errors:
price@mithrandir:/home/mithrandir/price/psLib/psLib>make -f Makefile.cvs
if [ "which glibtoolize 2> /dev/null" != "" ] ; then glibtoolize --force ;
else libtoolize --force ; fi
You should update your `aclocal.m4' by running aclocal.
aclocal --force
autoheader --force
automake --add-missing --force
src/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:12:
src/Makefile.am:12: The usual way to define LIBTOOL' is to add AC_PROG_LIBTOOL'
src/Makefile.am:12: to configure.ac' and run aclocal' and `autoconf' again.
src/astronomy/Makefile.am:13: Libtool library used but `LIBTOOL' is undefined
src/astronomy/Makefile.am:13:
src/astronomy/Makefile.am:13: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/astronomy/Makefile.am:13: to configure.ac' and run aclocal' and `autoconf'
again.
src/collections/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
src/collections/Makefile.am:12:
src/collections/Makefile.am:12: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/collections/Makefile.am:12: to configure.ac' and run aclocal' and
`autoconf' again.
src/dataIO/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/dataIO/Makefile.am:11:
src/dataIO/Makefile.am:11: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/dataIO/Makefile.am:11: to configure.ac' and run aclocal' and `autoconf' again.
src/dataManip/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/dataManip/Makefile.am:11:
src/dataManip/Makefile.am:11: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/dataManip/Makefile.am:11: to configure.ac' and run aclocal' and `autoconf'
again.
src/image/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/image/Makefile.am:11:
src/image/Makefile.am:11: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/image/Makefile.am:11: to configure.ac' and run aclocal' and `autoconf' again.
src/sysUtils/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/sysUtils/Makefile.am:11:
src/sysUtils/Makefile.am:11: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/sysUtils/Makefile.am:11: to configure.ac' and run aclocal' and `autoconf'
again.
make: * [all] Error 1
comment:3 by , 21 years ago
| Cc: | added |
|---|
comment:5 by , 21 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
That does the trick --- thanks!

your automake is really old. Can you just update it?
The --force is there to allow regeneration of the files; a really handy thing
when one changes the configuration files in the project. I'd rather not just
remove it.