I was trying to get Sitescooper to run on OS X a couple of months ago.
There is indeed a function (subroutine, whatever you want to call it) in
main.pl in the file is sitescooper-3.1.2/lib/sitescooper that checks for
the OS that "your" copy of Sitescooper is running on.
Around line 2696
sub MyOS() {
if (defined ($MY_OS)) { return $MY_OS; }
# FIGURE OUT THE OS WE'RE RUNNING UNDER
# Some systems support the $^O variable. If not available then require()
# the Config library. [nicked from CGI.pm -- jmason]
my $os;
unless ($os) {
unless ($os = $^O) {
require Config;
$os = $Config::Config{'osname'};
}
}
if ($os=~/win/i) {
$os = 'Win32';
} elsif ($os=~/vms/i) {
$os = 'VMS';
} elsif ($os=~/mac/i) {
$os = 'Mac';
} elsif ($os=~/os2/i) {
$os = 'OS2';
} else {
$os = 'UNIX';
}
$MY_OS = $os;
}
A change was posted to try to fix the problem
change the line
if ($os=~/win/i) {
to
if ($os=~/^(?!dar)win/i) {
And it did fix most of the path problem, but there were still a couple of
more backwards slashes genertaed by Sitescooper, so there must be another
check somewhere eolse.
Also, in order to get sitescooper to run at all, I had to put the contents
of the sitescooper file in the same directory as sitescooper-3.1.2, I don't
know if this is the way it is supposed to be installed or not, but it
seemed to help.
Anyway, I too am still having signifgicant problems with Sitescooper under
OS X, as in I can't get it to run.
Any help would much appreciated.
Thanks,
AndyD
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Sitescooper-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sitescooper-talk