[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #36835] weechat-3.7 and weechat-3.8 have crippled pyt
From: |
anonymous |
Subject: |
[Weechat-dev] [bug #36835] weechat-3.7 and weechat-3.8 have crippled python3 support |
Date: |
Thu, 12 Jul 2012 19:58:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.43 Safari/536.11 |
URL:
<http://savannah.nongnu.org/bugs/?36835>
Summary: weechat-3.7 and weechat-3.8 have crippled python3
support
Project: WeeChat
Submitted by: None
Submitted on: Do 12 Jul 2012 19:58:38 UTC
Category: plugins
Severity: 3 - Normal
Item Group: compile/install
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 0.3.8
IRC nick: tomboy64
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36835>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [bug #36835] weechat-3.7 and weechat-3.8 have crippled python3 support,
anonymous <=