Project

General

Profile

How-to Compile & Install Audacious on openSUSE

Added by Jim Gravelle about 10 years ago

Hi,

The following is the procedure I followed on my openSUSE 12.3 64-bit platform (should work with most openSUSE versions):

A) If you already haven't, follow this guide to add the Packman repo(s): http://en.opensuse.org/Additional_package_repositories#Packman

B) Once you've added the Packman repo using the above guide, be sure to do the following:

  1. Open Yast2 / Software Management
  2. Click the View drop-down button and choose Repositories
  3. Click the new Packman repo you added from the above guide
  4. Over the right window, click the Switch system packages link
  5. Click the Accept button and install any new/updated packages auto-selected

C) Install the dependencies by running the following multi-line zypper command:

sudo zypper in automake gettext-runtime alsa-devel libbinio-devel libbs2b-devel \
libcddb-devel libcdio-devel libcue-devel libcurl-devel libdbus-c++-devel \
libfaad-devel flac-devel fluidsynth-devel Mesa-libGL-devel gtk3-devel \
libguess-devel libjack-devel lirc-devel libmms-devel libmodplug-devel \
libmp3lame-devel libmpg123-devel libneon-devel libnotify-devel libpulse-devel \
libsamplerate-devel libsdl-devel libsndfile-devel libvorbis-devel wavpack-devel \
libxml2-devel libcdaudio-devel libsidplay1-devel yasm ffmpeg gcc gcc-c++

D) Now download the latest version of Audacious and save the two archives in a working directory (i.e. "audacioustmp") from here: http://audacious-media-player.org/download

E) Extract the two archives with the command: tar xvjf audacious-filename.tar.bz2

F) Compile the main Audacious program with the following commands (replace '#.#.#' with the version number you downloaded):

cd audacious-#.#.#
./configure --prefix=/usr
make -j4

G) To install choose one of two options:

  1. Execute the command: sudo make -j4 install
  2. (or) Create your own RPM with the CheckInstall app using this command: sudo checkinstall -R --fstrans=no --pakdir=.

Personally I prefer the second option as it creates a RPM file you can use to install (and ultimately un-install) the app very easily. CheckInstall is a great app, easy to use, and is available in the standard openSUSE-Oss repo.

H) If you used option 2 in the last step, be sure to install the Audacious RPM before moving forward. (i.e. zypper in audacious-#.#.#.rpm)

I) Now compile the Audacious Plugins:

cd audacious-plugins-#.#.#
./configure --prefix=/usr
make -j4

J) Repeat step G (and if applicable H) above.

That about does it!

Let me know if you run into any issues.

Cheers,

Jim.


Replies (9)

RE: How-to Compile & Install Audacious on openSUSE - Added by Michael Schwendt about 10 years ago

libsidplay1-devel

Is libsidplayfp available for openSUSE yet? Then please switch to that one. libsidplay1 is ancient and insufficient for modern sidtune collection releases such as those from the HVSC.

RE: How-to Compile & Install Audacious on openSUSE - Added by Jim Gravelle about 10 years ago

Hi Michael,

Thanks for the info. I didn't have a SID sound file to test that plugin, so I just went with the default SID library. To answer your question: 'yes', the 'libsidplayfp' libraries are available on openSUSE. I've just tested my instructions above with the libsidplayfp-devel package in-place of libsidplay1-devel, and everything compiled/installed just fine.

So for anyone reading this, an update to Step C above:

C) Install the dependencies by running the following multi-line zypper command:

sudo zypper in automake gettext-runtime alsa-devel libbinio-devel libbs2b-devel \
libcddb-devel libcdio-devel libcue-devel libcurl-devel libdbus-c++-devel \
libfaad-devel flac-devel fluidsynth-devel Mesa-libGL-devel gtk3-devel \
libguess-devel libjack-devel lirc-devel libmms-devel libmodplug-devel \
libmp3lame-devel libmpg123-devel libneon-devel libnotify-devel libpulse-devel \
libsamplerate-devel libsdl-devel libsndfile-devel libvorbis-devel wavpack-devel \
libxml2-devel libcdaudio-devel libsidplayfp-devel yasm ffmpeg gcc gcc-c++

Cheers,

Jim.

RE: How-to Compile & Install Audacious on openSUSE - Added by Tobi B almost 10 years ago

