简体   繁体   中英

Building Python 2.7.2 fails with “No rule to make target ‘Parser/printgrammar.o’”

I am trying to build Python 2.7.2 (the latest 2.x release) on Scientific Linux 5.5, which is a derivative of Red Hat Linux. I ran

./configure --prefix=$HOME && make

and the configure script ran fine, but once make starts I get

make: *** No rule to make target `Parser/printgrammar.o', needed by `Parser/pgen'.  Stop.

Any idea what might be causing this?

根据@Ashish Ararwal所说,“请确保您没有意外关闭内置规则,例如,使用-r选项make 。”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM