Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AM_PROG_AR error in ./prepare #2

Open
mtlam opened this issue Jul 16, 2019 · 1 comment
Open

AM_PROG_AR error in ./prepare #2

mtlam opened this issue Jul 16, 2019 · 1 comment

Comments

@mtlam
Copy link

mtlam commented Jul 16, 2019

Running sudo ./prepare, I then saw:

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
libtoolize: copying file 'config/libtool.m4'
libtoolize: copying file 'config/ltoptions.m4'
libtoolize: copying file 'config/ltsugar.m4'
libtoolize: copying file 'config/ltversion.m4'
libtoolize: copying file 'config/lt~obsolete.m4'
configure.ac:7: installing 'config/compile'
configure.ac:5: installing 'config/missing'
automake: warnings are treated as errors
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'libpsrfits_utils.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:15: while processing Libtool library 'libpsrfits_utils.la'
Makefile.am: installing 'config/depcomp'
autoreconf: automake failed with exit status: 1

Thanks to google, I added AM_PROG_AR after AM_INIT_AUTOMAKE in configure.ac. I was then able to prepare, configure, and make without issues. Don't ask me why though.

@mtlam
Copy link
Author

mtlam commented Jul 23, 2019

Shami sees the same issue on Mac OS X 10.14.5 (Mojave) with the same fix. I'm on Linux Mint 18.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant