Hi Alan, Thanks for the info, see additional comments below.
On 12/8/2014 05:35, Alan VK2ZIW wrote: > *Hi Greg and Eric, > > From my observations, thus far, the Python 3 code in WSPR 4.0 and WSJT > 10 works with Pillow (that replaces PIL) > any version before 2.6.1 and the 'mainstream' was 2.5.3 which works. > > At this point, we ignore the package manager either "apt-get" > (Debian/Ubuntu) or "yum" Fedora (Red Hat) > > and use Python to do it's own install. Python 3's installer is "pip3" or > pip3.2 for Python 3.2 etc.. > > When you do: * > **/usr/bin/pip3 install -I pillow==2.5.3 > This removes previous "pillow" versions (PIL) and installs 2.5.3. Yes, it is possible to use pip on a local install basis, but, from a formal package standpoint ( infrastructure server build *.deb or PPA package ) we cannot use it, and must use what is available in the repositories, either main, updates or backports. Ubuntu 14.10 does not have a backport to any version of python3-pil earlier than 2.6.1. > > Make sure TKINTER is done/included. in the text output. > > *Here for Development, I have Fedora 20 and Ubuntu 14.04 LTS and the > Banana Pi with SATA disk. > Bananian 3.0 is no-longer available, it is 3.1 and even if you install > Bananian 3.0 and do the > load of packages, pillow 2.6.1 is installed as it IS the current on the > Debian ARM repository. > > Michael DG0OPK and I have played with many versions. We have learned, > "f2py" needs to be replaced with > "f2py3" and in the ARM architecture the "-fPIC" compiler directive needs > to be used with "gcc" and "gfortran". Correct, f2py needs to be built with Python3. For distributions that are *not* multi-python (python2 + python3 ) capable, the name is normally "f2py" rather than f2py3 but not in all cases. Ubuntu *is* a multi-python distro, as such, python3-numpy builds produce f2py3.4 and symlink f2py3.4 to /usr/bin/f2py3. For distributions such as Arch and similar, if you install Python3 Numpy, the name is simply f2py, even though it was built with Python3. Regarding the compiler flags, if you have full set that works, we can look at updating configure.ac with some conditional configuration settings. At present, configure.ac has minimal support for armv6 and nothing set for v7. When I worked with Ross on his Raspbian project, we hit a similar wall on python3-pil as the package was not part of the distribution at all. Nothing else has been done since. > > Must run, wife calls. > > Alan VK2ZIW > > On Mon, 8 Dec 2014 00:26:36 +0000 (UTC), Greg Beam wrote* >> Hi Eric >> >> The problem is what I stated before, 2.3.0 v.s. 2.6.1. > python.pil.imagtk is a transitional or dummy package (it does not > provide any packages itself), it depends on python3-tk and python3-pil. > The problem is with python3-pil package, it is PIL v 2.6.1 >> >> Utopic: Ubuntu – Details of package python3-pil.imagetk in utopic > <http://packages.ubuntu.com/utopic/python3-pil.imagetk> >> Truty: Ubuntu – Details of package python3-pil.imagetk in trusty > <http://packages.ubuntu.com/trusty/python3-pil.imagetk> >> >> Utopic, at the moment, does not provide a backport for v2.3.0 which > WSPR and WSJT works with ( present in Trusty repos) but not 2.6.1 which > is the Utpoic package. I dont know of a v2.5.x seris package for Utopic > or Trusty. >> >> If you wnat WPSR or WSJT to work with Utopic (14.10), you'll need to > dive into the WSPR / WSJT Python code and bring it up to PIL v2.6.1 > requirements. >> >> The package system Alan is working with is based on Fedora if I > recall, not Ubuntu / Debian. You need to be mindful of this when > discusscing package versions and dependencies, as they can be very > different. >> >> 73's >> Greg, KI7MT >> > > > Alan > > Man's greatest waste of time: Worshipping the wrong God. > Consider Jesus. > --------------------------------------------------------------------------- > Alan Beard Unix Support Technician from 1984 to today > 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO OpenServer > 5.0.X > Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals > etc.. > +61 2 47353013 (h) Support Programming, shell scripting, "C", > assembler > 0414 353013 (mobile) After uni, electr -- 73's Greg, KI7MT ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel