[zeromq-dev] Build problems with trunk on OS X 10.5

Brian Granger ellisonbg at gmail.com
Mon Feb 15 19:02:33 CET 2010


Some more data:

pkg.m4 is missing:

bgranger$ ls `aclocal --print-ac-dir`
bison-i18n.m4	libxml.m4	ltdl.m4
libtool.m4	libxslt.m4	wxwin.m4

OS X does not come with pkg-config, so I installed it by hand.  Do I
need to install pkg.m4 separately?

This diagnosis is consistent because when I comment out this:

if test "x$have_pkg_config" != "xno"; then
   #  First instance of PKG_CHECK_ has to be executed
   PKG_CHECK_EXISTS([dummy_pkg], [], [])
fi

I see get an error from something else pkg.m4:

./configure: line 23918: syntax error near unexpected token `GLIB,'
./configure: line 23918: `    PKG_CHECK_MODULES(GLIB, glib-2.0 gthread-2.0)'

Cheers,

Brian

On Mon, Feb 15, 2010 at 9:04 AM, Pavol Malosek <malosek at fastmq.com> wrote:
> Hello,
>
> Seems like PKG_CHECK_EXISTS macro is not getting expanded.
>
> Have a look if you have pkg.m4 file in aclocal --print-ac-dir
>
> and check pkg.m4 file if there is something like
> AC_DEFUN([PKG_CHECK_EXISTS],
>
> malo
>
> ----- Original Message ----- From: "Brian Granger" <ellisonbg at gmail.com>
> To: "zeromq-dev" <zeromq-dev at lists.zeromq.org>
> Sent: Saturday, February 13, 2010 9:36 PM
> Subject: [zeromq-dev] Build problems with trunk on OS X 10.5
>
>
>> Hi,
>>
>> I am trying to track down problems with zmq_poll and it sounds like
>> some of the issues have been fixed in trunk.  Thus, I am trying to
>> build trunk on OS X:
>>
>> * XCode 3.1.4 (latest version of XCode - also tried with older version)
>> * 10.5
>> * pkg-config 0.23
>>
>> I am doing this:
>>
>> ./autogen.sh
>> ./configure --prefix=/usr/local/zeromq-dev --with-c --with-cpp
>>
>> After some scrolling of configure output I see:
>>
>> checking for pkg-config... yes
>> ./configure: line 21985: syntax error near unexpected token `dummy_pkg,'
>> ./configure: line 21985: `    PKG_CHECK_EXISTS(dummy_pkg, , )'
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list