Wireshark-bugs: [Wireshark-bugs] [Bug 8995] build fails if system python is version 3+
Date: Fri, 02 Aug 2013 16:49:35 +0000

Comment # 11 on bug 8995 from
(In reply to comment #5)
> OK, that's not the only problem; ncp2222.py has some cases where Python 3 is
> complaining about inconsistent use of tabs and spaces for indentation, as
> well as a bunch of changes 2to3 lists.
> 
> Reopening, so we can decide whether to punt on this or to push forward.
> 
> NOTE: if we punt and require Python 2, if /usr/bin/python is Python 3, then
> the configure script's attempt to find python2 will use the already-cached
> /usr/bin/python and think *it's* python2 (at least on my Ubuntu 12.04 VM),
> so we'll need to fix that to flush the cache.

As of r51113 we should be able to build using Python >= 2.5, including Python
3. (We might support earlier versions but I don't have any installed.) Would it
make sense to switch the current Python checks to simply look for version >=
2.5? For configure.ac this should be pretty simple:

http://www.gnu.org/software/autoconf-archive/ax_prog_python_version.html


You are receiving this mail because:
  • You are watching all bug changes.