Menu

Can't build from cloned repository: Autoreconf errors

Help
Roy Dean
2019-09-21
2019-09-22
  • Roy Dean

    Roy Dean - 2019-09-21

    So I had the master branch running just fine on Ubuntu 18.04, but recently had to wipe the hard drive and reinstall. Every time I run autoreconf I get the following:

    dean@dean-ThinkPad-W520:~/hamlib/hamlib-code$ sudo autoreconf
    configure.ac:97: error: required file 'build-aux/ar-lib' not found
    configure.ac:97:   'automake --add-missing' can install 'ar-lib'
    configure.ac:84: error: required file 'build-aux/compile' not found
    configure.ac:84:   'automake --add-missing' can install 'compile'
    configure.ac:128: error: required file 'build-aux/config.guess' not found
    configure.ac:128:   'automake --add-missing' can install 'config.guess'
    configure.ac:128: error: required file 'build-aux/config.sub' not found
    configure.ac:128:   'automake --add-missing' can install 'config.sub'
    configure.ac:37: error: required file 'build-aux/install-sh' not found
    configure.ac:37:   'automake --add-missing' can install 'install-sh'
    configure.ac:265: error: required file 'build-aux/ltmain.sh' not found
    configure.ac:37: error: required file 'build-aux/missing' not found
    configure.ac:37:   'automake --add-missing' can install 'missing'
    adat/Makefile.am: error: required file 'build-aux/depcomp' not found
    adat/Makefile.am:   'automake --add-missing' can install 'depcomp'
    bindings/Makefile.am:103: error: required file 'build-aux/py-compile' not found
    bindings/Makefile.am:103:   'automake --add-missing' can install 'py-compile'
    parallel-tests: error: required file 'build-aux/test-driver' not found
    parallel-tests:   'automake --add-missing' can install 'test-driver'
    doc/Makefile.am:14: error: required file 'build-aux/mdate-sh' not found
    doc/Makefile.am:14:   'automake --add-missing' can install 'mdate-sh'
    doc/Makefile.am:14: error: required file 'build-aux/texinfo.tex' not found
    doc/Makefile.am:14:   'automake --add-missing' can install 'texinfo.tex'
    doc/Makefile.am:24: warning: user target 'dvi' defined here ...
    automake: ... overrides Automake target 'dvi' defined here
    doc/Makefile.am:24: consider using dvi-local instead of dvi
    autoreconf: automake failed with exit status: 1
    

    I know the master branch should work fine on this computer with 18.04, and I know I lost some hair while installing it the first time, but now I can't do it again. Am I missing a library or something?

    --Roy
    K3RLD

     
  • Roy Dean

    Roy Dean - 2019-09-21

    Just to add, the prepackaged tar version 3.3 works just fine but is missing a rotor interface that is only in the master branch (specifically the ST2 interface).

     
  • Nate Bargmann

    Nate Bargmann - 2019-09-22

    I'm nto sure why you're using "sudo" as the build should complete from your home directory without any privileges. Do you have the build-essentials package installed along with the autoconf, automake, and libtool packages? Since you're building from the Git master checkout, you did run the bootstrap.sh script first, right?

    The README.developer file should help you get going.

    73, Nate

     
  • Roy Dean

    Roy Dean - 2019-09-22

    Nate - huge thanks for the respone. Initially, I was not using sudo for the autoreconf command. It just happened to be the last thing I tried (hoping that the error was due to some permissions problem). I do believe I have all of the prerequisite packages, but I will double check today.

    As fo thebootstrap.sh script - no - first I've heard of it (didn't need it the first time, strange). I was following the top level readme and INSTALL, never realized there was a developer readme. I will attempt it again later today. Thanks again!

    --Roy
    K3RLD

     
  • Nate Bargmann

    Nate Bargmann - 2019-09-22

    If you're building from a release or daily snapshot tarball, then the bootstrap.sh step has already been done to prepare the the generation of the tarball. On a Git checkout, none of those generated files are kept in the repository as they're specific to the various Autotools versions insstalled on a given system.

    README.developer is historical and is found in the top level directory of the Git checkout, but is not distributed in the tarballs. You can get the latest Git code in a handy daily snapshot tarball from http://n0nb.users.sourceforge.net/ that way you don't have to install the Autotools or run bootstrap.sh as it will build just like a release tarball.

    The daily snapshots are generated via a cron job around 4:30 AM Central time (0930 or 1030z depending on US DST shift).

    73, Nate

     

    Last edit: Nate Bargmann 2019-09-22
  • Roy Dean

    Roy Dean - 2019-09-22

    Nate, thanks a million! I have control of my rig and rotators! Thanks for the education on how sourceforge works - I didn't know about the daily build tarballs and it installed with no issues whatsoever.

    --Roy
    K3RLD

     
  • Nate Bargmann

    Nate Bargmann - 2019-09-22

    Glad to be of help, Roy. Now if I can get my phone working again that FUBAR'ed this morning!

    73, Nate

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.