> HI
>
> I installed the module SGI::FAM, but when I run the program monitor. for example:
>
> #./monitor /var/www
>
> this show me that error:
>
> Your Vendor has not defined SGI::FAM macro new at ./monitor line 6
>


I have seen this before, but sorry to say was not able to fix it. It seems as FAM becomes more widely used it is becoming less widely maintained, go figure. Out of curiousity what platform are you running? What version of FAM are you running? On our solaris 8 system at work I was neither able to get FAM to compile/run, nor was I able to get SGI::FAM to install properly (though it wouldn't have mattered if I could since the daemon wouldn't compile). Having said that, FAM comes installed with Red Hat Linux 8.0 and is used by Gnome, and I was able to get the Perl module to install and it does run properly on that system...

On the other hand, are you just looking for directory monitoring capability or is there some specific reason you must use FAM? In the former case you might want to check out POE and specifically the POE::Component::Dirwatch... it almost provided the functionality we needed, though because of its limited error handling we decided to mimic its behavior and write our own POE driven directory watcher. Unfortunately I am not at liberty to release the source of the app, but I might be able to provide help....

If I ever decide to take on a pet project I may consider reimplementing a system similar to FAM in Perl using POE that provides more functionality than the current PoCo::Dirwatch, seeing how I have already written something similar....

http://danconia.org




-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to