Project

General

Profile

Recent git commit broke build

Added by Anonymous over 11 years ago

I think this commit broke my audacious building:
https://github.com/audacious-media-player/audacious-plugins/commit/4b0861ae1ebf41ff1f9e0953bc007d536fcc4d34

I'm on Debian sid 64-bit and the following error doesn't make any sense. I disabled the OSD plugin, so why do I need the headers to build one of its subfeatures?

*** Audacious OSD plugin disabled per user request ***
configure: error: Cannot enable X Composite support for Audacious OSD plugin which is disabled

So adding the --disable-aosd-xcomp flag allows me to workaround the error, but now I'm stuck with another:

checking for GLIB214... yes
./configure: line 14213: syntax error near unexpected token `plugindir,'
./configure: line 14213: `PKG_CHECK_VAR(plugindir, audacious, plugin_dir, , AC_MSG_ERROR([Cannot retrieve plugin_dir pkgconfig variable]))'

Here is the script I use to build audacious:

cd /opt/audacious
make distclean
git pull
./autogen.sh
./configure --prefix=/usr/local
make && make install
ldconfig
cd /opt/audacious-plugins
make distclean
git pull
./autogen.sh
./configure --prefix=/usr/local --disable-mpris2 --disable-pulse --disable-amidiplug --disable-xsf --disable-psf --disable-gnomeshortcuts --disable-console --disable-jack --disable-sid --disable-oss4 --disable-sdlout --disable-modplug --disable-scrobbler --disable-filewriter --disable-skins --disable-scrobbler2 --disable-aosd --disable-aosd-xcomp --disable-statusicon --disable-songchange --disable-lirc --disable-cdaudio
make && make install

If you need a full build log, let me know, but there's nothing out of the ordinary until I hit those errors.


Replies (7)

RE: Recent git commit broke build - Added by Michael Schwendt over 11 years ago

If you run "autoreconf -f" instead of "./autogen.sh" for audacious-plugins, what do you get?

RE: Recent git commit broke build - Added by Anonymous over 11 years ago

If you run "autoreconf -f" instead of "./autogen.sh" for audacious-plugins, what do you get?

I get errors, and they lead me to believe I need a newer version of pkg-config than what Debian offers (0.26) since PKG_CHECK_VAR is a more recent addition to pkg-config.

# autoreconf -f
configure.ac:556: warning: macro `AM_PATH_SIDPLAY' not found in library
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
configure.ac:33: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:556: error: possibly undefined macro: AM_PATH_SIDPLAY
configure.ac:1052: error: possibly undefined macro: PKG_CHECK_VAR
autoreconf: /usr/bin/autoconf failed with exit status: 1

RE: Recent git commit broke build - Added by Michael Schwendt over 11 years ago

Exactly. That's what I've thought, too, because it's not included with pkgconfig 0.27 either (Fedora 19 development).

RE: Recent git commit broke build - Added by John Lindgren over 11 years ago

Hmm, I missed the second problem. Hang tight; I'll test with pkg-config 0.26 before we release beta1.

    (1-7/7)