Re: gnome-media doesn't compile.



On Mon, 21 Nov 2005, Joseph E. Sacco, PhD wrote:

Hmm, This is actually building with make paranoid-install. According to GAR, gstreamer, and gst-plugins-base are installed correctly, and I've done make clean && make install in the gnome-media at least twice.

from what I can tell of the build, it appears that the $GARNOME/lib/gstreamer-0.9 is not in the library path, and $GARNOME/include/gstreamer-0.9 is not in the include path as it needs to be for gnome-media to pick up the gstreamer headers.

spew below.

make[4]: Entering directory `/opt/src/garnome-cvs/desktop/gnome-media/work/main.d/gnome-media-2.12.0/profiles' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/gnome/garnome/include -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/garnome/include/gconf/2 -I/opt/gnome/garnome/include/orbit-2.0 -I/opt/gnome/garnome/include/glib-2.0 -I/opt/gnome/garnome/lib/glib-2.0/include -I/opt/gnome/garnome/include/libglade-2.0 -I/opt/gnome/garnome/include/gtk-2.0 -I/opt/gnome/garnome/include/libxml2 -I/opt/gnome/garnome/lib/gtk-2.0/include -I/opt/gnome/garnome/include/atk-1.0 -I/opt/gnome/garnome/include/cairo -I/opt/gnome/garnome/include/pango-1.0 -I/opt/gnome/garnome/include -I/opt/gnome/garnome/include/libgnomeui-2.0 -I/opt/gnome/garnome/include/libgnome-2.0 -I/opt/gnome/garnome/include/libgnomecanvas-2.0 -I/opt/gnome/garnome/include/libart-2.0 -I/opt/gnome/garnome/include/libbonoboui-2.0 -I/opt/gnome/garnome/include/gnome-vfs-2.0 -I/opt/gnome/garnome/lib/gnome-vfs-2.0/include -I/opt/gnome/garnome/include/gnome-keyring-1 -I/opt/gnome/garnome/include/libbonobo-2.0 -I/opt/gnome/garnome/include/bonobo-activation-2.0 -I/opt/gnome/garnome/include/freetype2 -I/usr/X11R6/include -DG_LOG_DOMAIN=\"gnome-media-profiles\" -DGMP_GLADE_DIR=\"/opt/gnome/garnome/share/gnome-media/glade\" -DGM_AUDIO_GLADE_FILE=\"gnome-audio-profiles.glade2\" -DGNOMELOCALEDIR=\""/opt/gnome/garnome/share/locale"\" -I.. -g -I/opt/gnome/garnome/include -L/opt/gnome/garnome/lib -O2 -pipe -MT gnome_audio_profiles_test-gnome-audio-profiles-test.o -MD -MP -MF ".deps/gnome_audio_profiles_test-gnome-audio-profiles-test.Tpo" -c -o gnome_audio_profiles_test-gnome-audio-profiles-test.o `test -f 'gnome-audio-profiles-test.c' || echo './'`gnome-audio-profiles-test.c; \ then mv -f ".deps/gnome_audio_profiles_test-gnome-audio-profiles-test.Tpo" ".deps/gnome_audio_profiles_test-gnome-audio-profiles-test.Po"; else rm -f ".deps/gnome_audio_profiles_test-gnome-audio-profiles-test.Tpo"; exit 1; fi
gnome-audio-profiles-test.c:3:21: gst/gst.h: No such file or directory
gnome-audio-profiles-test.c: In function `test_cb':
gnome-audio-profiles-test.c:27: error: `GstElement' undeclared (first use in this function) gnome-audio-profiles-test.c:27: error: (Each undeclared identifier is reported only once
gnome-audio-profiles-test.c:27: error: for each function it appears in.)
gnome-audio-profiles-test.c:27: error: `pipeline' undeclared (first use in this function) gnome-audio-profiles-test.c:51: error: `GST_STATE_PLAYING' undeclared (first use in this function) gnome-audio-profiles-test.c:55: error: `GST_STATE_NULL' undeclared (first use in this function) make[4]: *** [gnome_audio_profiles_test-gnome-audio-profiles-test.o] Error 1 make[4]: Leaving directory `/opt/src/garnome-cvs/desktop/gnome-media/work/main.d/gnome-media-2.12.0/profiles'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/src/garnome-cvs/desktop/gnome-media/work/main.d/gnome-media-2.12.0/profiles'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/garnome-cvs/desktop/gnome-media/work/main.d/gnome-media-2.12.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/src/garnome-cvs/desktop/gnome-media/work/main.d/gnome-media-2.12.0'
make: *** [build-work/main.d/gnome-media-2.12.0/Makefile] Error 2




Matt,

The gstreamer-0.9.x branch is not quite ready for prime time.  If you
would like to build a working version of 2.13.x, you will have to
retreat to using the 0.8 branch, which is what the GNOME team has done.

That being said, things do compile with the 0.9 branch in place.

Your message would indicate that a dependency was not met:

[from the GAR Makefile for gnome-media... ignore line wrap]
       GARNAME = gnome-media
       GARVERSION = 2.12.0
       CATEGORIES = desktop
       DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

       LIBDEPS = platform/esound platform/gail platform/libgnomeui
       desktop/gst-plugins-base desktop/nautilus-cd-burner desktop/scrollkeeper

I am guessing that something is amiss with your install of gstreamer and
gst-plugins-base.

You should be building with

	make paranoid-install > make_paranoid-install.log 2>&1 &

rather than

	make install > make_install.log 2>&1 &

so the build will stop if something bad happens.


-Joseph

=========================================================================

On Mon, 2005-11-21 at 11:16 -0500, Matt Rose wrote:
I get this error when trying to compile gnome-media

gnome-audio-profiles-test.c:3:21: gst/gst.h: No such file or directory

there is a gst/gst.h file, but it's in
/opt/gnome/garnome/include/gstreamer-0.9/

If I move the gstreamer-0.9/gst directory to /opt/gnome/garnome/include/
it compiles, then the link fails, complaining of unresolved symbols.

I'm kind of out of ideas here.

--------------------------------------------------------------------------
Matt Rose 	 http://www.folkwolf.net	   mattrose folkwolf net
He's a shy voodoo filmmaker living undercover at Ringling
Bros. Circus. She's a vivacious Bolivian lawyer from Mars. They fight
crime!


--------------------------------------------------------------------------
Matt Rose 	 http://www.folkwolf.net	   mattrose folkwolf net
He's a benighted hunchbacked firefighter with no name. She's a
green-fingered hypochondriac traffic cop operating on the wrong side of
the law. They fight crime!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]