Ticket #68 (closed bug: fixed)

Opened 17 months ago

Last modified 17 months ago

wrong argument for ACLOCAL_AMFLAGS in Makefile.am

Reported by: argt Owned by: -
Priority: major Milestone:
Component: build and packaging Version: svn
Keywords: Cc:

Description

the current value is :
ACLOCAL_AMFLAGS = -I m4 --install

I believe it should be:
ACLOCAL_AMFLAGS = -I m4

aclocal does not support the option --install, it causes an error in ./autogen.sh (more precisely, autoreconf fails ).

version of autoconf: 2.61-4 on Debian/Sid

Attachments

Change History

follow-up: ↓ 3   Changed 17 months ago by semi

Aclocal is part of automake, not autoconf. The parameter needs automake 1.10, which was released last year, and is available for debian etch.

The parameter makes sure the build system stays self-contained for releases, when new features are added to build, and so it should be kept.

You can remove the parameter locally, if necessary, but you should be able to upgrade automake instead, which I recommend.

I added a comment for that line in the Makefile.am to avoid future confusion.

  Changed 17 months ago by semi

  • status changed from new to closed
  • resolution set to fixed

(In [482]) closes #68, see ticket comments for further info

in reply to: ↑ 1   Changed 17 months ago by anonymous

Replying to semi:

Aclocal is part of automake, not autoconf.

Sorry for the confusion.

I already have automake-1.10 installed. On debian/Sid (at least on mine), it seems that automake-1.10 (while being physically installed), is not used by the system by default, indeed both aclocal-1.10 and aclocal-1.9 are present, and aclocal is a symlink to the previous one. So to change this, one need to change the symlink in /etc/alternatives

Moreover the man pages have not been updated, as you can see:
http://darbujan.fzu.cz/cgi-bin/dwww/usr/share/man/man1/aclocal-1.10.1.gz?type=man

no --install option. I should probably report a bug.

Yet, it works if one forces the system to use aclocal-1.10.

  Changed 17 months ago by semi

Do not manually change symlinks! The Debian way is to do like this:

$ sudo update-alternatives --config automake

There are 2 alternatives which provide `automake'.

  Selection    Alternative
-----------------------------------------------
 +        1    /usr/bin/automake-1.9
*         2    /usr/bin/automake-1.10

Press enter to keep the default[*], or type selection number: 

Doing this changes all relevant links. And btw.

$ aclocal --help
Usage: aclocal [OPTIONS] ...

Generate `aclocal.m4' by scanning `configure.ac' or `configure.in'

Options:
      --acdir=DIR           directory holding config files (for debugging)
      --diff[=COMMAND]      run COMMAND [diff -u] on M4 files that would be
                              changed (implies --install and --dry-run)
      --dry-run             pretend to, but do not actually update any file
      --force               always update output file
      --help                print this help, then exit
  -I DIR                    add directory to search list for .m4 files
      --install             copy third-party files to the first -I directory
      --output=FILE         put output in FILE (default aclocal.m4)
      --print-ac-dir        print name of directory holding m4 files, then exit
      --verbose             don't be silent
      --version             print version number, then exit
  -W, --warnings=CATEGORY   report the warnings falling in CATEGORY

Warning categories include:
  `syntax'        dubious syntactic constructs (default)
  `unsupported'   unknown macros (default)
  `all'           all the warnings (default)
  `no-CATEGORY'   turn off warnings in CATEGORY
  `none'          turn off all the warnings
  `error'         treat warnings as errors

Report bugs to <bug-automake@gnu.org>.

  Changed 17 months ago by semi

I reported the documentation bug to Debian.

Add/Change #68 (wrong argument for ACLOCAL_AMFLAGS in Makefile.am)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.