! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
plugin fails to build
Status:
RESOLVED: INVALID
Product:
Thunar-media-tags-plugin
Component:
General

Comments

Description Myles Green 2007-01-28 19:44:31 CET
This happens with thunar-media-tags-plugin-1.2 as well as rev2466 from svn:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DG_LOG_DOMAIN=\"thunar-media-tags-plugin\" -DEXO_API_SUBJECT_TO_CHANGE -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/exo-0.3 -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -fno-strict-aliasing -Werror -Wall -I/usr/local/include/thunarx-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/local/include/thunar-vfs-1 -I/usr/local/include/exo-0.3 -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/taglib -g -O2 -MT thunar_media_tags_plugin_la-media-tags-provider.lo -MD -MP -MF .deps/thunar_media_tags_plugin_la-media-tags-provider.Tpo -c media-tags-provider.c  -fPIC -DPIC -o .libs/thunar_media_tags_plugin_la-media-tags-provider.o
media-tags-provider.c:26:26: error: taglib/tag_c.h: No such file or directory
In file included from media-tags-provider.c:30:
./audio-tags-page.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./audio-tags-page.h:52: error: expected declaration specifiers or '...' before 'TagLib_File'
media-tags-provider.c: In function 'media_tags_get_audio_file_supported':
media-tags-provider.c:149: error: 'TagLib_File' undeclared (first use in this function)
media-tags-provider.c:149: error: (Each undeclared identifier is reported only once
media-tags-provider.c:149: error: for each function it appears in.)
media-tags-provider.c:149: error: 'taglib_file' undeclared (first use in this function)
cc1: warnings being treated as errors
media-tags-provider.c:162: warning: implicit declaration of function 'taglib_file_new'
media-tags-provider.c:167: warning: implicit declaration of function 'taglib_file_free'
make[2]: *** [thunar_media_tags_plugin_la-media-tags-provider.lo] Error 1
Comment 1 Jannis Pohlmann editbugs 2007-01-28 21:25:25 CET
I don't see the problem here. TagLib is a hard dependency of the plugin and its header files are obviously missing. I wonder why the configure script doesn't raise errors, though. It already checks for taglib/tag_c.h and aborts if that isn't found.
Comment 2 Myles Green 2007-01-28 22:01:52 CET
Hmmm, I had libtag1-dev installed but just did an apt-cache search anyway and discovered there is also a libtagc0-dev. Anyway, I installed that and it solved the problem. <sigh> sorry for the excess noise :-(
Comment 3 Jannis Pohlmann editbugs 2007-01-28 22:09:37 CET
Hm, yeah, actually tag_c is the dependency. I still wonder why it's skipped in configure. 

Bug #2843

Reported by:
Myles Green
Reported on: 2007-01-28
Last modified on: 2009-07-14

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information