Hi Alan, I did a few more checks on your python3-numpy setup. That portion looks correct ( when using /usr/bin/f2py3.2 ). Specifying it's location with ./autogen .. .. .. should work:
Additional Info: command: /usr/bin/f2py3.2 --help-link ---------------- f2py_info: FOUND: sources = ['/usr/lib/python3/dist-packages/numpy/f2py/src/fortranobject.c'] include_dirs = ['/usr/lib/python3/dist-packages/numpy/f2py/src'] fftw_info: libraries fftw3 not found in /usr/local/lib libraries fftw3 not found in /usr/lib FOUND: libraries = ['fftw3'] library_dirs = ['/usr/lib/arm-linux-gnueabihf'] define_macros = [('SCIPY_FFTW3_H', None)] include_dirs = ['/usr/include'] ---------------- This also looks correct. ---------------- cat /usr/lib/python3/dist-packages/numpy/f2py/f2py2e.py .. .. ---------------- So, test this command: ./autogen.sh --with-f2py=/usr/bin/f2py3.2 --with-python3=/usr/bin/python3 That should work for your Numpy issues. The rest, particularly with the imaging packages, I can't help much further on. One last thing to note, in the generated Makefile, check that your lib directory is being pulled in correctly: -L/usr/lib/arm-linux-gnueabihf It looks ok in configure.ac 73's Greg, KI7MT On 12/19/2014 10:54 PM, ki7mt wrote: > Hi Alan, > > After a bit of poking around, I'm surprised you got as far as you did. > From the looks of things, I may be logged into the wrong box or something. > > Here is what I found thus far: > > * I could nto find a WSPR install directory /downloads/hamradio, they > were all listed as wsjt. 4336 was the latested labeled folder, and that > was definitely WSJT, not WSPR, so I don't know where WSPR is hiding. > > * python-numpy is installed (py2 build), that needs to be removed > > * python3-numpy is v1.6. Sice the shift to Python3, the oldest version > of Numpy that I've gotten to work, both Linux and Windows, is 1.8.0, > others may have different results. > > * Pip doesn't seem to be working correctly. ( pip-3.2 list ) should pull > the package list, but it doesn't seem to be working that way on your > box, I'm not sure what's up with that one. Maybe it's different on those > distro's. > > * you have (4) F2PY files in the /usr/bin directory: > -- /usr/bin/f2py <-- not sure if this is a py2 or py3 build. > -- /usr/bin/f2py2.6 > -- /usr/bin/f2py2.7 > -- /usr/bin/f2py3.2 > > * f2py3.2 is working from the command line. Both in terms of version > information and f2py -c --help-fcompiler. Adding it to the autogen > command, as I stated before, should pick this up. I tested 3 different > locations on my box, all passed, without having python3-numpy installed > from the Ubuntu repo's, I built it from source in each location. > > * Wheezy does not have any of the required python3-*imiging* packages: > python3-imaging* <-- Nil > python-imaging-tk* <-- Nil > python3-pil <-- Nil > python-pillow <-- Nil > > At least, not accessible from the command-line via apt or that I could find. > > PIL is the problem I spoke of when working with Ross on Debian Wheezy > with his RaspberryPi. Other than trying to build them from source ( not > fun ), I don't know of a work around for this, other than *maybe* a > backport from Jessie. > > * Gcc / gfortran is 4.6. I've not tested 4.6 on any of the WSJT apps. > Earliest I've tested, was 4.7 on WSJT-X. I'm not certain this is an > issue, but its a potential issue. > > * General Caution, installing packages using PIP is risky business, > especially on a Debian / Ubuntu distro outside of a virtualenv. If you > decide to go that route for dependencies, be prepared to back them out > or have issues. > > That's all I could find at the moment. > > 73's > Greg, KI7MT > > > On 12/19/2014 09:35 PM, Alan VK2ZIW wrote: >> Hi Joe and all, >> >> WSPR on ARM (Bananian 2013-12-02) crashed after 15 hours. >> >> Banana Pi Build notes: >> >> Wrote SD card, did: >> bananian-update >> bananian-config set root password etc.. >> Wanted GUI: >> apt-get install task-lxde-desktop >> Reboot, GUI came up. >> vi /etc/login.defs set UMASK 002 >> Add group tims, user alanb wsjtdev >> apt-cache pkgnames > apt1 >> apt-get install python3-dev python3-setuptools libtiff4-dev libjpeg8-dev >> zlib1g-dev \ >> liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk libfreetype6-dev >> subversion \ >> libfftw3-dev gfortran libsamplerate0-dev libportaudio2 portaudio19-dev >> autogen >> automake \ >> python3-pip python3-all-dev build-essential tightvncserver xrdp python3-tk >> python3-numpy >> >> # No f2py3 not found by "autogen.sh" and not in "pip3 search f2py" pulled >> binary from F21. But, was there called "/usr/bin/f2py3.2". >> >> Remote login. Is setup, same password etc.. >> >> Alan VK2ZIW >> >> >> >> On Fri, 19 Dec 2014 19:20:37 +0000, KI7MT wrote >>> Hi Alan, >>> >>> I'm not sure where FD 21 puts f2py, but Wheezy add it's to: >>> >>> /usr/bin/f2py3.2 >>> >>> Armel: https://packages.debian.org/wheezy/armel/python3- >>> numpy/filelist Armhf: >>> https://packages.debian.org/wheezy/armhf/python3-numpy/filelist >>> >>> I added a couple ac_arg_with statements to configure.ac. I can't log >>> into your box to test his, but, when you have time, try running >>> ./autogen.sh with: >>> >>> ./autogen.sh --with-f2py=<path-to-f2py> --with-python3=<path-to-python3> >>> >>> The path statements need to include the file name, so if your f2py file >>> name is f2py.py, the path would be something like: >>> >>> --with-f2py=/usr/bin/f2py.py or wherever you've installed it. >>> >>> As a side note, Debian Wheezy has python3-numpy, so I'm not sure why >>> you needed to copy it over from from Fedora. If at all possible, you >>> install python3-numpy form your Bananian (Wheezy) distro, which >>> should yield /usr/bin/f2py3.2. >>> >>> 73's >>> Greg, KI7MT >>> >>> On 12/19/2014 12:16, Alan VK2ZIW wrote: >>>> Hi Joe and all, >>>> >>>> Now running Bananian (wheezy) and apart from no "f2py3" which >>>> I copied from Fedora 21, "autogen.sh" didn't pickup the "no f2py3". >>>> WSPR SVN 4795 >>>> "top" >>>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND >> >>>> 12854 alanb 20 0 264m 90m 8212 S 4.0 10.4 2:15.13 python3 >> >>>> 6199 alanb 20 0 9776 7540 1828 S 1.0 0.8 0:36.95 Xvnc >>>> >>>> Hardware: Banana Pi >>>> O/S: Bananian 2014-12-04 (wheezy) >>>> >>>> No funny business, running on SD card. "dev" was done on SATA disk, where >>>> the WSJT binaries & python resides for the run test. >>>> >>>> We'll see after a long run. >>>> >>>> Alan VK2ZIW >>>> >>>> On Thu, 18 Dec 2014 22:08:43 -0500, Joe Taylor wrote >>>>> Alan -- >>>>> >>>>> For several years already the SVN repository has included two >>>>> lightweight WSPR tools: >>>>> >>>>> wspr0.exe >>>>> wspr_nogui.py >>>>> >>>>> If running on minimal hardware is a high-priority goal for you (or >>>>> for your balloonists, or ???) have you considered either of these? >>>>> >>>>> These programs have not received much attention of late, but should >>>>> be relatively easy to make functional and useful to play with. The >>>>> first one, in particular, is *extremely* lightweight. >>>>> >>>>> -- Joe, K1JT >>>>> >>>>> On 12/18/2014 1:54 PM, Alan VK2ZIW wrote: >>>>>> Yes Joe, >>>>>> >>>>>> We'll let you know what we find. >>>>>> >>>>>> And yes, I'm using ARMv7 hardware, because size of equipment >>>>>> and power are VERY important. >>>>>> >>>>>> How many hams in India could afford to run a 100W PC 24x7 >>>>>> for WSPR? >>>>>> >>>>>> That's $300 per year here in Australia. >>>>>> >>>>>> Can you fly a Windows x86 PC in a balloon? >>>>>> >>>>>> We MUST consider, as developers, the use or our products. >>>>>> >>>>>> BTW: I quite clearly specified the hardware and O/S with problems. >>>>>> >>>>>> 73 >>>>>> >>>>>> Alan VK2ZIW >>>>> >>>>> >> ------------------------------------------------------------------------------ >>>>> 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 >>>> >>>> >>>> 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 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>>> >>> >>> -- >>> 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 >> >> >> 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 >> >> >> ------------------------------------------------------------------------------ >> 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 >> > -- ------------------------------------------------------------- The worth of man in reveled in his attitude to ordinary things when he is not before the footlights. (cf John 1:36) Oswald Chambers ------------------------------------------------------------------------------ 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