Audacious 3.2.2 does not compile in OpenSuSE 12.1
Added by Mario Natiello over 12 years ago
Hi
I sent this to the plugins forum, but it doesn't seem to be much activity there. There is only one other post,
from january, without answer. I'm trying the same question here. Sorry for doubling it.
I do not succeed in installing audacious-plugins.
I run openSuSE 12.1 on a x86-64 machine, try config - make - make install for audacious-3.2.2. (with success) and
when attempting to install audacious-plugins, the procedure breaks down during make. Error message is
Entering directory filewriter.
Successfully generated dependencies.
Successfully compiled filewriter.c (plugin).
Successfully compiled wav.c (plugin).
Successfully compiled mp3.c (plugin).
Successfully compiled vorbis.c (plugin).
Successfully compiled flac.c (plugin).
Successfully compiled convert.c (plugin).
vorbis.plugin.o: In function `vorbis_write_real':
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:155: undefined reference to `vorbis_analysis_buffer'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:166: undefined reference to `vorbis_analysis_wrote'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:168: undefined reference to `vorbis_analysis_blockout'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:170: undefined reference to `vorbis_analysis'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:171: undefined reference to `vorbis_bitrate_addblock'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:173: undefined reference to `vorbis_bitrate_flushpacket'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:175: undefined reference to `ogg_stream_packetin'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:177: undefined reference to `ogg_stream_pageout'
vorbis.plugin.o: In function `vorbis_close':
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:199: undefined reference to `ogg_stream_flush'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:205: undefined reference to `ogg_stream_clear'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:207: undefined reference to `vorbis_block_clear'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:208: undefined reference to `vorbis_dsp_clear'
vorbis.plugin.o: In function `add_string_from_tuple':
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:82: undefined reference to `vorbis_comment_add_tag'
vorbis.plugin.o: In function `vorbis_open':
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:94: undefined reference to `vorbis_info_init'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:95: undefined reference to `vorbis_comment_init'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:129: undefined reference to `vorbis_analysis_init'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:130: undefined reference to `vorbis_block_init'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:133: undefined reference to `ogg_stream_init'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:135: undefined reference to `vorbis_analysis_headerout'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:137: undefined reference to `ogg_stream_packetin'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:138: undefined reference to `ogg_stream_packetin'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:139: undefined reference to `ogg_stream_packetin'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:141: undefined reference to `ogg_stream_flush'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:118: undefined reference to `vorbis_comment_add_tag'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:112: undefined reference to `vorbis_comment_add_tag'
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:125: undefined reference to `vorbis_info_clear'
vorbis.plugin.o: In function `vorbis_close':
/local/audacious-plugins-3.2.2/src/filewriter/vorbis.c:209: undefined reference to `vorbis_info_clear'
collect2: ld returned 1 exit status
Failed to link filewriter.so!
make5: * [filewriter.so] Error 1
make4: [all] Error 2
make3: [subdirs] Error 1
make2: [all] Error 2
make1: [subdirs] Error 1
make: * [all] Error 2
Audacious 2.X did work on another machine with openSuSE12.1
Any suggestion?
Thx
mn.
Replies (13)
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Joop Braak over 12 years ago
Try to install libvorbis-dev and libogg-dev first ?
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Mario Natiello over 12 years ago
Thanks. The dev-packages were already installed, so it must be something else.
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Marek Kobrzeski over 12 years ago
Hi
I confirm the problem, openSUSE 12.1 x64, audacious (3.2.2) compiles with no problem, same error with plugins.
I tried git for today (13.05), still the same.
All dev packages are installed.
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Michael Schwendt over 12 years ago
This is what I've replied in the second thread about this:
You've chopped off too much from the build output unfortunately. Relevant portions related to detecting and linking the Ogg Vorbis libraries is missing.
Btw, Audacious 3.2.x builds without such problems on other distributions and for x86_64.
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Marek Kobrzeski over 12 years ago
OK, whole output of make:
BTW, before I had audacious 3.2, which compiled sometime ago (on the same machine and os) with no problem.
I'll try tomorrow to compile 3.2 version again, maybe the problem is with some opensuse-related update of some package.
ed@suse121:~/Downloads/new/audacious/audacious-plugins> make Entering directory src. Entering directory tonegen. Successfully generated dependencies. Successfully compiled tonegen.c (plugin). Successfully linked tonegen.so. Leaving directory tonegen. Entering directory metronom. Successfully generated dependencies. Successfully compiled metronom.c (plugin). Successfully linked metronom.so. Leaving directory metronom. Entering directory vtx. Successfully generated dependencies. Successfully compiled about.c (plugin). Successfully compiled ay8912.c (plugin). Successfully compiled info.c (plugin). Successfully compiled lh5dec.c (plugin). Successfully compiled vtx.c (plugin). Successfully compiled vtxfile.c (plugin). Successfully linked vtx.so. Leaving directory vtx. Entering directory console. Successfully generated dependencies. Successfully compiled Ay_Apu.cxx (plugin). Successfully compiled Ay_Cpu.cxx (plugin). Successfully compiled Ay_Emu.cxx (plugin). Successfully compiled Blip_Buffer.cxx (plugin). Successfully compiled Classic_Emu.cxx (plugin). Successfully compiled Data_Reader.cxx (plugin). Successfully compiled Dual_Resampler.cxx (plugin). Successfully compiled Effects_Buffer.cxx (plugin). Successfully compiled Fir_Resampler.cxx (plugin). Successfully compiled Gbs_Emu.cxx (plugin). Successfully compiled Gb_Apu.cxx (plugin). Successfully compiled Gb_Cpu.cxx (plugin). Successfully compiled Gb_Oscs.cxx (plugin). Successfully compiled gme.cxx (plugin). Successfully compiled Gme_File.cxx (plugin). Successfully compiled Gym_Emu.cxx (plugin). Successfully compiled Gzip_Reader.cxx (plugin). Successfully compiled Hes_Apu.cxx (plugin). Successfully compiled Hes_Cpu.cxx (plugin). Successfully compiled Hes_Emu.cxx (plugin). Successfully compiled Kss_Cpu.cxx (plugin). Successfully compiled Kss_Emu.cxx (plugin). Successfully compiled Kss_Scc_Apu.cxx (plugin). Successfully compiled M3u_Playlist.cxx (plugin). Successfully compiled Multi_Buffer.cxx (plugin). Successfully compiled Music_Emu.cxx (plugin). Successfully compiled Nes_Apu.cxx (plugin). Successfully compiled Nes_Cpu.cxx (plugin). Successfully compiled Nes_Fme7_Apu.cxx (plugin). Successfully compiled Nes_Namco_Apu.cxx (plugin). Successfully compiled Nes_Oscs.cxx (plugin). Successfully compiled Nes_Vrc6_Apu.cxx (plugin). Successfully compiled Nsfe_Emu.cxx (plugin). Successfully compiled Nsf_Emu.cxx (plugin). Successfully compiled Sap_Apu.cxx (plugin). Successfully compiled Sap_Cpu.cxx (plugin). Successfully compiled Sap_Emu.cxx (plugin). Successfully compiled Sms_Apu.cxx (plugin). Successfully compiled Snes_Spc.cxx (plugin). Successfully compiled Spc_Cpu.cxx (plugin). Successfully compiled Spc_Dsp.cxx (plugin). Successfully compiled Spc_Emu.cxx (plugin). Successfully compiled Spc_Filter.cxx (plugin). Successfully compiled Vfs_File.cxx (plugin). Successfully compiled Vgm_Emu.cxx (plugin). Successfully compiled Vgm_Emu_Impl.cxx (plugin). Successfully compiled Ym2413_Emu.cxx (plugin). Successfully compiled Ym2612_Emu.cxx (plugin). Successfully compiled Zlib_Inflater.cxx (plugin). Successfully compiled Audacious_Driver.cxx (plugin). Successfully compiled configure.c (plugin). Successfully compiled plugin.c (plugin). Successfully linked console.so. Leaving directory console. Entering directory xsf. Successfully generated dependencies. Successfully compiled corlett.c (plugin). Successfully compiled plugin.c (plugin). Successfully compiled vio2sf.c (plugin). Successfully compiled desmume/armcpu.c (plugin). Successfully compiled desmume/bios.c (plugin). Successfully compiled desmume/FIFO.c (plugin). Successfully compiled desmume/matrix.c (plugin). Successfully compiled desmume/MMU.c (plugin). Successfully compiled desmume/SPU.c (plugin). Successfully compiled desmume/arm_instructions.c (plugin). Successfully compiled desmume/cp15.c (plugin). Successfully compiled desmume/GPU.c (plugin). Successfully compiled desmume/mc.c (plugin). Successfully compiled desmume/NDSSystem.c (plugin). Successfully compiled desmume/thumb_instructions.c (plugin). Successfully linked xsf.so. Leaving directory xsf. Entering directory psf. Successfully generated dependencies. Successfully compiled corlett.c (plugin). Successfully compiled plugin.c (plugin). Successfully compiled psx.c (plugin). Successfully compiled psx_hw.c (plugin). Successfully compiled eng_psf.c (plugin). Successfully compiled eng_psf2.c (plugin). Successfully compiled eng_spx.c (plugin). Successfully compiled peops/spu.c (plugin). Successfully compiled peops2/dma.c (plugin). Successfully compiled peops2/registers.c (plugin). Successfully compiled peops2/spu.c (plugin). Successfully linked psf2.so. Leaving directory psf. Entering directory mpg123. Successfully generated dependencies. Successfully compiled mpg123.c (plugin). Successfully linked madplug.so. Leaving directory mpg123. Entering directory vorbis. Successfully generated dependencies. Successfully compiled vcupdate.c (plugin). Successfully compiled vcedit.c (plugin). Successfully compiled vorbis.c (plugin). Successfully linked vorbis.so. Leaving directory vorbis. Entering directory flacng. Successfully generated dependencies. Successfully compiled plugin.c (plugin). Successfully compiled tools.c (plugin). Successfully compiled seekable_stream_callbacks.c (plugin). Successfully compiled metadata.c (plugin). Successfully linked flacng.so. Leaving directory flacng. Entering directory wavpack. Successfully generated dependencies. Successfully compiled wavpack.c (plugin). Successfully linked wavpack.so. Leaving directory wavpack. Entering directory aac. Successfully generated dependencies. Successfully compiled itunes-cover.c (plugin). Successfully compiled libmp4.c (plugin). Successfully compiled mp4_utils.c (plugin). Successfully compiled aac_utils.c (plugin). Successfully compiled tagging_mp4.c (plugin). Successfully compiled mp4ff/mp4ff.c (plugin). Successfully compiled mp4ff/mp4atom.c (plugin). Successfully compiled mp4ff/mp4meta.c (plugin). Successfully compiled mp4ff/mp4sample.c (plugin). Successfully compiled mp4ff/mp4util.c (plugin). Successfully compiled mp4ff/mp4tagupdate.c (plugin). Successfully linked aac.so. Leaving directory aac. Entering directory sndfile. Successfully generated dependencies. Successfully compiled plugin.c (plugin). Successfully linked sndfile.so. Leaving directory sndfile. Entering directory modplug. Successfully generated dependencies. Successfully compiled archive/arch_raw.cxx (plugin). Successfully compiled archive/archive.cxx (plugin). Successfully compiled archive/open.cxx (plugin). Successfully compiled plugin.cxx (plugin). Successfully compiled modplugbmp.cxx (plugin). Successfully compiled plugin_main.c (plugin). Successfully linked modplug.so. Leaving directory modplug. Entering directory ffaudio. Successfully generated dependencies. Successfully compiled ffaudio-core.c (plugin). Successfully compiled ffaudio-io.c (plugin). Successfully linked ffaudio.so. Leaving directory ffaudio. Entering directory sid. Successfully generated dependencies. Successfully compiled xs_init.c (plugin). Successfully compiled xs_support.c (plugin). Successfully compiled xs_config.c (plugin). Successfully compiled xs_length.c (plugin). Successfully compiled xs_md5.c (plugin). Successfully compiled xs_stil.c (plugin). Successfully compiled xs_filter.c (plugin). Successfully compiled xs_sidplay1.cc (plugin). Successfully compiled xs_sidplay2.cc (plugin). Successfully compiled xs_slsup.c (plugin). Successfully compiled xs_player.c (plugin). Successfully compiled xmms-sid.c (plugin). Successfully linked sid.so. Leaving directory sid. Entering directory amidi-plug. Entering directory pcfg. Successfully generated dependencies. Successfully compiled i_pcfg.c. Successfully linked libpcfg.a. Leaving directory pcfg. Entering directory backend-alsa. Successfully generated dependencies. Successfully compiled b-alsa.c (plugin). Successfully linked ap-alsa.so. Leaving directory backend-alsa. Entering directory backend-fluidsynth. Successfully generated dependencies. Successfully compiled b-fluidsynth.c (plugin). Successfully linked ap-fluidsynth.so. Leaving directory backend-fluidsynth. Successfully generated dependencies. Successfully compiled amidi-plug.c (plugin). Successfully compiled i_vfslayer.c (plugin). Successfully compiled i_midi.c (plugin). Successfully compiled i_backend.c (plugin). Successfully compiled i_configure.c (plugin). Successfully compiled i_configure-ap.c (plugin). Successfully compiled i_configure-alsa.c (plugin). Successfully compiled i_configure-fluidsynth.c (plugin). Successfully compiled i_utils.c (plugin). Successfully compiled i_fileinfo.c (plugin). Successfully linked amidi-plug.so. Leaving directory amidi-plug. Entering directory cdaudio-ng. Successfully generated dependencies. Successfully compiled cdaudio-ng.c (plugin). Successfully compiled configure.c (plugin). Successfully linked cdaudio-ng.so. Leaving directory cdaudio-ng. Entering directory null. Successfully generated dependencies. Successfully compiled null.c (plugin). Successfully linked null.so. Leaving directory null. Entering directory pulse_audio. Successfully generated dependencies. Successfully compiled pulse_audio.c (plugin). Successfully linked pulse_audio.so. Leaving directory pulse_audio. Entering directory alsa. Successfully generated dependencies. Successfully compiled alsa.c (plugin). Successfully compiled config.c (plugin). Successfully compiled plugin.c (plugin). Successfully linked alsa.so. Leaving directory alsa. Entering directory sdlout. Successfully generated dependencies. Successfully compiled sdlout.c (plugin). Successfully compiled plugin.c (plugin). Successfully linked sdlout.so. Leaving directory sdlout. Entering directory filewriter. Successfully generated dependencies. Successfully compiled filewriter.c (plugin). Successfully compiled wav.c (plugin). Successfully compiled mp3.c (plugin). Successfully compiled vorbis.c (plugin). Successfully compiled flac.c (plugin). Successfully compiled convert.c (plugin). vorbis.plugin.o: In function `vorbis_write_real': /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:139: undefined reference to `vorbis_analysis_buffer' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:150: undefined reference to `vorbis_analysis_wrote' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:152: undefined reference to `vorbis_analysis_blockout' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:154: undefined reference to `vorbis_analysis' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:155: undefined reference to `vorbis_bitrate_addblock' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:157: undefined reference to `vorbis_bitrate_flushpacket' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:159: undefined reference to `ogg_stream_packetin' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:161: undefined reference to `ogg_stream_pageout' vorbis.plugin.o: In function `vorbis_close': /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:183: undefined reference to `ogg_stream_flush' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:189: undefined reference to `ogg_stream_clear' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:191: undefined reference to `vorbis_block_clear' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:192: undefined reference to `vorbis_dsp_clear' vorbis.plugin.o: In function `add_string_from_tuple': /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:66: undefined reference to `vorbis_comment_add_tag' vorbis.plugin.o: In function `vorbis_open': /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:78: undefined reference to `vorbis_info_init' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:79: undefined reference to `vorbis_comment_init' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:113: undefined reference to `vorbis_analysis_init' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:114: undefined reference to `vorbis_block_init' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:117: undefined reference to `ogg_stream_init' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:119: undefined reference to `vorbis_analysis_headerout' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:121: undefined reference to `ogg_stream_packetin' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:122: undefined reference to `ogg_stream_packetin' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:123: undefined reference to `ogg_stream_packetin' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:125: undefined reference to `ogg_stream_flush' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:102: undefined reference to `vorbis_comment_add_tag' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:96: undefined reference to `vorbis_comment_add_tag' /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:109: undefined reference to `vorbis_info_clear' vorbis.plugin.o: In function `vorbis_close': /home/ed/Downloads/new/audacious/audacious-plugins/src/filewriter/vorbis.c:193: undefined reference to `vorbis_info_clear' collect2: ld returned 1 exit status Failed to link filewriter.so! make[5]: *** [filewriter.so] Error 1 make[4]: *** [all] Error 2 make[3]: *** [subdirs] Error 2 make[2]: *** [all] Error 2 make[1]: *** [subdirs] Error 2 make: *** [all] Error 2
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Michael Schwendt over 12 years ago
Uh, sorry, the "make" output is not verbose enough by default. Compiler and linker options cannot be seen. You can delete the ".SILENT:" line in the "buildsys.mk.in" file in the top audacious-plugins directory, then run "make" for much more verbose output.
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Marek Kobrzeski over 12 years ago
Yeah, much more indeed :)
This is "second" make (log from first 'make' run exceeded my yakuake history limit :) ), so it's shorter, should I paste whole make from clean sources ?
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Michael Schwendt over 12 years ago
Well, you could reduce the output to the relevant section (that is between entering and leaving the "filewriter" directory where it fails). ;-)
if gcc -o filewriter.so $objs -shared -Wl,-z,defs -lpthread -laudcore -laudgui
-pthread -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lmp3lame -lvorbisenc
-lFLAC -lm ; then \
printf "Successfully linked filewriter.so.\n"; \
else \
err=$?; printf "Failed to link filewriter.so!\n"; exit $err; \
fi; \
Here, the needed libraries -lvorbis and -logg are missing.
Compare with: http://kojipkgs.fedoraproject.org/packages/audacious-plugins/3.2.2/1.fc17/data/logs/i686/build.log
Now one would need to return to the "configure" step and figure out whether and why detection of Ogg Vorbis works there whereas linking later fails. It smells like the pkgconfig files included in opensuse may be damaged/incomplete.
What do you get when running "pkg-config --cflags --libs ogg vorbis"?
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Michael Schwendt over 12 years ago
Plus,
what do you get when running "pkg-config --cflags --libs vorbisenc"?
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Marek Kobrzeski over 12 years ago
Yeah, sorry for not reducing output :)
ed@suse121:~> pkg-config --cflags --libs ogg vorbis -logg -lvorbis
ed@suse121:~> pkg-config --cflags --libs vorbisenc -lvorbisenc
Installed packages :
i | libvorbis-devel | Include Files and Libraries mandatory for Ogg Vorbis Development | package i | libvorbis0 | The Vorbis General Audio Compression Codec | package i | libvorbis0-32bit | The Vorbis General Audio Compression Codec | package i | libvorbisenc2 | The Vorbis General Audio Compression Codec | package i | libvorbisenc2-32bit | The Vorbis General Audio Compression Codec | package i | libvorbisfile3 | The Vorbis General Audio Compression Codec | package i | libvorbisfile3-32bit | The Vorbis General Audio Compression Codec | package i | vorbis-tools | Ogg Vorbis Tools | package
i | libOggFLAC++2 | Compatible library for FLAC-1.1.2 | package i | libOggFLAC++2-32bit | Compatible library for FLAC-1.1.2 | package i | libOggFLAC3 | Compatible library for FLAC-1.1.2 | package i | libOggFLAC3-32bit | Compatible library for FLAC-1.1.2 | package i | libogg-devel | Include Files and Libraries mandatory for Ogg Development | package i | libogg0 | Ogg Bitstream Library | package i | libogg0-32bit | Ogg Bitstream Library | package
I tried to compare my output with this from your link, but I don't know actually what should I notice... :/
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Marek Kobrzeski over 12 years ago
Sorry, I can see now what's the difference - there isn't -logg and -lvorbis in my output :P
I have reinstalled all vorbis and ogg packages, but it didn't change anything.
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Michael Schwendt over 12 years ago
Simply reinstalling won't help. ;)
It's a missing inter-dependency between the "vorbisenc.pc" file and the "vorbis.pc" file. One should investigate why it's missing at OpenSuSE, e.g. whether it has been dropped deliberately in an attempt at reducing library linking bloat. Eventually, it may affect other distributions as well.
Several work-arounds are possible:
1) Add the following line to the vorbisenc.pc file, which you can find in the pkg-config directory, such as /usr/lib64/pkgconfig/.
Requires: vorbis
or
2) Run the following in the extracted audacious-plugins source directory (use cut'n'paste to get the quote characters right!), then re-run the "configure" script:
sed -i 's!vorbisenc`!vorbisenc vorbis ogg`!g' configure
Audacious Plugins' filewriter "vorbis" plugin could be fixed to need vorbis.pc and ogg.pc as above, because the vorbis.c source actually uses the API. The configure.ac script in 3.2.2 isn't entirely clear. It detects Ogg/Vorbis in two locations. Once for $have_oggvorbis, a second time for $have_vorbisenc. And if the 2nd check succeeds, it explicitly adds pkg-config invocations for vorbisenc cflags/libs instead of moving that into the detection step. In turn, in src/filewriter/Makefile, $OGG_VORBIS_CFLAGS is used, but $OGG_VORBIS_LIBS is not. The latter would add the libraries which are missing for you. However, it would also link with libvorbisfile, which is optional. I've filed a bug report with a suggestion on how to enhence the audacious-plugins source files.
RE: Audacious 3.2.2 does not compile in OpenSuSE 12.1 - Added by Marek Kobrzeski over 12 years ago
Hi !
I love OpenSource !
I just wanted to try your workaround, but something told me to check latest commits in git, and there it is, "status closed" :)
Audacious is finally working with latest git. Michael, thank you very much for your help and thank you Audacious team for quick solution !