Skip Menu |

This queue is for tickets about the Net-RabbitMQ CPAN distribution.

Report information
The Basics
Id: 53223
Status: resolved
Priority: 0/
Queue: Net-RabbitMQ

People
Owner: Nobody in particular
Requestors: leon [...] astray.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Needs pthreads
Thanks for the great library!

librabbitmq/amqp_api.c includes pthread.h but the Makefile.PL doesn't link with it.

To get 0.04 to build on my system I need to have the attached patch.

Cheers! Leon

Subject: Makefile.PL.diff
--- Makefile.PL.orig 2009-12-30 08:17:21.000000000 +0000 +++ Makefile.PL 2009-12-30 08:19:01.392096541 +0000 @@ -9,5 +9,6 @@ NAME => 'Net::RabbitMQ', VERSION_FROM => 'RabbitMQ.pm', OBJECT => "RabbitMQ.o $cfiles", + LIBS => ["-lpthread"], );
Now only required pthreads is perl is compiled with threading support.