tlabs has asked for the wisdom of the Perl Monks concerning the following question:

How can I define the Fcntl macro O_EXLOCK. The error given is:- Your vendor has not defined Fcntl macro O_EXLOCK, used at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208.

Replies are listed 'Best First'.
Re: O_EXLOCK
by davorg (Chancellor) on Oct 30, 2002 at 15:51 UTC

    If it's not in your fnctl.h file then you can't. And if it is then Perl will have already picked it up.

    What do you want it for?

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

      its to get bugzilla working basically. I get 3 errors and they all relate to the same type of thing. Your vendor has not defined Fcntl macro O_EXLOCK, used at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208 Your vendor has not defined Fcntl macro O_NOINHERIT, used at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208. Your vendor has not defined Fcntl macro O_TEMPORARY, used at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 229. Is there perhaps another way I can fix these errors?