That what I use in my scripts, as the WSJT autotools / m4 macros need a bit of updating.
For Debian/Ubuntu based distros: For x86 ./configure \ --with-portaudio-lib-dir=/usr/lib/i386-linux-gnu \ --with-portaudio-include-dir=/usr/include \ PYTHON=/usr/bin/python3 \ F2PY=/usr/bin/f2py3 For x86_64 ./configure \ --with-portaudio-lib-dir=/usr/lib/x86_64-linux-gnu \ --with-portaudio-include-dir=/usr/include \ PYTHON=/usr/bin/python3 \ F2PY=/usr/bin/f2py3 That should prevent any need to manually edit the Makefile. Be aware, the default install --prefix is /usr/local. If a different install location is desired, the user should add --prefix="" as desired. More than likely, the PObjext error was result of having python-numpy (python-2.7.x version) installed and not specifying the which F2PY to use at configure time. I removed my Linux Mint 17.1 install, but If need be I can simply add it to a partition do some testing. I do know, WSJT, WSPR and WSJT-X all worked properly Linux Mint 17.1 the last time I tested it, which was a couple months back. 73's Greg, KI7MT On 08/29/2015 05:35 AM, Bill Somerville wrote: > On 29/08/2015 12:19, Richard Bown wrote: >> Edit the Makefile >> >> change the python and f2py lines to this:- >> # WSJT specific Fortran flags >> FFLAGS += -O2 -fbounds-check -fno-second-underscore -Wall >> -Wno-conversion -Wno-character-truncation >> CFLAGS += -I. -DBIGSYM -DHAVE_STRUCT_TIMESPEC -fPIC >> >> PYTHON ?= /usr/bin/python3 <<<<< >> F2PY ?= /usr/bin/f2py3.4 <<<<< >> >> run make > There should be no need to change the Makefile directly. Makefile > variables can be overridden from the make command line: > > $ make PYTHON=/usr/bin/python3 F2PY=/usr/bin/f2py3.4 > > I am no expert in WSJT building so even this my not be necessary but if > it is then this is the safest way to do it. > > 73 > Bill > G4WJS. ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