Hi!
I tried to compile and install Audacious 3.5 and I ran into an issue which is somehow annoying although it does not affect the way I use Audacious ;-)

It fails to compile the mms.c telling me

Entering directory mms.
mms.c:24:18: fatal error: glib.h: Datei oder Verzeichnis nicht gefunden ("File or directory not found")
#include <glib.h>
^
compilation terminated.

I know for sure that I have glib.h installed on my system, for other code depending on it is compiling without error. Even reinstalling glib.h via Yast or Zypper does not solve this. This error did not occur in previous versions of Audacious.

RE: How-to Compile & Install Audacious on openSUSE - Added by Howard Moreland almost 10 years ago

Tobi B wrote:

It fails to compile the mms.c telling me

Entering directory mms.
mms.c:24:18: fatal error: glib.h: Datei oder Verzeichnis nicht gefunden ("File or directory not found")
#include <glib.h>
^
compilation terminated.

I had the same problem trying to compile Audacious 3.5 on openSUSE 13.1 KDE 32-bit. Error is:

mms.c:24:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.
Failed to compile mms.c (plugin)!
make[5]: *** [mms.plugin.o] Error 1
make[4]: *** [all] Error 2
make[3]: *** [mms] Error 2

glib.h is at /usr/include/glib-2.0/glib.h

Any command option to use to get around this?
Thanks,
Howard

RE: How-to Compile & Install Audacious on openSUSE - Added by Howard Moreland almost 10 years ago

Wow, I'm in new territory here. I modified the makefile based on your link above, The "make -j4" command now completes without error.
Many thanks,
Howard

RE: How-to Compile & Install Audacious on openSUSE - Added by Howard Moreland over 9 years ago

An RPM fails to create with Audacious 3.5.1 on openSUSE 13.1 KDE 32-bit when doing step G2 in the initial post. I do as stated

@G) To install choose one of two options:

1. Execute the command: sudo make -j4 install
2.(or) Create your own RPM with the CheckInstall app using this command: sudo checkinstall -R --fstrans=no --pakdir=.@

but the process fails. Log file is:

@Building target platforms: i386
Building for target i386
Processing files: audacious-3.5.1-1.i386
error: Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudcore.so.2
error: Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudcore.so
error: Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudgui.so
error: Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudtag.so
error: Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudtag.so.1
error: Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudgui.so.2

RPM build errors:
Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudcore.so.2
Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudcore.so
Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudgui.so
Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudtag.so
Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudtag.so.1
Not a directory: /var/tmp/tmp.J7KmgEw7he/package/usr/lib/libaudgui.so.2
/var/tmp/tmp.J7KmgEw7he/rpmbuild.log (END)@

Is there a workaround for this?
Thanks,
Howard

RE: How-to Compile & Install Audacious on openSUSE - Added by Howard Moreland over 9 years ago

The configure step failed for audacious-plugins 3.5.2 in openSUSE 13.2 KDE 32-bit. (Audacious 3.5.2 compiled and installed OK.)

./configure --prefix=/usr

ended with
checking for FFMPEG... no
configure: error: FFmpeg is not installed or too old (required: libavcodec 53.40.0, libavformat 53.21.0, libavutil 51.27.0). Use --with-ffmpeg=none to disable the ffaudio plugin or --with-ffmpeg=libav to use libav instead.

ffmpeg 2.3.3-1.4 is installed. openSUSE 13.2 provides libavcodec55, libavformat55, and libavutil52; all newer than the stated requirements.

How can I get this to compile?

Thanks,
Howard

RE: How-to Compile & Install Audacious on openSUSE - Added by Howard Moreland over 9 years ago

The failure of the configure step for audacious-plugins 3.5.2 also occurred in openSUSE 13.1 KDE 32-bit. (Again, Audacious 3.5.2 compiled and installed OK.)

./configure --prefix=/usr

ended with
checking for FFMPEG... no
configure: error: FFmpeg is not installed or too old (required: libavcodec 53.40.0, libavformat 53.21.0, libavutil 51.27.0). Use --with-ffmpeg=none to disable the ffaudio plugin or --with-ffmpeg=libav to use libav instead.

ffmpeg 2.3.3-1.4 is installed. openSUSE 13.1 provides libavcodec52 and 55, libavformat52 and 55, and libavutil50 and 52; the latter version of each is newer than the stated requirements.

How can I get this to compile?

Thanks,
Howard

    (1-9/9)