jzmq
                                
                                 jzmq copied to clipboard
                                
                                    jzmq copied to clipboard
                            
                            
                            
                        Issue building jzmq
I am trying to compile jzmq on OSX 10.10.1 (Yosemite). As prerequisites to building I have:
- downloaded and installed autoconf-2.69, automake-1.14, libtool-2.4.2, pkg-config-0.28
- I have verified that /usr/local/pkg-config-0.28/bin is on the path
- I have verified that pkg.m4 is located at /usr/share/aclocal/ (-rwxr-xr-x permissions)
- downloaded and installed zeromq-4.0.5 (not sure how to validate this install)
When I try to run ./configure in the jzmq directory I get the following as the final lines of output:
./configure: line 15436: syntax error near unexpected token newline' ./configure: line 15436:    PKG_CHECK_MODULES('
Others have had a quite similar problem and solutions all point to a mis-installation/configuration of pkg-config-0.28. I think I have done this correctly but the problem persists. Ideas?
Hi @jameslovell, I'm also using OSX 10.10.1 but am able to build without problems and all the tests come back green. This are the commands I used:
$ ./autogen.sh
$ ./configure
$ make
$ mvn test
$ pkg-config --version
0.28
Thanks @trevorbernard. I did exactly as you suggest. It must be an environmental thing on my end because when I run ./configure I get the error posted in my original message. Because of the error make has nothing to run. So I am quite stuck.
$ ./configure
...... (a bunch of output with no warnings or errors - until)
./configure: line 15436: syntax error near unexpected token newline' ./configure: line 15436:    PKG_CHECK_MODULES('
as you noted, when I run "pkg-config --version" I also get the following: $ pkg-config --version 0.28
I have the same problem here although my version of pkg-config is 0.27.1. Can anyone update this request or did anyone find a solution for this issue?