Hi Lynn:
The code:
my $uname_data=(uname)[4];
is actually using the POSIX library to find
out the name of the current OS, it is not simply calling the system command
'uname'.
Can you write a simple perl code like this
and tell me your output?
#!/usr/bin/perl
use POSIX;
print (uname);
Are you running a stock installation of
Fedora Core 2 (without any updates)?
While your fix works, you may have problems
at other stages of the installation.
Cheers,
Bernard
From: [EMAIL PROTECTED] on behalf of Lynn Wilkins
Sent: Sun 26/12/2004 9:26 PM
To: [email protected]
Subject: Re: [Oscar-users] Oscar-4.0 installer fails.]
I discovered the problem.
In the oscar script
"set_global_oscar_values" line 60:
my $uname_data = (uname)[4];
ouch! on
my machine running Fedora Core uname returns just:
Linux
I modified the
script such that:
my $uname_data = (`uname -i`);
chomp
$uname_data; # Pesky newline would prevent equality test
That
fixed the problem.
-law
