GNOME Bugzilla – Bug 162135
nautilus-media depends on libnautilus.pc which is no longer present in package nautilus-2.9.1
Last modified: 2005-01-19 06:20:14 UTC
The configure script reports this: checking GNOME_LIBS... -Wl,--export-dynamic -pthread -L/usr/test/garnome/lib -L/usr/X11R6/lib -leel-2 -lgnomeui-2 -lSM -lICE -lgailutil -lglade-2.0 -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for libnautilus... Package libnautilus was not found in the pkg-config search path. Perhaps you should add the directory containing `libnautilus.pc' to the PKG_CONFIG_PATH environment variable No package 'libnautchecking GNOME_LIBS... -Wl,--export-dynamic -pthread -L/usr/test/garnome/lib -L/usr/X11R6/lib -leel-2 -lgnomeui-2 -lSM -lICE -lgailutil -lglade-2.0 -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for libnautilus... Package libnautilus was not found in the pkg-config search path. Perhaps you should add the directory containing `libnautilus.pc' to the PKG_CONFIG_PATH environment variable No package 'libnautilus' found configure: error: you need nautilus development packages installed ! make[1]: *** [configure-work/main.d/nautilus-media-0.8.1/configure] Error 1 make[1]: Leaving directory `/usr/download/garnome-2.9.2.1/desktop/nautilus-media' ilus' found configure: error: you need nautilus development packages installed ! make[1]: *** [configure-work/main.d/nautilus-media-0.8.1/configure] Error 1 make[1]: Leaving directory `/usr/download/garnome-2.9.2.1/desktop/nautilus-media' I'm using the garnome build system to build the latest versions of gnome. The file libnautilus.pc seems to be missing from the nautilus source package at this moment
I am also facing this problem. libnautilus dir/sources have been removed or moved to other dirs in nautilus. Based on that, it looks like nautilus-media should no longer depend on libnautilus.pc
Another issue is the movement of some include files. See the compile log. nautilus-audio-view.h:38:39: libnautilus/nautilus-view.h: No such file or direct ory In file included from nautilus-audio-view.c:57: nautilus-audio-view.h:49: error: parse error before "NautilusView" nautilus-audio-view.h:49: warning: no semicolon at end of struct or union nautilus-audio-view.h:51: error: parse error before '}' token nautilus-audio-view.h:51: warning: data definition has no type or storage class nautilus-audio-view.h:54: error: parse error before "NautilusViewClass" nautilus-audio-view.h:54: warning: no semicolon at end of struct or union nautilus-audio-view.h:55: warning: data definition has no type or storage class nautilus-audio-view.c:59: error: parse error before '*' token nautilus-audio-view.c:59: error: parse error before '*' token nautilus-audio-view.c:59: error: parse error before '*' token nautilus-audio-view.c:59: warning: data definition has no type or storage class nautilus-audio-view.c: In function `nautilus_audio_view_class_init_trampoline': nautilus-audio-view.c:59: error: `NautilusViewClass' undeclared (first use in th is function) nautilus-audio-view.c:59: error: (Each undeclared identifier is reported only on ce nautilus-audio-view.c:59: error: for each function it appears in.) nautilus-audio-view.c:59: error: parse error before ')' token nautilus-audio-view.c:59: error: parse error before ')' token nautilus-audio-view.c: In function `nautilus_audio_view_get_type': nautilus-audio-view.c:59: error: `NAUTILUS_TYPE_VIEW' undeclared (first use in t his function) nautilus-audio-view.c: At top level: nautilus-audio-view.c:73: error: parse error before '*' token nautilus-audio-view.c: In function `sample_load_location_callback': nautilus-audio-view.c:77: error: `view' undeclared (first use in this function) nautilus-audio-view.c:79: error: `nautilus_view' undeclared (first use in this f unction) nautilus-audio-view.c:80: error: `location' undeclared (first use in this functi on) nautilus-audio-view.c:82: error: parse error before ')' token nautilus-audio-view.c:82: error: parse error before ')' token nautilus-audio-view.c: At top level: nautilus-audio-view.c:120: error: parse error before '*' token nautilus-audio-view.c: In function `nautilus_audio_view_class_init': nautilus-audio-view.c:122: error: `class' undeclared (first use in this function ) nautilus-audio-view.c: At top level: nautilus-audio-view.c:129: error: parse error before '*' token nautilus-audio-view.c: In function `nautilus_audio_view_instance_init': nautilus-audio-view.c:135: error: `view' undeclared (first use in this function) nautilus-audio-view.c: In function `nautilus_audio_view_dispose': nautilus-audio-view.c:174: error: `view' undeclared (first use in this function) nautilus-audio-view.c:176: error: parse error before ')' token nautilus-audio-view.c:176: error: parse error before ')' token nautilus-audio-view.c: In function `nautilus_audio_view_finalize': nautilus-audio-view.c:187: error: `view' undeclared (first use in this function) nautilus-audio-view.c:189: error: parse error before ')' token nautilus-audio-view.c:189: error: parse error before ')' token make[3]: *** [nautilus-audio-view.o] Error 1 make[3]: Leaving directory `/usr/download/garnome--unstable/desktop/nautilus-med ia/work/main.d/nautilus-media-0.8.1/audio-view' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/download/garnome--unstable/desktop/nautilus-med ia/work/main.d/nautilus-media-0.8.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/download/garnome--unstable/desktop/nautilus-med ia/work/main.d/nautilus-media-0.8.1' make: *** [build-work/main.d/nautilus-media-0.8.1/Makefile] Error 2
The problem is that nautilus was rewritten so it doesn't use bonobo components any more. Thus all extensions like this music view has to be rewritten to use the new nautilus extensions interface. I'm not even sure it's possible to reimplement the music view that way, but there you have it :-)
*** This bug has been marked as a duplicate of 160254 ***