Hi Richard, WSJT configure wont accept the --with-f2py line as written, as it's not been updated to do so, try using this for WSJT:
Assuming you have a 64bit Mint-17 installation: ./configure --with-portaudio-lib-dir=/usr/lib/x86_64-linux-gnu \ --with-portaudio-include-dir=/usr/include \ PYTHON=/usr/bin/python3.4 \ F2PY=/usr/bin/f2py3.4 Make sure you check the locations of the files first and ensure they are present before running it. Running: which python3.4 should return /usr/bin/python3.4 and f2py3.4 should also be in /usr/bin/ if you installed python3-numpy on Mint 17. 73's Greg, KI7MT On 06/23/2014 09:28 AM, RichardBown wrote: > On Mon, 23 Jun 2014 15:27:44 +0100 > RichardBown <[email protected]> wrote: > >> On Sun, 22 Jun 2014 14:06:49 -0600 >> ki7mt <[email protected]> wrote: >> >>> Hi Richard, >>> >>> The configure.ac script is quite old in WSJT, and needs to be >>> updated. >>> >>> You could add -fpic to your FFLAGS and CFLAGS in the generated >>> Makefile, for example: >>> >>> FFLAGS += -O2 -Wall -fbounds-check >>> -fno-second-underscore -Wno-conversion -Wno-character-truncation >>> -fPIC CFLAGS += -fPIC >>> >>> 73's >>> Greg, KI7MT >>> >>> >> Thanks >> After getting wsjt10 running on the laptop, I decided to update the >> machine in the shack to mint17 with a Mate DM, to avoid the old numpy >> dependency, and install wsjt10 rev4192 >> >> I used >> richard@g8jvm-shack ~/SDR/wsjt-r4192 $ ./configure >> --with-portaudio-lib-dir=/usr/lib/x86_64-linux-gnu/ >> --with-portaudio-include-dir=/usr/include --with-f2py=/usr/bin/f2py3.4 >> Above is all one line >> >> configure did not accept the --with-f2py bit at the end >> and running make gave this:_ >> python f2py.py -c -I. --fcompiler=gnu95 --f77exec=gfortran >> --f90exec=gfortran \ --opt="-cpp -fbounds-check -O2" >> -L/usr/lib/x86_64-linux-gnu/ -L/usr/local/lib >> -L/usr/lib/gcc/x86_64-linux-gnu/4.8/ \ -lpthread -lportaudio >> -lsamplerate -lfftw3f libjt.a -m Audio ftn_init.f90 ftn_quit.f90 \ >> audio_init.f90 spec.f90 getfile.f90 azdist0.f90 \ astro0.f90 >> chkt0.f90 python: can't open file 'f2py.py': [Errno 2] No such file >> or directory make: *** [WsjtMod/Audio.so] Error 2 >> >> This didn't occur when I compiled on the laptop last nite >> Looking at the source directory on the laptop I can't see a f2py.py , >> however , I can see it in earlier versions, and its in the archive >> directory in the wspr branch pulled last nite from svn. >> >> strange ??? >> >> So i created a new directory and copied all the files from the wsjt >> dir on the laptop to the machine upstairs , did a make clean and >> make, and it built. >> >> , I'll try a fresh svn pull and see what happens with that. >> >> > A fresh pull did exactly the same, > > BUT adding a symlink sudo ln -s /usr/bin/f2py3.4 /usr/bin/f2py > sorted it > :) > ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
