No rule to make target `Parser/printgrammar.o'

A

ashish

I'm trying to compile Python from source and get the same error on
RedHat and Mac OS X. I did not pass any options to configure. The
error occurs immediately.

Redhat:~/Downloads/Python-2.7$ make
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -
Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -
o Modules/python.o ./Modules/python.c
make: *** No rule to make target `Parser/printgrammar.o', needed by
`Parser/pgen'. Stop.

MacOSX:python-2.7$ make
gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o
Modules/python.o ./Modules/python.c
make: *** No rule to make target `Parser/printgrammar.o', needed by
`Parser/pgen'. Stop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top