Dnia 2015-01-23, o godz. 14:26:48
Michael Orlitzky <m...@gentoo.org> napisał(a):

> On 01/23/2015 02:13 PM, Michał Górny wrote:
> > To help you enable the correct USE flags, we are providing a Python
> > script which generates the correct value from your /proc/cpuinfo [1].
> > The Python script can be downloaded and executed using the following
> > command:
> > 
> >   $ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python
> 
> Can we not encourage people to pipe stuff from a plain-http website into
> an interpreter?

Find a better solution.

> But that's not the biggest problem with the wget thing: the first time
> someone runs this it's going to fail.
> 
>   $ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python
>   ...
>   Unable to determine PORTDIR, please set it before calling this script

Don't you have Portage installed?

> Now they get to download it again. Perhaps a bigger problem:
> 
>   $ echo $PORTDIR
>   /var/cache/portage/repositories/gentoo
>   $ python cpuinfo2cpuflags-x86.py
>   Unable to determine PORTDIR, please set it before calling this script

Did you export PORTDIR?

-- 
Best regards,
Michał Górny

Attachment: pgpFgSPf1SrVh.pgp
Description: OpenPGP digital signature

Reply via email to