Menu

#1358 autogen.sh fails

v3.6
closed-invalid
nobody
None
Buildsystem
2021-12-30
2020-11-12
Zorix
No

System is Ubuntu Linux 18.04 64 bit on newest SVN revision 38995.
The autogen.sh produced the following error:

configure.ac:367: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:367: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Makefile.am: installing './INSTALL'
Makefile.am: error: required file './AUTHORS' not found
Makefile.am: error: required file './ChangeLog' not found

Should be a simple fix of committing those files to correct those errors.
Thanks.

Discussion

  • gpz

    gpz - 2020-11-12

    Those files have been removed on purpose, you shouldnt get this error. What version of autotools/automake/autoconf do you have installed? Did you do a clean checkout?

     
  • Zorix

    Zorix - 2020-11-12

    autotools: 20180224.1
    automake: 1.15.1
    autoconf: 2.69-11

    I did a regular svn update like I usually do when I want to checkout the newest revision.
    Thanks.

     
  • gpz

    gpz - 2020-11-12

    try "make distclean" and then try again

     
  • Zorix

    Zorix - 2020-11-12

    Make failed with this error:

    $ make distclean
    make: *** No rule to make target 'configure.proto', needed by 'configure.ac'.  Stop.
    
     
  • gpz

    gpz - 2020-11-12

    yeah ok, you didnt update for a while - the easiest way to fix is is doing a clean checkout (the alternative is to do a lot of cleanup manually)

     
  • Zorix

    Zorix - 2020-11-12

    Thanks that did the trick. However, for some reason the configure script doesn't generate a Makefile, which is strange. Checking the output, I don't see any errors that stand out. This is, of course, another issue. I can bring this discussion elsewhere if necessary.

    https://pastebin.com/raw/1qZHRV79

     
  • gpz

    gpz - 2020-11-12

    --no-create --no-recursion ?

     
  • Greg King

    Greg King - 2020-11-12

    Don't type those last two options. (Only the "./config.status --recheck" script uses them.)

     
  • Zorix

    Zorix - 2020-11-12

    That was it. I'm not sure why I needed those options but it was part of a build script I had set up probably close to a decade ago. They don't appear to be a listed option in configure anymore and for some reason they silently make it fail. Everything is working now. These issues were not a bug, just an issue with old sources and custom build script. Thanks!

     
    • Greg King

      Greg King - 2020-11-12

      They don't appear to be listed options in configure.

      They aren't documented because we aren't supposed to use them. We aren't supposed to know even that they exist! As I told you before, only a second script file ever uses those two options.

       
  • gpz

    gpz - 2020-11-12
    • status: open --> closed-invalid
     
  • gpz

    gpz - 2020-11-12

    cheers :)

     

Log in to post a comment.

MongoDB Logo MongoDB