Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 58236
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors: jonathan.stowe [...] db.com
Cc:
AdminCc:

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



Subject: Update hints/linux.pl to check if libpthread is required
Hi, thanks for the very useful module (all the more so that it is cross-platform.) On Linux you may need to add -lpthread to LIBS if it is not already one of the libraries that the perl configuration reports. I've attached an updated hints file that does this check and adds to LIBS if necessary. Thanks again for the work on the module.
Subject: linux.pl
use Config; symlink "os/Linux.c", "OS.c" || die "Could not link os/Linux.c to os/OS.c\n"; if ( $Config{libs} !~ /(?:^|\s)-lpthread(?:\s|$)/ ) { $self->{LIBS} = ['-lpthread']; }
From: bitcard [...] faxm0dem.org
thanks this helped