pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Missing python interpreter



On Thu, Jun 04, 2020 at 08:21:16AM +0200, Frederic Fauberteau wrote:
> Hi,
> 
> I get the following error when building sysutils/grub2:
> ===> Configuring for grub2-2.04nb1
> [...]
> checking for a Python interpreter with version >= 2.6... none
> configure: error: no suitable Python interpreter found
> *** Error code 1
> 
> The Makefile contains PYTHON_ONLY_FOR_BUILD=tool. Is another action needed to provide a python interpreter during the configuration step?

You need to include one of the lang/python/*.mk files, probably
application.mk or pyversion.mk.

(I didn't commit such a change because even with it, I get a missing
kernel.img in the install phase.)
 Thomas


Home | Main Index | Thread Index | Old Index