Make: *** No rule to make target 'patchcheck'. Stop

Hi everyone,

I am new to the Python community. I am unable to run make patchcheck and ./python -m test commands in linux.

For both of them I get the errors:

bash: ./python: No such file or directory


make: *** No rule to make target 'patchcheck'.  Stop.

Can I get some help on this?

I think you have to run ./configure --with-pydebug && make -j first, which is step 3 in the devguide quick reference, before you run step 4 (the tests) and 6 (patchcheck).

This will generate the Makefile that defines the patchcheck target and compile the Python interpreter you’re trying to run.

1 Like

Thanks Henrik,

This helps.