Hi, I had the same problem "Error: can't find Python.h header in ” and strangely this problem is not because of Python, it is due to some problem with gcc.
Check whether you are able to compile a simple .c file and generate .o file using your current gcc version. I had some problem with my gcc and after I resolved it, my building process completed successfully. Let me know if this resolves your issue. Regards Puneet Saraf M.S. Scholar PACE Lab, Dept. Of Computer Science & Engg. IIT Madras, Chennai-600036, India > > >> Message: 1 >> Date: Tue, 12 Jun 2018 15:59:21 -0500 >> From: Han Bee Oh <ohb_...@tamu.edu <mailto:ohb_...@tamu.edu>> >> To: gem5-users@gem5.org <mailto:gem5-users@gem5.org> >> Subject: [gem5-users] gem5 setup problem >> Message-ID: >> <CAGN1G6uzYYrHbvT2iZJFEOD1BDBiDU6dEGGWUSp4=rzszhe...@mail.gmail.com >> <mailto:CAGN1G6uzYYrHbvT2iZJFEOD1BDBiDU6dEGGWUSp4=rzszhe...@mail.gmail.com>> >> Content-Type: text/plain; charset="utf-8" >> >> Hello, >> >> I tried to use GARNET2.0 to simulate NoC now. >> I checked there are programs like git, gcc 4.8+, SCons, Python 2.7+, >> protobuf 2.1 in my server. >> >> I commanded git clone https://gem5.googlesource.com/public/gem5 >> <https://gem5.googlesource.com/public/gem5> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=7yu8uuqaSt49tYVedcZ59A&m=nvpn-hMEIRCcuzHccUrQKdIbstcwDyvBL6_IYZ--wQw&s=tsfVjrm4-Be0hOmPo7URyRh9rOJlfAWPzSjX53TNXIg&e= >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=7yu8uuqaSt49tYVedcZ59A&m=nvpn-hMEIRCcuzHccUrQKdIbstcwDyvBL6_IYZ--wQw&s=tsfVjrm4-Be0hOmPo7URyRh9rOJlfAWPzSjX53TNXIg&e=>> >> , >> and also commanded scons build/X86/gem5.opt -j9. >> >> I got error "Error: can't find Python.h header in []" >> >> >> >> In my directory, even if I have Python.h header file in gem5 folder, it >> shows the error. >> >> Is there any possible way to solve the error? >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> <http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20180612/2422303c/attachment-0001.html >> >> <http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20180612/2422303c/attachment-0001.html>> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: image.png >> Type: image/png >> Size: 11649 bytes >> Desc: not available >> URL: >> <http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20180612/2422303c/attachment-0001.png >> >> <http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20180612/2422303c/attachment-0001.png>> >> >> ------------------------------ >> >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users