Hi thanks,
According to http://www.m5sim.org/wiki/index.php/Compiling_M5,
SCons, should be version 0.96.91 or newer.
I dowloaded scons-0.97.0d20071212.tar.gz
And , according to the README.txt file,
==========================
(Recommended.) Install from a pre-packaged SCons package that
does not require distutils:
Red Hat Linux scons-0.97.0d20071212-1.noarch.rpm
===============================
I have downloaded scons-0.97.0d20071212-1.noarch.rpm, and
use rpm -i scons-0.97.0d20071212-1.noarch to install the oackage.
And there is no "setup.py" file in the package, only "install.py" .
I use "python install.py install --standard-lib" to install the scons.
But, I still get the same errors:
=======================================
[EMAIL PROTECTED] scons build/ALPHA_FS/tests/opt
Traceback (most recent call last):
File "/usr/bin/scons", line 160, in ?
import SCons.Script
File "/usr/lib/scons-0.97.0d20071212/SCons/Script/__init__.py", line 89, in ?
import Main
File "/usr/lib/scons-0.97.0d20071212/SCons/Script/Main.py", line 96
if callable(obj)
^
SyntaxError: invalid syntax
=================================
thanks !!
Tony
Feb. 20 2008
[EMAIL PROTECTED] wrote:
Send m5-users mailing list submissions to
m5-users@m5sim.org
To subscribe or unsubscribe via the World Wide Web, visit
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of m5-users digest..."
Today's Topics:
1. how to do regression test (Tony Frank)
2. Re: how to do regression test (nathan binkert)
----------------------------------------------------------------------
Message: 1
Date: Tue, 19 Feb 2008 09:25:53 -0800 (PST)
From: Tony Frank
Subject: [m5-users] how to do regression test
To: m5-users@m5sim.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
HI,
I have compiled m5 successfully.
I have also installed m5 by :
% sudo mkdir -p /dist/m5/system
% cd /dist/m5/system
% sudo tar vxfj /m5_system_2.0b3.tar.bz2
% sudo mv m5_system_2.0b3/* . ; sudo rmdir m5_system_2.0b3/
Now I am trying to test my build by running regression tests:
% scons build/ALPHA_FS/tests/opt
I got the error:
[EMAIL PROTECTED] scons build/ALPHA_FS/tests/opt
Traceback (most recent call last):
File "/usr/bin/scons", line 160, in ?
import SCons.Script
File "/usr/lib/scons-0.97.0d20071212/SCons/Script/__init__.py", line 89, in ?
import Main
File "/usr/lib/scons-0.97.0d20071212/SCons/Script/Main.py", line 96
if callable(obj)
^
SyntaxError: invalid syntax
And I finf that there is no "/tests/opt" under the directory "build/ALPHA_FS".
And there is no file called "m5.opt".
Need your help .
thanks
Tony
Feb. 19 2008
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://m5sim.org/pipermail/m5-users/attachments/20080219/642db208/attachment.html
------------------------------
Message: 2
Date: Tue, 19 Feb 2008 12:37:40 -0800
From: "nathan binkert"
Subject: Re: [m5-users] how to do regression test
To: "M5 users mailing list"
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
> I got the error:
>
> [EMAIL PROTECTED] scons build/ALPHA_FS/tests/opt
> Traceback (most recent call last):
> File "/usr/bin/scons", line 160, in ?
> import SCons.Script
> File "/usr/lib/scons-0.97.0d20071212/SCons/Script/__init__.py", line 89,
> in ?
> import Main
> File "/usr/lib/scons-0.97.0d20071212/SCons/Script/Main.py", line 96
> if callable(obj)
> ^
> SyntaxError: invalid syntax
As you can see from the error message, this is an error in SCons, not
M5. You should probably try a stable version of scons.
Nate
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users