Closed life0fun closed 12 years ago
Run autoreconf again. Autoreconf should be executed after pkg-config was installed. Otherwise PKG_PROG_PKG_CONFIG macro is undefined.
I did....I removed the folder and git cloned again. Still. My colleague has the same problem in his mac also.
I think the following SO question may be relevant to this issue: http://stackoverflow.com/questions/3522248/how-do-i-compile-jzmq-for-zeromq-on-osx http://stackoverflow.com/questions/10875983/installing-pkg-config-on-osx-10-6
If that is the case, the problem is that m4 macro pkg.m4 is not installed in the directory the aclocal is looking for the macros. I don't know this is a bug of homebrew pkg-config package. To workaround this, you need to copy pkg.m4 file to the right place or edit files to add the directory in the way described in the above links.
After fixing pkg.m4 location, run autoreconf -i again and run configure.
Yes, it works. Just need to add brew path for aclocal.
Close the issue. Thanks !
I have installed pkg-config with brew install pkg-config. pkg-config-0.27 already installed pkgconfig @0.27 devel/pkgconfig
checking whether make sets $(MAKE)... (cached) yes ./configure: line 15729: syntax error near unexpected token
0.20' ./configure: line 15729:
PKG_PROG_PKG_CONFIG(0.20)'