> > On Feb 5, 2004, at 7:43 AM, [EMAIL PROTECTED] wrote: > > Given that Fedora is not Irix, how exactly were > you planning that integration? >
Once upon a time SGI::FAM did work on linux, I have seen it. And fam does still run and is used at least by the gnome project. Having said that I have seen this error before, and never did solve the problem on Solaris or the Linux box I saw it on. I have not tried fedora, but aren't really surprised. I am wondering if this is just a backwards compatibility breakage wrt newer versions of fam. If I ever get to that promise land of having enough time to look at such things I was hoping to figure out what the deal was as fam is a pretty cool thing and having an interface to it would be nice. > > Everything went ok (at least I did not see any error messages). The > > problem is that running for example: > > > > perl -e'use SGI::FAM; my $fam = new SGI::FAM;' > > did you try say > > perl -MSGI::FAM -e 'my $fam = new SGI::FAM;' > > > > returns error message: > > > > "Your vendor has not defined SGI::FAM macro new at -e line 1" > > <http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm> > > indicates that it is suppose to be aware of it. > > while actually reading it > <http://search.cpan.org/src/JGLICK/SGI-FAM-1.002/lib/SGI/FAM.pm> > > you will note that > > a. there is no 'new' in the perl code, > b. hence it goes into the AutoLoader, but > gets a response back that the 'new' construct is not found > in the underlying XS code. > Having noted that I failed to get it to work, I was able to write a reasonably similar daemon to fam in Perl using POE (see I can always make a message fit it somehow). You should check the archives for my previous posts on the SGI::FAM module (I would suggest using google's groups search). The actual file watching I didn't try to implement, but the drop box functionality was fairly easy to develop.... http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>