[zeromq-dev] Build problems with trunk on OS X 10.5
Martin Sustrik
sustrik at 250bpm.com
Mon Feb 15 10:07:05 CET 2010
Hi Brian,
> 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, , )'
>
> On the 0MQ bug tracker I saw that this problem was observed by others
> previously (on 10.6), but the ticket was closed as it supposedly
> caused by an older version of autotools. I think this is a a real
> issue that should be looked into. I am willing to help, but know
> nothing about autotools. If anyone has some pointers about where to
> start looking, that would be great. Note: I can build the 2.0 release
> fine on this machine.
AFAIK the issue is caused by the part of the build script that checks
for availability of optional dependencies. It was added long time ago to
check for availability of video capturing libraries for
videoconferencing example that was since removed from the codebase.
Thus, I believe, the code can be removed.
Mato, Palo, any idea of what exactly to delete?
Maybe just this piece of code from configure.in should be removed:
# Optional stuff
AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no)
if test "x$have_pkg_config" != "xno"; then
# First instance of PKG_CHECK_ has to be executed
PKG_CHECK_EXISTS([dummy_pkg], [], [])
fi
If it doesn't help, in the meantime you can avoid the problem by making
a source package on linux system (make dist) and building the package on
OSX.
Martin
More information about the zeromq-dev
mailing list