Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Patching SGI::FAM

by insaniac (Friar)
on Sep 21, 2005 at 11:52 UTC ( [id://493745]=perlquestion: print w/replies, xml ) Need Help??

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

Hey fellow monkies,

I've sent a patch to SGI::FAM, but! I should have posted my problem overhere first (i think).
I wanted to try the example in SGI::FAM, but I got an error saying:

Your vendor has not defined SGI::FAM macro FAM_DEBUG_OFF at test.pl li +ne 5

So I did some locate's and grep's and this way I found that FAM_DEBUG_OFF is also in [your_cpan_location]/auto/SGI/FAM/new.al. But, this code tries to call it as a sub, while I think it's a constant (a scalar one i think). Does anybody else think that?

Also, since the code (SGI::FAM) was written for Irix, I can't really test if my tweak (deleting the ( and ) after FAM_DEBUG_OFF in auto/SGI/FAM/new.al).

Good thing is: the example now works on a Linux machine ;-) Pretty cool actually...

I'm using debian linux with gamin library

Thanks a lot!,
just another monkie

to ask a question is a moment of shame
to remain ignorant is a lifelong shame

Replies are listed 'Best First'.
Re: Patching SGI::FAM
by insaniac (Friar) on Sep 22, 2005 at 07:58 UTC
    So ehm, I can conclude that what I did was correct?
    Also, I see the last changes to this module were made in september 1997.. do you think the author is still *actively* involved with this module? I was just wondering if it makes sense to bother him with my emails and my patch, or just keep the patch to myself..

    Thanks for frontpaging this message!
    Cheers,
    Johnny

    to ask a question is a moment of shame
    to remain ignorant is a lifelong shame

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://493745]
Approved by Corion
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found