serj has asked for the wisdom of the Perl Monks concerning the following question:
I am setting up some software which requires Perl 5.0 or greater, on a Mac OS X Server 10.2 system (which ships with perl v5.6.0 built for darwin). This software that I'm using asserts that it runs a test to determine whether or not the version of perl in use on one's system (in this case the packaged perl 5.6.0 for darwin) "locks files correctly" using flock. This software program further asserts:
"Perl5 can appear to be built correctly but still fail to lock files correctly using flock."
Apparently this software program was able to modify perl 5.x to use flock "correctly" by "performing the final link of the perl executable using the BSD compatibility library by using /usr/ucb/cc as the linker" for building perl5 on Solaris 2.5 ... which they further asset that such linking can not be done unless one purchases Sun's "BSD compatability package."
I'm new to Perl but still this issue of flock and requiring to use the cc linker in accordance with something that must be purchased and licensed from Sun seems a bit out of date if not esoteric. I've attempted to contact the licensor of this software that requires perl5 and flock. In the mean time, does anyone know of how to address this problem for FreeBSD / Mac OS X (10.2 or higher)? Are there builds of perl in cyberspace that make use of flock? Thanks for any suggestions.
Serj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl 5+ and flock
by graff (Chancellor) on Dec 15, 2003 at 08:06 UTC | |
|
Re: perl 5+ and flock
by Roger (Parson) on Dec 15, 2003 at 07:20 UTC | |
by Anonymous Monk on Dec 15, 2003 at 07:52 UTC | |
|
Re: perl 5+ and flock
by TStanley (Canon) on Dec 15, 2003 at 19:40 UTC |