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

autoconf: possibly undefined macros #26

Open
dvogel opened this issue Jul 19, 2015 · 1 comment
Open

autoconf: possibly undefined macros #26

dvogel opened this issue Jul 19, 2015 · 1 comment

Comments

@dvogel
Copy link

dvogel commented Jul 19, 2015

Following the directions in the README, I ran into this set of errors:

configure.ac:3: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:26: error: possibly undefined macro: AC_DISABLE_SHARED
configure.ac:27: error: possibly undefined macro: AC_PROG_LIBTOOL

I was able to satisfy autoconf by running libtoolize:

> libtoolize 
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'

Would you prefer a PR with those files committed or with that step added to the directions in the README?

@unnikrishnanta
Copy link

On a mac,
brew install libtool
and running libtool worked for me.

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

2 participants