(This is a suggestion of what worked for me. If you have any information or clarification to add, please follow-up or send me mail.)
Red Hat Enterprise Linux uses Python as part of its installation. Replacing this Python (the version on my RHE system is 2.2.3) directly can cause problems with RHE. Therefore, it is suggested that RHE be installed with a different name. In order to get a seamless installation of M5 on my RHE machine, I did the following: 1. I installed Python 2.4.2 in <path>/bin/python2.4, where <path> is the location where the Python installation is done. This can be anywhere. 2. I installed scons and then modified the first line of the two files .../bin/scons .../bin/sconsign to include the path to this new Python, instead of /usr/bin/python (or whatever it was). Note: Perhaps this surgery was not needed. If you know, please let me know. 3. I added environment definitions to my new Python: PYTHON_PATH=<path> # Same <path> as in (1) above. PYTHONHOME=<path> Note: It is possible that only one of these is not needed. If you know, please let me know. 4. I installed M5, modified the SYSTEMDIR search path in $top/m5-test/Syspaths.py and ran the two tests: scons -j 2 ALPHA_SE/test/opt/quick scons -j 2 ALPHA_FS/test/opt/quick Everything worked fine. I do not have to worry about doing anything like: Python2.4 `which scons` ... -Todd -- Todd Bezenek ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ m5sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m5sim-users
