Add a New Comment (Rich Markup)
I run weechat on gentoo. Gentoo has every software item compiled on the host system via build-scripts. Every gentoo user has at least one version of python installed as it's the language our package-manager is written in. Many users also have multiple versions of python installed since it's allowed to be slotted. Now there appears to be a bug in the python-detection system (FindPython.cmake) which exhibits the following, if the main (system) python is set to python-3.2 and in parallel python-2.7 is installed: cmake . -LA | grep -i python gives: PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python PYTHON_INCLUDE_PATH:PATH=/usr/include/python3.2 PYTHON_LIBRARY:FILEPATH=/usr/lib64/libpython2.7.so Adding python3.2 in the file FindPython.cmake into lines NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 circumvents the problem, but is not a real solution either. In my opinion it would be best if weechat could detect (upon compilation or run-time) which python versions are installed, build the plugin against all of them and then choose a suitable one for the script which requests python-support. For now I patched the package for gentoo to use a user-supplied option for compilation. The respective bug-report can be found here: https://bugs.gentoo.org/show_bug.cgi?id=426330
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11