Just to try and keep the traffic down: 1) This is already mentioned on the wiki; see the Python section here:
http://m5sim.org/wiki/index.php/Compiling_M5#Required_Software If this section needs to be expanded or highlighted somehow, please let us know (or better yet sign up for a wiki account and do it yourself!). 2) I just answered this same question on the list two days ago: http://article.gmane.org/gmane.comp.emulators.m5.users/1727 There are several options for searching the list archives for answers, see: http://m5sim.org/wiki/index.php/Mailing_Lists Steve On 10/1/07, Ali Saidi <[EMAIL PROTECTED]> wrote: > > You need libpython2.X.so. Many linux distributions compile python > without making the shared library, so you'll either need to install a > package that adds the shared library (python-dev for Debian or > Ubuntu, I don't know what it is for RedHat) or install another copy > of Python from source. > > Ali > > On Oct 1, 2007, at 10:52 AM, Nathan Binkert wrote: > > > I'm not sure what system you're using, but you may need to install > > some sort of python-dev package. > > > > Nate > > > > > >> Thanks, that modification really helped. But I got stuck in a new > >> error > >> Can you help me out on this. > >> > >> [EMAIL PROTECTED] m5-2.0b3]# scons build/ALPHA_FS/tests/debug/quick > >> scons: Reading SConscript files ... > >> Checking for C header file Python.h... yes > >> Adding /usr/local/lib to LIBPATH for python2.5 > >> Checking for C library python2.5... no > >> Error: can't find Python library python2.5 > >> > >> I have install Python 2.5.1 and also the standard library > >> > >> Regards, > >> Amit. > >> > >> > >> > >> On 9/28/07, Steve Reinhardt <[EMAIL PROTECTED]> wrote: > >>> > >>> Interesting... I bet that's due to your using an extremely recent > >>> version > >>> of scons. > >>> > >>> Please try changing the line: > >>> env.Append(ENV = { 'M5_PLY' : Dir('ext/ply') }) > >>> to: > >>> env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) }) > >>> in the SConstruct file and let us know if that works. > >>> > >>> If you continue to run into problems you might want to downgrade > >>> to an > >>> earlier version of scons. > >>> > >>> Steve > >>> > >>> On 9/28/07, amit patil <[EMAIL PROTECTED]> wrote: > >>> > >>>> Hi, > >>>> When i tried to compile M5 I got this error. I am new to M5 > >>>> > >>>> [EMAIL PROTECTED] m5-2.0b3]# scons build/ALPHA_FS/tests/debug/quick > >>>> scons: Reading SConscript files ... > >>>> TypeError: putenv() argument 2 must be string, not instance: > >>>> File "/root/Desktop/m5-2.0b3/SConstruct", line 210: > >>>> env.Append(ENV = { 'M5_PLY' : Dir('ext/ply') }) > >>>> File "/usr/local/lib/scons-0.97.0d20070918/SCons/ > >>>> Environment.py", line > >>>> 1068: > >>>> orig[k] = v > >>>> File "/usr/local/lib/python2.5/os.py", line 476: > >>>> putenv(key, item) > >>>> [EMAIL PROTECTED] m5-2.0b3]# > >>>> > >>>> > >>>> Could you please help me out what this error is and what should > >>>> I do... > >>>> Thanks, > >>>> Amit > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> m5-users mailing list > >>>> m5-users@m5sim.org > >>>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > >>>> > >>> > >>> > >>> _______________________________________________ > >>> m5-users mailing list > >>> m5-users@m5sim.org > >>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > >>> > >> > > _______________________________________________ > > m5-users mailing list > > m5-users@m5sim.org > > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > > > > _______________________________________________ > m5-users mailing list > m5-users@m5sim.org > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users >
_______________________________________________ m5-users mailing list m5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/m5-users