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 11:12:40AM +0100, Ottavio Caruso wrote:
> On Thu, 4 Jun 2020 at 08:38, Thomas Klausner <tk%giga.or.at@localhost> wrote:
> >
> > 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.
> 
> But I don't get that error when building on Debian Stretch. Maybe
> because I have:
> PREFER_PKGSRC= yes
> ?

I guess because you have python installed outside.
 Thomas


Home | Main Index | Thread Index | Old Index