[rabbitmq-discuss] compiling rabbitmq-c under mingw
Jim Irrer
irrer at umich.edu
Fri Jul 23 22:28:29 BST 2010
The advice made no explicit mention of a URL to download and I
got the main (wrong) branch of the code. It had no windows
subdirectory under librabbitmq.
That was a lot of pain for nothing.
FYI:
After more searching of the web site I just now downloaded
http://hg.rabbitmq.com/rabbitmq-c/archive/22cb3bbbca10.tar.gz
which had no configure file as mentioned in the README.windows.
Running autoreconf -i yields:
configure.ac:13: error: Autoconf version 2.58 or higher is required
aclocal.m4:1250: LT_INIT is expanded from...
aclocal.m4:1254: AM_PROG_LIBTOOL is expanded from...
configure.ac:13: the top level
autom4te: /bin/m4 failed with exit status: 1
configure.ac:13: error: Autoconf version 2.58 or higher is required
aclocal.m4:1250: LT_INIT is expanded from...
aclocal.m4:1254: AM_PROG_LIBTOOL is expanded from...
configure.ac:13: the top level
autom4te: /bin/m4 failed with exit status: 1
autoreconf: /usr/bin/autoconf failed with exit status: 1
and it fails to make a configure file.
My mingw autoconf is at version 2.56 and I don't know how to upgrade it.
I just downloaded and installed mingw a few weeks ago and this is the
version that
was there.
- Jim
Jim Irrer irrer at umich.edu (734) 647-4409
University of Michigan Hospital Radiation Oncology
519 W. William St. Ann Arbor, MI 48103
On Fri, Jul 23, 2010 at 3:57 PM, David Wragg <david at rabbitmq.com> wrote:
> Jim Irrer <irrer at umich.edu> writes:
> > Ok, that was no help at all, :)
> > but I got it working.
> >
> > The big key is to replace all of the socket calls with Windows
> > compatible calls (which you probably did):
> >
> > write --> sendto
> > read --> recvfrom
> > close --> closesocket
> > htons macro --> htons function
> > use MS inet_addr function
> > call WSAStartup before you do anything
> > (not sure if I listed all of them)
>
> The bug22825 branch does this, and a few other things besides, while
> maintaining support for builds under unix-descended operating systems
> too.
>
> Could you tell me what the reason you were unable to use it was?
> bu22825 is likely to be merged into default in the not too distant
> future, so if there is a problem with it, it would be cool if you could
> let us know about it.
>
>
> David
>
> --
> David Wragg
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100723/c6909888/attachment.htm>
More information about the rabbitmq-discuss
mailing list