Non-CPAN modules??
Okay, I'm in "stupid question mode", so I'll keep this short. I'm working on ways to track spam (where most people just want to filter it), and looking around noticed a nifty bit of Perl code which appears to do most of what I want, and could easily be coerced into doing the rest as well... http://www.unicom.com/sw/spamtrak/ Alas, I'm so used to just grabbing things from CPAN that I'm not sure where to begin with installing this puppy "by hand". I appear to have all the prerequisites as described in the README and INSTALL files, but I know there are some signifigant differences in file structure under Darwin, and obviously don't want to mess things up. So if there's anyone out there willing to give me a breif walk-through, or even just point me at a FAQ, I'd be much obliged. --B
Re: Non-CPAN modules??
On Wednesday, September 11, 2002, at 12:26 , Brian McNett wrote: SNIP > Alas, I'm so used to just grabbing things from CPAN that I'm not sure > where to begin with installing this puppy "by hand". I appear to have > all the prerequisites as described in the README and INSTALL files, but > I know there are some signifigant differences in file structure under > Darwin, and obviously don't want to mess things up. > > So if there's anyone out there willing to give me a breif walk-through, > or even just point me at a FAQ, I'd be much obliged. > You mean like: To install the module: perl Makefile.PL make make test make install -- Lou Moran http://ellem.dyn.dhs.org:5281/resume/lmoran2002.html
Re: Non-CPAN modules??
On Tuesday, September 10, 2002, at 09:30 PM, ellem wrote: > You mean like: > > To install the module: > >perl Makefile.PL >make >make test >make install ungzip'd the package looks thus. -r--r--r-- 1 bmcnett staff2742 Jul 29 03:27 spamtrak.pod -rwxr-xr-x 1 bmcnett staff1255 Jul 29 03:27 spamtrak-wrapper -r-xr-xr-x 1 bmcnett staff2179 Jul 29 03:27 spamtrak-query.pl -r-xr-xr-x 1 bmcnett staff8244 Jul 29 03:27 spamtrak-mssg.pl -r-xr-xr-x 1 bmcnett staff3599 Jul 29 03:27 spamtrak-dbop.pl -r--r--r-- 1 bmcnett staff 10069 Jul 29 03:27 Spamtrak_DB.pm -r--r--r-- 1 bmcnett staff8261 Jul 29 03:27 Spamtrak.pm -r--r--r-- 1 bmcnett staff1218 Jul 29 03:27 README -rw-r--r-- 1 bmcnett staff2148 Jul 29 03:27 Makefile -r--r--r-- 1 bmcnett staff3492 Jul 29 03:27 INSTALL -r--r--r-- 1 bmcnett staff 473 Jul 29 03:27 CHANGES 'Makefile' looks to be a shell script, rather than 'Makefile.PL'. Not only is it not installing these things in the expected places, it intentionally doesn't place the POD where it will do any good. Were things as simple as you suggest, I'd not be here asking idiot questions. --B
Re: Non-CPAN modules??
On Wednesday, September 11, 2002, at 07:02 AM, Steven Bach wrote: > I grabbed the tarball to take a look at it. The INSTALL file > say you have to hand modify the Makefile to get it to point to > where you want. Since there are only seven files, there is no > compile involved, and it is pretty clear where they all go, you > might just consider installing the files by hand. It looks > like spamtrack-wrapper need to be edited by hand too. Yes, after a small amount of tinkering I was able to put things where I wanted them, more or less. However, the simple test suggested didn't work. I THINK I know why, and it should just be a matter of a wee bit more tinkering. --B