Created
November 2, 2012 20:37
-
-
Save linse/4004161 to your computer and use it in GitHub Desktop.
"syntax error near unexpected token" when executing ./configure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The ``syntax error near unexpected token`` means a m4 macro (for me: PKG_CHECK_MODULES) could not be expanded. | |
This can be a problem of autotoos / aclocal on OSX using homebrew. The tool aclocal is very oldschool and uses m4 macros. These .m4 macros for aclocal are expected to be in ``/usr/share/aclocal``, but homebrew puts them in ``/usr/local/share/aclocal`` without telling aclocal so. | |
Solution is adding a line ``/usr/local/share/aclocal`` in a ``/usr/share/aclocal/dirlist`` file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment