| INSTALLATION: |
dependencies:
""""""""""""""""
FOR UBUNTU from 10.10 : All dependencies are available in the Ubuntu repositories.
- gcc, pkg-config, automake;
- libgtk-2.0-dev or libgtk-3.0-dev;
- libgstreamer0.10-dev or libgstreamer1.0-dev;
- libsdl2-dev or lidsdl1.2-dev;
- gstreamer1.0-plugins-base and gstreamer0.10-plugins-good at least for GSTREAMER1.0; gstreamer0.10-plugins-bad, gstreamer0.10-plugins-bad-multiverse, gstreamer0.10-plugins-ugly et gstreamer0.10-plugins-ugly-multiverse (for reading files such as mp3);
For JACK support :
- (optional) libjack-dev (for jack1) or libjack-jackd2-dev for jack2;
FOR OTHER DISTRIBUTIONS :
For the other distributions, the dependencies should be very similar.
compilation and installation :
"""""""""""""""""""""""""""""""""
1) in a terminal, go to the directory where the sources are; for example, if the source package is in the HOME directory :
$ cd ~/spectrum3d-<the-actual-version> (if the sources are in the "home" directory);
2) type :
$ ./configure
Libraries used by default are the latest : GTK 3, Gstreamer-1.0 ans SDL2. If not present, an older version of those will be searched. If you have both an older an d a newer version of GTK or SDL library installed and want the older version used, you can do this by typing :
$ ./configure --enable-gtk2
or
$ ./configure --disable-gtk3
for GTK 2 instead of GTK3
$ ./configure --enable-sdl
or
$ ./configure --disable-sdl2
for SDL 1 instead of SDL2
NOTE for JACK SUPPORT:
If Jack library is found, JACK support will be enabled. Both jack and jack2 are supported.However, jack support can be disabled by typing :
$ ./configure --disable-jack
You can combine several arguments. For example :
$ ./configure --disable-gtk3 --disable-jack
If you want Spectrum3d to be installed in another directory than the default one ('/usr/local/bin'), you can add it at 'configure' step according to the 'Autoconf' standards. For example :
$ ./configure --prefix=/usr
will install the executable 'spectrum3d' file in '/usr/bin' directory instead of '/usr/local/bin'.
3) type :
$ make
4) type :
$ sudo make install (the password will be necessary for this)
5) to completely remove Spectrum3d, type :
$ sudo make uninstall
Anonymous