Menu

#3 wrong @ac_aux_dir@ in cdw/Makefile.am

open
nobody
5
2014-08-28
2007-11-30
No

which results in the following error when trying to build cdw-0.3.2:

[...]
aclocal-1.10: couldn't open directory `@ac_aux_dir@': No such file or directory

Replacing @ac_aux_dir@ in cdw/Makefile.am with $(ac_aux_dir) solved it.

Discussion

  • acerion

    acerion - 2007-12-04
    • labels: --> build system
     
  • acerion

    acerion - 2007-12-04

    Logged In: YES
    user_id=1350148
    Originator: NO

    Hello,

    I'm using aclocal 1.10 too, and I tested this on my machine. I didn't get the message that you get, but aclocal complained anyway:

    "
    acerion@macondo2 46 $ aclocal
    configure.in:172: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
    ../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
    /usr/share/aclocal/lock.m4:29: gl_LOCK_EARLY_BODY is expanded from...
    /usr/share/aclocal/lock.m4:22: gl_LOCK_EARLY is expanded from...
    /usr/share/aclocal/lock.m4:248: gl_LOCK is expanded from...
    /usr/share/aclocal/intl.m4:162: gt_INTL_SUBDIR_CORE is expanded from...
    /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
    /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
    configure.in:172: the top level
    configure.in:172: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
    "

    I'm no autotools guru and don't know how to fix this in 0.3.2 files. What I did is I rewrote autotools files from scratch (a great opportunity to introduce new bugs ;). You can find them in cvs, and they will be included in cdw version 0.3.3.

    I hope that new autotools files will work fine on your machine.

    Thank you for your post.

    Best regards,
    Kamil

     

Log in to post a comment.