Hi there,

I've been trying to get Sitescooper to run under OS X (10.2). I'm a newbie to all of this---I had some exposure to unix back in college, but don't know perl.

When I run sitescooper.pl, here is what I get:

[monad:/usr/local/sitescooper-3.1.2] david% perl sitescooper.pl
Can't locate Sitescooper/Main.pm in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl . /usr/local/sitescooper-3.1.2\lib /usr/local/sitescooper-3.1.2\site_perl) at sitescooper.pl line 117.
BEGIN failed--compilation aborted at sitescooper.pl line 117.

I've applied the one fix mentioned in the thread from April 2002, picked back up briefly in May 25, 2002 (see the archives). That is, in lib/sitescooper/main.pl, I've changed:

if ($os=~/win/i) {
to
if ($os=~/^(?!dar)win/i) {

But, as Andy Dannelley reported back then, and as you can see above, I still get backwards slashes popping up in places where they shouldn't, and so sitescooper still has trouble finding files.

Andy Dannelley's second post (5/25/02) seemed to suggest working around the problem by moving files into directories that sitescooper does recognize (e.g., moving the contents of the "site-perl" directory into the "sitescooper-3.1.2" directory). I haven't tried this, since it seems like such a messy fix, and I'd rather get the script to work right, if possible.

A few people have posted, saying that they have gotten it to work, but nobody has explained how! How do you do it?

Also, is the backslash problem the only problem, or are there others lurking?

Thanks,
David Sanson
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Sitescooper-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sitescooper-talk

Reply via email to