View previous topic :: View next topic |
Author |
Message |
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1186
|
Posted: Tue Jun 18, 2024 3:41 am Post subject: Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12 |
|
|
I'm trying to install www-apache/mod_wsgi, but although I have python 3.12 and 3.11 (fallback) installed, the ebuild does not have PYTHON_SINGLE_TARGET flag. Where does this flag need to be set, in the package.use/ folder or in make.conf file?
If choosing to set the flag in the same command as emerge, is that not wise to do for any reason?
Like this
PYTHON_SINGLE_TARGET="python3_11" emerge --ask www-apache/mod_wsgi |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
Posted: Tue Jun 18, 2024 5:08 am Post subject: Re: Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12 |
|
|
LIsLinuxIsSogood wrote: | I'm trying to install www-apache/mod_wsgi, but although I have python 3.12 and 3.11 (fallback) installed, the ebuild does not have PYTHON_SINGLE_TARGET flag. Where does this flag need to be set, in the package.use/ folder or in make.conf file? | Re-read the news announcement again, carefully. It specifically says make.conf is not recommended and may cause problems and that package.use is the correct / preferred location.
LIsLinuxIsSogood wrote: | If choosing to set the flag in the same command as emerge, is that not wise to do for any reason? | Unless you understand what that command does, don't do it. When done like that on the command line, it is a temporary setting that will cause problems when there is an update because it will want to rebuild the package without that setting. The only practical use for that is to test what the result would be along with the --pretend option. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3864
|
Posted: Tue Jun 18, 2024 5:16 am Post subject: |
|
|
I wouldn't expect issues with proper setting in /etc/portage/package.use...
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1186
|
Posted: Tue Jun 18, 2024 5:16 am Post subject: |
|
|
Thank pjp |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22658
|
Posted: Tue Jun 18, 2024 11:51 am Post subject: Re: Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12 |
|
|
LIsLinuxIsSogood wrote: | I'm trying to install www-apache/mod_wsgi, but although I have python 3.12 and 3.11 (fallback) installed, the ebuild does not have PYTHON_SINGLE_TARGET flag. | It looks to me like mod_wsgi-5.0.0 has support for Python3.12. Are you trying to use an older version? You did not show us the command or its output, so we cannot tell. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
Posted: Tue Jun 18, 2024 3:01 pm Post subject: |
|
|
Except for ppc, version 5 is ~. Current stable only shows "9..11". _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|