Re: Using Fedora for Gnome development...

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

 



On Tue, 2013-04-02 at 15:31 -0400, Darryl L. Pierce wrote:

> When python3 is installed then, with both projects, Cmake finds Python
> 3. 

This seems like either a bug in Cmake or your project (not sure which) -
if it's possible to explicitly specify that you want Python 2, then you
should be doing so.  Likewise, if a project wants Python 3, you should
also explicitly say so, at least in the build configuration (spec file,
bitbake recipe, debian/rules etc.).

Basically while it's sometimes sane for a component to auto-detect from
the environment which Python to use, you should generally configure it
explicitly to use whichever one you want.

See also:
https://mail.gnome.org/archives/desktop-devel-list/2012-November/msg00014.html

Where the conclusion for GNOME was that modules should accept
--with-python to specify exactly which Python they want.  See also
http://pkgs.fedoraproject.org/cgit/pygobject3.git/tree/pygobject3.spec#n163
which is accomplishing this in a slightly different way.



-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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