Cheat sheet for installing Git version on Ubuntu 18.10
Added by John Lindgren over 11 years ago
Please note
These commands were tested working on a 64-bit Ubuntu 18.10 system. They may or may not work on other systems.
Dependencies:
sudo apt-get install git automake build-essential libadplug-dev libasound2-dev \ libavformat-dev libbinio-dev libbs2b-dev libcddb2-dev libcdio-cdda-dev \ libcue-dev libcurl4-gnutls-dev libdbus-glib-1-dev libfaad-dev libflac-dev \ libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libjack-jackd2-dev \ liblircclient-dev libmms-dev libmodplug-dev libmp3lame-dev libmpg123-dev \ libneon27-gnutls-dev libnotify-dev libopenmpt-dev libpulse-dev \ libsamplerate0-dev libsdl1.2-dev libsidplayfp-dev libsndfile1-dev libsoxr-dev \ libvorbis-dev libwavpack-dev libxml2-dev
First time installation:
git clone git://github.com/audacious-media-player/audacious.git audacious git clone git://github.com/audacious-media-player/audacious-plugins.git audacious-plugins cd audacious ./autogen.sh ./configure --prefix=/usr make -j4 sudo make -j4 install cd .. cd audacious-plugins ./autogen.sh ./configure --prefix=/usr make -j4 sudo make -j4 install cd .. sudo update-desktop-database sudo update-icon-caches /usr/share/icons/hicolor
Updating:
cd audacious sudo make -j4 uninstall git clean -fdx git pull ./autogen.sh ./configure --prefix=/usr make -j4 sudo make -j4 install cd .. cd audacious-plugins sudo make -j4 uninstall git clean -fdx git pull ./autogen.sh ./configure --prefix=/usr make -j4 sudo make -j4 install cd .. sudo update-desktop-database sudo update-icon-caches /usr/share/icons/hicolor
Replies (2)
RE: Cheat sheet for installing Git version on Ubuntu 14.04 - Added by Jim Turner about 9 years ago
Any ideas? (I have libmpg123-0, libmpg123-dev, mpg123, and mpg321 installed!)
Pbm. (I think) is that I have another experimental build under /usr/local/ which I do NOT want to remove or alter. From the output below, I think it's conflicting with the libaudcore from my current install in (/usr/LOCAL/include/). Is it possible to build and install this to /usr whilst keeping the other in /usr/local intact? If so, how?
... Successfully compiled Kss_Emu.cc (plugin). mpg123.cc:74:21: error: cannot declare variable 'aud_plugin_instance' to be of abstract type 'MPG123Plugin' EXPORT MPG123Plugin aud_plugin_instance; ^ mpg123.cc:45:7: note: because the following virtual functions are pure within 'MPG123Plugin': class MPG123Plugin : public InputPlugin ^ In file included from mpg123.cc:41:0: /usr/local/include/libaudcore/plugin.h:361:19: note: virtual Tuple InputPlugin::read_tuple(const char*, VFSFile&) virtual Tuple read_tuple (const char * filename, VFSFile & file) = 0; ^ Failed to compile mpg123.cc (plugin)! ../../buildsys.mk:413: recipe for target 'mpg123.plugin.o' failed make[5]: *** [mpg123.plugin.o] Error 1 ../../buildsys.mk:116: recipe for target 'all' failed make[4]: *** [all] Error 2 ../buildsys.mk:123: recipe for target 'mpg123' failed make[3]: *** [mpg123] Error 2 make[3]: *** Waiting for unfinished jobs.... Successfully compiled Kss_Scc_Apu.cc (plugin). ...
Regards,
Jim
RE: Cheat sheet for installing Git version on Ubuntu 18.10 - Added by Alejandro Parodi over 4 years ago
Hi guys, I need to compile Audacious with Address Sanitizer but I'm dealing with the following error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Failed to link libaudcore.so!
I'm compiling Audacious with the following command:
CXX=clang++-3.6 CXXFLAGS='-O1 -g -fsanitize=address -fno-omit-frame-pointer' ./configure --prefix=/usr ; make clean all