Re: Build failures of packages which use waf as build system

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

 



On 22.7.2018 15:30, Sérgio Basto wrote:
On Tue, 2018-07-17 at 08:45 +0200, Guido Aulisi wrote:
2018-07-17 0:38 GMT+02:00 Miro Hrončok <mhroncok@xxxxxxxxxx>:
On 16.7.2018 21:54, Guido Aulisi wrote:

I fixed some of these audio packages, prefixing waf calls with
%{__python2} macro. You have to BR python2-rpm-macros or python2-
devel
to use it.


Or you can just type "python2". However, if you need %{__python2}
macro, BR

Can I type python2 without absolute path? If so it's even easier...

Legit question,  rpm -E %{__python2} results in /usr/bin/python2 not in
python2

Sometimes you need full path, sometimes just the name of the command. To run (execute) python2, you just need the command (but path also works).

Try this on the command line:

    $ python2 --version
    Python 2.7.15
    $ /usr/bin/python2 --version
    Python 2.7.15

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/AQG633X3N3OHGEAXEEIHJNUQ4VB43MBF/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux