Skip Menu |

This queue is for tickets about the PPerl CPAN distribution.

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

Owner: Nobody in particular
Requestors: jlick-cpan [...]

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

Subject: PPerl uses nonportable flock instead of fcntl file locking
Download (untitled) / with headers
text/plain 849b
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 5.10 Generic sun4u sparc SUNW,Ultra-80 Solaris

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to