Compiling MAP-65 under linux

336 views
Skip to first unread message

Patrick DUPRE

unread,
Oct 4, 2011, 2:54:56 PM10/4/11
to linrad
Hi All,

To get MAP-65 running under linux, I try to setup everything from scratch to do a kind of Howto that could help anyone who want to have MAP-65 running under linux.

The first try I made is with Ubuntu 11.04. I am not an expert with it , but it is often used. Installation is made from a live CD so I hope to get as few packages installed (it is faster and avoid many useless packages !)
After installation, I do an update of all packages to get the latest version of everything.

The first thing to do is to install the requested packages. The list is on Joe's website. I use synaptic (Application->System) to add the requested packages :

Subversion            - this package let you download the very latest version of MAP65.
Python2.5-dev       - problems starts here : ubuntu 11.04 install Python 2.7 so I use Python2.7-dev instead, I hope that there is a backward compatibility here
Python-numpy       - ok
Python-Imaging-tk  - ok
Python-pmw          - ok
Libportaudio2         - already installed by Ubuntu
libportaudio-dev     - ok
libsamplerate0-dev - ok

Now, we need G95, but this package is not availlable with synaptic. Ubuntu has gfortran but I do not know if it is possible to compile MAP-65 with it or not (Any idea ?).   I do not remember very well, but I think that we had some issues about using gfortran.

G95 sources are availlable on their website , sources are available and even some debian package. Perhaps I could use these...

Very 73


Patrick, F1EBK


Joe Taylor

unread,
Oct 4, 2011, 9:14:38 PM10/4/11
to lin...@googlegroups.com
F1EBK wrote:

> Now, we need G95, but this package is not availlable with synaptic. Ubuntu
> has gfortran but I do not know if it is possible to compile MAP-65 with it
> or not (Any idea ?). I do not remember very well, but I think that we had
> some issues about using gfortran.
>

> G95 sources are availlable on their website<http://www.g95.org/>, sources


> are available and even some debian package. Perhaps I could use these...

MAP65 can be compiled equally well with g95 or gfortran.

-- Joe, K1JT

Patrick DUPRE

unread,
Oct 5, 2011, 2:03:37 PM10/5/11
to lin...@googlegroups.com

Hi All,

Comming back with my attempt to compile MAP-65 under Ubuntu 11.04 :

As Joe said I could use G95 or Gfortran, I think it's easier to use Gfortran as it can be installed using synaptic. It is easier, so I'll try this !

So after installing Gfortran, I get the latest sources using the command in a terminal :

svn co http://svn.berlios.de/svnroot/repos/wsjt/branches/map65

