Skip Menu |

This queue is for tickets about the PPerl CPAN distribution.

Report information
The Basics
Id: 15727
Status: new
Priority: 0/
Queue: PPerl

People
Owner: Nobody in particular
Requestors: jlick-cpan [...] drivel.com
Cc:
AdminCc:

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



Subject: PPerl uses nonportable flock instead of fcntl file locking
I have attempted to compile PPerl on Solaris 10. Unfortunately the nonportable flock support has been removed in this version of the OS. PPerl fails to compile with the following errors: main.c: In function `DispatchCall': main.c:421: error: `LOCK_EX' undeclared (first use in this function) main.c:421: error: (Each undeclared identifier is reported only once main.c:421: error: for each function it appears in.) main.c:421: error: `LOCK_NB' undeclared (first use in this function) main.c:572: error: `LOCK_UN' undeclared (first use in this function) make: *** [main.o] Error 1 Portable file locking can be done with fcntl instead. PPerl already uses fcntl elsewhere, so switching to fcntl locking wouldn't introduce new dependencies. PPerl-0.25 perl, v5.8.6 built for sun4-solaris SunOS tcp.com 5.10 Generic sun4u sparc SUNW,Ultra-80 Solaris