Hi Sam, I think Jason's advice is enough to compile gem5 on Ubuntu 20.04, however, if you face any further issues please let me know I am running gem5 on my Ubuntu 20.04 without any issues.
Best regards Mouhsen Ibrahim On Wed, May 27, 2020 at 8:57 PM Jason Lowe-Power via gem5-users < [email protected]> wrote: > Hi Sam, > > First, if you use "python2 `which scons`" it should work. Or "python2 > /usr/bin/scons". > > Second, we're hoping to release gem5-20 today or tomorrow. That said, > we've been saying "today or tomorrow" for almost two weeks... I think we > mean it this time! > > Cheers, > Jason > > On Wed, May 27, 2020 at 10:52 AM Samon Shivastar <[email protected]> > wrote: > >> Hi Jason, >> >> Thanks for your reply. I use the following command and still got the same >> error: >> *python2 scons build/X86/gem5.opt -j6* >> python2: can't open file 'scons': [Errno 2] No such file or directory >> >> I was wondering if "a temporary issue with python3 support" has been >> resolved or it is still a working progress. >> >> Thanks >> Sam >> >> On Mon, May 18, 2020 at 3:07 PM Jason Lowe-Power <[email protected]> >> wrote: >> >>> Hi Sam, >>> >>> This is a temporary issue with python3 support. Once gem5-20 is released >>> (hopefully today or tomorrow), this issue should be resolved. In the >>> meantime, you can try to downgrade to python 2 and run `python2 scons....` >>> or use an ubuntu 18.04 docker image (see >>> http://www.gem5.org/documentation/general_docs/building#docker for >>> details.). >>> >>> Cheers, >>> Jason >>> >>> On Mon, May 18, 2020 at 1:03 PM Samon Shivastar via gem5-users < >>> [email protected]> wrote: >>> >>>> Dear All, >>>> >>>> I got a problem compiling gem5 latest repo on Ubuntu 20.04. >>>> >>>> It gives following error: >>>> >>>> scons build/X86/gem5.opt -j6 >>>> scons: Reading SConscript files ... >>>> Warning: Failed to find git repo directory: a bytes-like object is >>>> required, not 'str' >>>> TypeError: argument should be integer or bytes-like object, not 'str': >>>> File "/home/samsi/gem5/SConstruct", line 355: >>>> main['GCC'] = CXX_version and CXX_version.find('g++') >= 0 >>>> >>>> Any ideas how to fix this error? >>>> >>>> Thanks in advance. >>>> >>>> Sam >>>> _______________________________________________ >>>> gem5-users mailing list -- [email protected] >>>> To unsubscribe send an email to [email protected] >>>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s >>> >>> _______________________________________________ > gem5-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
