How to compile and execute COBOL on Linux
I love this! Because COBOL was a bread and butter language for me (i.e. so no learning curve)
Thanks Joe!
Wayno
Wayno’s sojourn and solutions through Linux
28
Feb
How to compile and execute COBOL on Linux
I love this! Because COBOL was a bread and butter language for me (i.e. so no learning curve)
Thanks Joe!
Wayno
16
Feb
THESE ARE INSTALL DIRECTIONS FOR UBUNTU/DEBIAN BASED SYSTEMS
The original post works, but it could use a little enhancement so I’ll try to break it down for those that have never compiled source code on Linux before.
Please note that if you see a # in the code below, that’s a comment. You DO NOT code the # or anything after that!
1. So the first thing we will do is go to our home directory.
Open a terminal window and type:
cd ~
Then:
sudo add-apt-repository ppa:anonbeat/guayadeque
sudo apt-get update
sudo apt-get install guayadeque-svn
2. Now we are going to install all the programmes needed to compile guayadeque.
NOTE THE BACK SLASHES AT THE END OF THE LINE! There are no spaces after them, no tabs, just an “enter” key. You can cut/paste this line if you want. The \ is the Linux continuation character, and this is done for readability sake.
sudo apt-get install subversion build-essential cmake \
libwxgtk2.8-dev libtagc0-dev libsqlite3-dev libcurl4-openssl-dev \
libdbus-1-dev libgstreamer0.10-dev libflac-dev
This will take awhile, so relax!
Whew! you will get back a line that looks like this:
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
3. Okay now we will get the source code, with a command called “svn” — the subversion command line tool (source code control).
svn co http://guayadeque.svn.sourceforge.net/svnroot/guayadeque/Trunk guayadeque
You should get back something that looks like this:
Checked out revision 664.
(or whatever the latest source version is)
ADDENDUM: if you want to update and install a NEWer version, then cd to the guayadeque subdir and then
svn update
4. Let’s go to the guayadeque directory!
cd guayadeque
5. How are you doing? Now we’re ready to compile the source code. GULP!
Note the ./ at the beginning of the line. They are important!
./build
You’ll see output that looks like this:
– The C compiler identification is GNU
– The CXX compiler identification is GNU
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc — works
– Detecting C compiler ABI info
– Detecting C compiler ABI info – done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ — works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info – done
– Using install prefix /usr …
– Found wxWidgets: TRUE
– checking for module ‘gstreamer-0.10′
– found gstreamer-0.10, version 0.10.25
– checking for module ‘sqlite3′
– found sqlite3, version 3.6.16
– checking for module ‘libcurl’
– found libcurl, version 7.19.5
– checking for module ‘taglib’
– found taglib, version 1.6.0
– checking for module ‘dbus-1′
– found dbus-1, version 1.2.16
– checking for module ‘flac’
– found flac, version 1.2.1
– Configuring done
– Generating done
– Build files have been written to: /home/nwayno/guayadeque
[ 96%] Built target guayadeque
[ 97%] Built target guayadeque.es.mo
[ 98%] Built target guayadeque.uk.mo
[100%] Built target guayadeque.it.mo
6. Still there? We’re ready to install! We do that by:
sudo make install
You’ll get output that looks like this:
[ 96%] Built target guayadeque
[ 97%] Built target guayadeque.es.mo
[ 98%] Built target guayadeque.uk.mo
[100%] Built target guayadeque.it.mo
Install the project…
– Install configuration: “”
—-
Now if you go to Applications/Sound and Video
the Guayadeque Music Player, should be there!
Enjoy –
Thanks Jose & Loni!
PKILL-9
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||