Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Software error using CGI::Session - Your vendor has not defined Fcntl macro O_NOFOLLOW

Reply
Thread Tools

Software error using CGI::Session - Your vendor has not defined Fcntl macro O_NOFOLLOW

 
 
wmwilson01@gmail.com
Guest
Posts: n/a
 
      08-15-2007
Can anyone shed some light on how I can address this:

Software error:
Your vendor has not defined Fcntl macro O_NOFOLLOW, used at /usr/local/
lib/perl5/site_perl/5.6.0/CGI/Session/Driver/file.pm line 26.

$ /usr/local/bin/perl -v

This is perl, v5.6.0 built for sun4-solaris


CGI::Session version is 4.20

Thanks.

 
Reply With Quote
 
 
 
 
xhoster@gmail.com
Guest
Posts: n/a
 
      08-15-2007
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Can anyone shed some light on how I can address this:
>
> Software error:
> Your vendor has not defined Fcntl macro O_NOFOLLOW, used at /usr/local/
> lib/perl5/site_perl/5.6.0/CGI/Session/Driver/file.pm line 26.
>
> $ /usr/local/bin/perl -v
>
> This is perl, v5.6.0 built for sun4-solaris
>
> CGI::Session version is 4.20



I don't know why the eval isn't doing what it is supposed to be
doing. Perhaps Fcntl is somehow bypassing it. What version of Fcntl do
you have?

You could probably fix it by changing line 26 of the indicated file from
$NO_FOLLOW = eval { O_NOFOLLOW } || 0;

to

$NO_FOLLOW = 0;


Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
 
Reply With Quote
 
 
 
 
wmwilson01@gmail.com
Guest
Posts: n/a
 
      08-15-2007
On Aug 15, 10:15 am, (E-Mail Removed) wrote:

> I don't know why the eval isn't doing what it is supposed to be
> doing. Perhaps Fcntl is somehow bypassing it. What version of Fcntl do
> you have?
>


I'll give that a try. Fcntl version is 1.03.

 
Reply With Quote
 
xhoster@gmail.com
Guest
Posts: n/a
 
      08-15-2007
(E-Mail Removed) wrote:
> On Aug 15, 10:15 am, (E-Mail Removed) wrote:
>
> > I don't know why the eval isn't doing what it is supposed to be
> > doing. Perhaps Fcntl is somehow bypassing it. What version of Fcntl
> > do you have?
> >

>
> I'll give that a try. Fcntl version is 1.03.


I don't seen any diff between 1.03 and what I have that would
seem relevant.

Hmmm. Are you monkeying around with $SIG{__DIE__}? I ask because
the only way I've been able to reproduce your error is if I put something
like:
BEGIN {$SIG{__DIE__} = sub {warn $_[0]; exit};}

before the "my $s=new CGI::Session"


Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid argument with fcntl.fcntl Mitko Haralanov Python 0 06-06-2007 06:45 PM
#if (defined(__STDC__) && !defined(NO_PROTOTYPE)) || defined(__cplusplus) Oodini C Programming 1 09-27-2005 07:58 PM
Help-> "Your vendor has not defined Win32::Process macro wait" Shea Martin Perl Misc 1 07-13-2005 01:44 PM
ZoneAlarm has detected a problem with your installation, and therefore has restricted Internet access from your machine for your protection. Donít panic A Teuchter Computer Support 2 05-19-2005 09:20 PM
fcntl and FCNTL Omid Fatemi Python 4 11-01-2004 12:34 PM



Advertisments