the answer is : rev. 2457 extracted ( or it's french translation !)

As SVN creates a subdirectory called map65, the command can be send from the user directory.

Now comes the first attempt to compile MAP-65. The downloaded files includes a file called configure, so I try the classic './configure' and I received 2 errors :

- missing fftw3 package ( I saw this error earlier but did not try to fix it )
- MAP-65 need also portaudio19

Using synaptic, I could identify 2 packages called : libfftw3-3 and libfftw3-dev I do not know if there where both usefull , so I installed both of them !
Again with synaptic, I found portaudio19-dev and portaudio19-doc . The second is a doc file so not usefull to compile, but some doc is never bad to have : I installed both of them !

second attempt to do the ./configure . This times it is successfull as it ends with  :

------------------Quote ---------------
configure: creating ./config.status
config.status: creating Makefile


Using gfortran as fortran compiler.

Compiling map65 0.9

Installing into: /usr/local/


---------------Unquote---------------
Compiling map65 0.9  is a bit strange, but I am trying to compile it, not to have the latest version.
installing in /usr/local/ should give me a new directory where the sources are used for effective compile. I did not find any ...
Maybe, I should have do the ./configure with sudo ??? Or have I done anything wrong ???

So I decided to ignore this problem and moved to the next step : the Makefile
make gives the following error :
No rule to build deep65.F needed for deep65.o stop  (again in french!)

So I stop here, too many errors, I need some advice ! But I feel really close to it !

Very 73

Patrick, F1EBK


Joe Taylor

unread,
Oct 6, 2011, 2:03:54 PM10/6/11
to lin...@googlegroups.com
Hi Patrick,

F1EBK wrote:
> So after installing Gfortran, I get the latest sources using the command
> in a terminal :
>
> svn co http://svn.berlios.de/svnroot/repos/wsjt/branches/map65

You should no longer use the Belios repository, it is being phased out.

The commend to check out MAP65 source from the new WSJT repository at
SourceForge is:

svn co https://svn.code.sf.net/p/wsjt/code/branches/map65

You will need to have registered at SourceForge so that you have a
SourceForge username.

To compile MAP65:

$ ./configure
$ make

To run MAP65:

$ python map65.py

-- 73, Joe, K1JT

Patrick DUPRE

unread,
Oct 6, 2011, 5:34:05 PM10/6/11
to lin...@googlegroups.com

Hi Joe and All,

Too bad, I posted just the day you moved you repisitory... Anyway someone reading the whole topic will find the right command.

I'll try it tomorrow, and see if it solves the problem during the 'make'. I'll post feedback for sure.

Very 73

Patrick, F1EBK
 


Patrick DUPRE

unread,
Oct 9, 2011, 1:50:14 PM10/9/11
to lin...@googlegroups.com
Hi all,

New try to compile MAP65 under Ubuntu :

I downloaded map65 from the new repository, I get R2495 so this should include Joe's latest work !

Compiling with superuser rights completes with no errors (only warnings).

As Joe said, MAP65 is started with the command : python map65.py

...and you get the very last version of map65 running on Ubuntu.

Now, I'll try to connect it with linrad for full linux system !

Thank you Joe for your help.

Very 73

Patrick


Patrick DUPRE

unread,
Oct 12, 2011, 11:57:27 AM10/12/11
to lin...@googlegroups.com
Hi All,

Compiling MAP65 on an Ubuntu 11.04 is straightforward, we can easily make MAP65 run on an Ubuntu system.

I gave a try with Fedora to do the same, but things are more complicated there :

Some packages have different names with this distrib. I did not find any python-numpy package, but I found a numpy-1:1-4.1-6_fc14 (not sure if it will fit ...).

Another problem is that the libttfw3 package is unknown in the Fedora repository. So I think that we have to compile it for the Fedora. At this time, I stopped there as things becomes more and more difficult.

Some of us marked their interest in compiling map65 under Linux, I had no query for Fedora as a specific distribution, so at this moment i'll assume that Ubuntu can be ok for all !

If you want to compile map65 under Fedora, let me know, and I'll resume my test to do so.

Very 73

Patrick, F1EBK

Patrick DUPRE

unread,
Oct 24, 2011, 10:14:00 AM10/24/11
to lin...@googlegroups.com
Hi All,

I do not know if any of you tried to compile MAP65 under LINUX, or better to say under Ubuntu...

Now, I can compile the latest version from JOE's repository. I am aware that some versions may not behave properly. But until now I never decoded any signal from MAP65 running under Ubuntu.

I am still using Ubuntu 11.04 and I compile MAP65 with :

./configure (with no option as I did not find any good in adding options)
make 
then I can start map65 with :
python map65.py

Map65 will remain active with no error until I send data via the network.
If I do so, map-65 gives a segmentation fault at the end of the decoding process with no more information...

I sent 16 bits datas or floating point, the result is the same.

Today, I tried to decode some files recorded with a map65 running under XP during the ARRL EME, but I still get the same error.

I tried to compile map65 under the very latest UBUNTU (11.10) but got an error saying that map65 could not write after end of file in the ALL65.TXT file. So I did not upgrade my Ubuntu yet.

It would be great to exchange informations about compiling, and running map65 under Linux, but I do not know where to do this... The Linrad reflector may not be the best place to do this, but I do not know where I could share informations about this ... Should we create another reflector ?

Very 73

Patrick, F1EBK


Patrick DUPRE

unread,
Oct 29, 2011, 10:47:35 AM10/29/11
to lin...@googlegroups.com
Hi All,

Good news, today, I downloaded the latest version of MAP65 after several days without any try. This is revision 22.

Compiling as usual, I can start map65. At this time, I cannot get data from the network, but I have several files recorded during the ARRL EME. During the decode process I have these errors :

sh: kvasd_g95: not found
Error in KV decoder, or no KV decoder present.
Return code:   32512.  Will use BM algorithm.
sh: kvasd_g95: not found

Then I have several lines of :

sh: kvasd_g95: not found


But the program decode the contents of the files in all windows (Main window, Message window, and Band plan).

I'll try to decode signals from the network as soon as possible !

I do not know if I made something wrong with the KV decoder, but it looks likes it works fine.

Thank you Joe !

Very 73

Patrick, F1EBK

Joe Taylor

unread,
Oct 29, 2011, 11:54:19 AM10/29/11
to lin...@googlegroups.com
Hi Patrick,

F1EBK wrote:
> Good news, today, I downloaded the latest version of MAP65 after several
> days without any try. This is revision 22.
>
> Compiling as usual, I can start map65. At this time, I cannot get data from
> the network, but I have several files recorded during the ARRL EME. During
> the decode process I have these errors :
>
> sh: kvasd_g95: not found
> Error in KV decoder, or no KV decoder present.
> Return code: 32512. Will use BM algorithm.
> sh: kvasd_g95: not found

Obviously you must find out why kvasd_g95 was now found during your
execution of

$ python map65.py

Program kvasd_g95 is a compiled version of the Koetter-Vardy algebraic
soft-decision Reed Solomon decoder. It must be present and executable
in the directory from which you run MAP65. It is part of the svn
distribution of code for MAP65.

-- Joe, K1JT

F1TE

unread,
Oct 29, 2011, 12:10:23 PM10/29/11
to lin...@googlegroups.com
Place le module KVASD_g95 dans /usr/sbin
 
C’est un secret semble-t-il bien gardé.
 
73, Lucien F1TE

Patrick DUPRE

unread,
Nov 6, 2011, 11:23:57 AM11/6/11
to lin...@googlegroups.com
Hi Joe and all,

With version 26, I cannot compile as I have this error :

gfortran -o m65 m65.o ftn_init.o ftn_quit.o decode1.o wsjtgen.o rfile.o rfile3a.o spec.o map65a.o display.o getfile2.o symspec.o sec_midn.o getdphi.o cs_stubs.o msgtrim.o indexx.o gen65.o chkmsg.o gentone.o gencwid.o set.o db.o pctile.o sort.o ssort.o avemsg65.o demod64a.o encode65.o extract.o getpfx1.o getpfx2.o graycode.o grid2k.o interleave63.o k2grid.o morse.o nchar.o packcall.o packgrid.o packmsg.o packtext.o setup65.o unpackcall.o unpackgrid.o unpackmsg.o unpacktext.o astro.o azdist.o coord.o dcoord.o deg2grid.o dot.o ftsky.o geocentric.o GeoDist.o grid2deg.o moon2.o MoonDop.o sun.o toxyz.o pfxdump.o ccf65.o trimlist.o chkhist.o decode1a.o fil6521.o twkfreq.o decode65b.o afc65b.o fchisq.o ccf2.o four2a.o filbig.o savetf2.o ptt_unix.o igray.o wrapkarn.o cutil.o init_rs.o encode_rs.o decode_rs.o plrr_subs.o deep65.o -lfftw3f
ftn_init.o: In function `ftn_init':
/home/f1ebk/Map-65/map65/ftn_init.f90:89: undefined reference to `import_wisdom_from_file_'
collect2: ld returned 1 exit status
make: *** [m65] Erreur 1




I never found the kvasd problem :
- kvad_g95 has eXec attribute set, and is in local directory
- I added a path ti the local directory with no luck
- I put kvasd_g95 in /usr/bin with no luck
- I am compiling map65 in the user space (as you can see in the error above), and wonder if I should have compile from /usr/local ...

At the end of the ./configure, it says installing into /usr/local, but I keep doing the make from user space, am I wrong with this ?

Very 73

Patrick


Joe Taylor

unread,
Nov 6, 2011, 2:28:49 PM11/6/11
to lin...@googlegroups.com
Patrick DUPRE wrote:
> Hi Joe and all,

> With version 26, I cannot compile as I have this error :

> ...

MAP65 v1.2 r26 is not a released version.

At any particular time you might find that the HEAD of the SVN
repository will not compile on your system.

Please remember that the repository is for development purposes! When
there is a good reason to have the latest code running on your system, I
will make some announcement.

-- 73, Joe, K1JT

Patrick DUPRE

unread,
Nov 6, 2011, 2:31:18 PM11/6/11
to lin...@googlegroups.com
Hi Joe,

That was only to help. I know very well, that some version may not be functional.

Thanks for working again on map-65.


Very 73

Patrick


Patrick DUPRE

unread,
Nov 8, 2011, 12:27:06 PM11/8/11
to lin...@googlegroups.com
Hi All,

For those compiling map65 under Linux, you download the sources with the command :

svn co https://map65.svn.sourceforge.net/svnroot/map65


These are the sources used by the development team, so they may not be functional. When there is a release, Joe put a link of his website to download the .exe file for windows. But we cannot get the sources from there.

If you want, I can keep the sources of the latest release on my server. This may help those who start, or want to upgrade to the latest release. Joe, tell me if you want me to do that ...

Very 73

Patrick, F1EBK

Joe Taylor

unread,
Nov 8, 2011, 1:17:11 PM11/8/11
to lin...@googlegroups.com
Patrick --

There is no need to do what you have suggested.

The whole point of a repository system like SVN is that at any time you
can obtain any past revision of the source code. For example, to obtain
r22 of the source code for MAP65, execute the command

svn co -r22 https://map65.svn.sourceforge.net/svnroot/map65

-- Joe, K1JT

Patrick DUPRE

unread,
Nov 8, 2011, 1:46:00 PM11/8/11
to lin...@googlegroups.com
Hi Joe and all,

I never imagined that we could do that ! Anyway, I am still leaning with you !

Very 73

Patrick, F1EBK

Patrick DUPRE

unread,
Nov 27, 2011, 2:49:48 PM11/27/11
to lin...@googlegroups.com
Hi All,

I managed to compile and run MAP65 on a Fedora-14 distribution. My main problem with Fedora is that the package name looks like ... different ! So for any problem, I had to find the right package to install. As I did many attempts, I may have some missing information, but if you find any problem running MAP65 under Fedora-14, let me know, I'll be glad to help.

First of all, I am not using Fedora-15 or the brand new Fedora-16, as their fortran compiler do not accept some programming techniques used in MAP65. So, It's easier to use Fedora-14 for a first go on MAP65 under Fedora ...

Second, I think that it would be better to use 32bits distribution as we have an issue with the KVASD module on 64bits systems. This will be fixed in the future, but today, MAP65 cannot be used on 64 bits systems.

I use yumex as a graphical interface to add the requested packages. I think you can use yum to do the same in text mode, the dependencies should be the same. As usual, I started for a brand new installation of Fedora-14. Here is the list of the requested packages :

subversion
python
numpy
python-imaging-tk
python-pmw
portaudio
portaudio-devel
libsamplerate-devel
gcc-gfortran
fftw
fftw-devel


Then, you need the latest released sources (Today, this is r.22), so we get them with the command :

svn co -r22 https://map65.svn.sourceforge.net/svnroot/map65

Now, we can compile them with the commands (with normal user rights) :

./configure
make

Before starting MAP65, it would be a good idea to add the map65 directory to the PATH variable. It can be done with :

export PATH=$PATH:<complete path to your map65 directory>

Last thing to do is to start MAP65 with this command :

python map65.py

I did not much decode yet with Fedora, but managed to decode the GB3VHF beacon on 144.430MHz.
Hope this will help.

Very 73

Patrick, F1EBK




F6JIG

unread,
Nov 29, 2011, 7:45:30 PM11/29/11
to Linrad
Hi Patrick and all
To improve the exploration on running Map65 on Linux distribution,
i've install it on Debian 6.03 , Unbuntu 11.10 and Fedora 16.
i've found the same problem regarding the names of the packages.
So i give you the details of the packages by distribution and kernel
used.

Debian 6.03
Kernel Linux 2.6.32-5-686

Necessary Packages:

libfftw3-3 3.2.2-1
libfftw3-dev 3.2.2-1
subversion 1.6.12dfsg-6
python-imaging-tk 1.1.7-2
python-numpy 1:1.4.1-5
python-pmw 1.3.2-5
python2.6 2.6.6-8+b1
python2.6-dev 2.6.6-8+b1
libportaudio2 19+svn20071022-3.2
libsamplerate0-dev 0.1.7-3
gfortran
4:4.4.5-1
portaudio19-dev 19+svn20071022-3.2


FEDORA 16
Kernel Linux 3.1.2-1.fc16.i686.PA

Necessary Packages:

subversion-1.6.17-5.fc16.i686
python-devel-2.7.2-5.2.fc16.i686
python-imaging-tk-1.1.7-4.fc16.i686
python-pmw-1.3.2-11.fc15.noarch
python-2.7.2-5.2.fc16.i686
fftw-devel-3.3-3.fc16.i686
fftw-3.3-3.fc16.i686
portaudio-19-12.fc16.i686
portaudio-devel-19-12.fc16.i686
numpy-1.6.0-2.1.fc16.i686
libsamplerate-devel-0.1.8-1.fc16.i686
gcc-gfortran-4.6.2-1.fc16.i686


UBUNTU 11.10
Kernel Linux 3.0.0-13-generic

Necessary Packages:

subversion 1.6.12dfsg-4ubuntu5
python2.7 2.7.2-5ubuntu1
python2.7-dev 2.7.2-5ubuntu1
python-pmw 1.3.2-6
python-imaging-tk 1.1.7-3ubuntu1
python-numpy 1:1.5.1-2ubuntu2
libfftw3-3 3.2.2-1ubuntu2
libfftw3-dev 3.2.2-1ubuntu2
libsamplerate0-dev 0.1.7-3ubuntu1
portaudio19-dev 19+svn20110326-2
libportaudio2 19+svn20110326-2
gfortran 4:4.6.1-2ubuntu5

Normally with these packages we will be able to compile Map65 (./
configure and Make).
But using the new version of gfortran it generate an error on
decode1.f90 file line 79 (sequential read or write not allowed after
EOF marker,possibility use REWIND or BACKSPACE) when running Map65
i have with Sebastien modified the program by using REWIND 21 or
BACKSPACE 21 on line 79 before WRITE (21,1001).
After a make clean , ./configure,make and python map65.py the program
run correctly.
But when i try to read tf2 file for testing, Map65 crash with same
error in other file.
It seem that it's necessary to modify the code in many other files to
be sure that Map65 will be able to run correctly.
I send my request to Joe who is able to solve our problem quickly.

Thanks for reading
73
Raymond, F6JIG

On Nov 27, 8:49 pm, Patrick DUPRE <fc1...@gmail.com> wrote:
> Hi All,
>
> I managed to compile and run MAP65 on a Fedora-14 distribution. My main
> problem with Fedora is that the package name looks like ... different ! So
> for any problem, I had to find the right package to install. As I did many
> attempts, I may have some missing information, but if you find any problem
> running MAP65 under Fedora-14, let me know, I'll be glad to help.
>
> First of all, I am not using Fedora-15 or the brand new Fedora-16, as their
> fortran compiler do not accept some programming techniques used in MAP65.
> So, It's easier to use Fedora-14 for a first go on MAP65 under Fedora ...
>
> Second, I think that it would be better to use 32bits distribution as we
> have an issue with the KVASD module on 64bits systems. This will be fixed
> in the future, but today, MAP65 cannot be used on 64 bits systems.
>

> I use *yumex* as a graphical interface to add the requested packages. I


> think you can use yum to do the same in text mode, the dependencies should
> be the same. As usual, I started for a brand new installation of Fedora-14.
> Here is the list of the requested packages :
>
> subversion
> python
> numpy
> python-imaging-tk
> python-pmw
> portaudio
> portaudio-devel
> libsamplerate-devel
> gcc-gfortran
> fftw
> fftw-devel
>
> Then, you need the latest released sources (Today, this is r.22), so we get
> them with the command :
>

> svn co -r22https://map65.svn.sourceforge.net/svnroot/map65

F4GRX

unread,
Nov 30, 2011, 1:57:11 AM11/30/11
to lin...@googlegroups.com
Hi Friends,

I've been working with Raymond F6JIG and Patrick F1EBK on map65 compilation.

I'll follow up today on this fortran runtime problem on the wsjt-devel
mailing list (or is it not used anymore?)

Regards
Sebastien, F4GRX

KC7NOA

unread,
May 18, 2015, 10:36:29 PM5/18/15
to lin...@googlegroups.com
Can Map65 still be compiled on Ubuntu (14.01 ?)
Reply all
Reply to author
Forward
0 new messages