Re: Compiling Rhythmbox for 0.20.0



On Wed, 2003-01-29 at 11:45, Jeff Waugh wrote:
> Nothing builds on top of gstreamer apart from the GNOME desktop bits. Please
> bug the maintainers of the other stuff to make releases.

Well, it does if you symlink the gstreamer pkgconfig files with
unversioned ones.

I've attached a mail that fixes part of the problem.  Use the same logic
for all the gstrteamer files (like <garnome>/lib/*gst*)  - I'm happily
using Rhythmbox to listen and manage my music :-)

Let me know if you need more help...

-- 
**************
* Simon Wong *
**************
--- Begin Message ---
On Mon, 2003-01-13 at 13:57, Nikolaus Filus wrote:
> On Mon, Jan 13, 2003 at 11:07:39AM -0500, Shaun ONeil wrote:
> >in gstreamer/gst-player:
> >
> >checking for gst_control_init in -lgstcontrol... no
> >configure: error: You need the gstcontrol library which is part of
> >GStreamer core
> >make: *** [configure-work/gst-player-0.4.2/configure] Error 1
> >
> >in gnome/monkey-media:
> >
> >cc -shared  monkey-media.lo monkey-media-stream.lo
> >monkey-media-stream-info.lo monkey-media-video-stream.lo
> >monkey-media-audio-quality.lo monkey-media-audio-stream.lo
> >monkey-media-visualization.lo monkey-media-mixer.lo
> >monkey-media-audio-cd.lo monkey-media-audio-reencoder.lo sha1.lo
> >monkey-media-musicbrainz.lo monkey-media-marshal.lo -Wl,--whole-archive
> >../src/stream-info-impl/.libs/libstream-info-impl.al
> >-Wl,--no-whole-archive  -Wl,--rpath -Wl,/opt/Gnome2/lib -Wl,--rpath
> >-Wl,/opt/Gnome2/lib  -L/opt/Gnome2/lib -L/usr/X11R6/lib
> >../src/stream-info-impl/.libs/libstream-info-impl.al
> >/usr/lib/libid3tag.so -L/usr/lib /opt/Gnome2/lib/libgnome-2.so
> >/opt/Gnome2/lib/libbonobo-2.so /opt/Gnome2/lib/libgconf-2.so
> >/opt/Gnome2/lib/libgnomevfs-2.so /opt/Gnome2/lib/libbonobo-activation.so
> >/opt/Gnome2/lib/libORBit-2.so /opt/Gnome2/lib/liblinc.so
> >/opt/Gnome2/lib/libgtk-x11-2.0.so /opt/Gnome2/lib/libgdk-x11-2.0.so
> >/opt/Gnome2/lib/libatk-1.0.so /opt/Gnome2/lib/libgdk_pixbuf-2.0.so
> >/opt/Gnome2/lib/libpangoxft-1.0.so /opt/Gnome2/lib/libpangox-1.0.so
> >/opt/Gnome2/lib/libpango-1.0.so /opt/Gnome2/lib/libgstreamer-0.5.so
> >/opt/Gnome2/lib/libgobject-2.0.so /opt/Gnome2/lib/libgmodule-2.0.so -ldl
> >/opt/Gnome2/lib/libgthread-2.0.so /opt/Gnome2/lib/libxml2.so
> >/opt/Gnome2/lib/libglib-2.0.so -lz
> >/usr/lib/libogg.so /usr/lib/libvorbis.so -lm /usr/lib/libvorbisfile.so
> >-lmusicbrainz -lstdc++ -lgstcontrol   -Wl,--export-dynamic -Wl,-soname
> >-Wl,libmonkey-media.so.0 -o .libs/libmonkey-media.so.0.0.0
> >/usr/bin/ld: cannot find -lgstcontrol
> >collect2: ld returned 1 exit status
> >make[5]: *** [libmonkey-media.la] Error 1
> >make[5]: Leaving directory
> >make[4]: *** [all-recursive] Error 1
> 
> >the library they're looking for seems to exist (/opt/Gnome2 was rm -rf'd
> >before this install),
> >
> >/opt/Gnome2/lib# ls -l --si *gstcontrol*
> >-rwxr-xr-x    1 root     root          792 2003-01-13 10:54
> >libgstcontrol-0.5.la
> >lrwxrwxrwx    1 root     root           26 2003-01-13 10:54
> >libgstcontrol-0.5.so -> libgstcontrol-0.5.so.2.0.0
> >lrwxrwxrwx    1 root     root           26 2003-01-13 10:54
> >libgstcontrol-0.5.so.2 -> libgstcontrol-0.5.so.2.0.0
> >-rwxr-xr-x    1 root     root         346k 2003-01-13 10:54
> >libgstcontrol-0.5.so.2.0.0
> >
> >question is .. is this something I've done wrong, something garnome's
> >done wrong, or should I take it upstream?  I just want rhythmbox back
> 
> No, I had the same problem yesterday as I wanted to try out rhythmbox (one
> day, it's reade it may be better than (x|i)tunes or MusicMatch ....). The
> problem is the updated gst-part as it is called now *-0.5 
> Just grep through all files (Makefile, *.la) in the src dir and add -0.5 to 
> gstcontrol.
> 
> Nikolaus

ahh .. I spotted this earlier with the gst pkg-config files, so I used
the same bit of magic (in $prefix/lib)

for I in libgstcontrol-0.5* ; do ln -s "$I" "${I/-0.5/}" ; done

which worked fine

monkey-media then failed in tests with:

cc -g -I/opt/Gnome2/include -I/usr/X11R6/include -O2 -pipe -Wall -Werror
-o .libs/test-info test-info.o -pthread -Wl,--export-dynamic
-Wl,--export-dynamic  -L/opt/Gnome2/lib -L/usr/X11R6/lib
../src/.libs/libmonkey-media.so /usr/lib/libid3tag.so -L/usr/lib
/opt/Gnome2/lib/libgnome-2.so /opt/Gnome2/lib/libesd.so
/opt/Gnome2/lib/libaudiofile.so /opt/Gnome2/lib/libbonobo-2.so
/opt/Gnome2/lib/libORBitCosNaming-2.so /opt/Gnome2/lib/libgnomevfs-2.so
/opt/Gnome2/lib/libgconf-2.so -lrt
/opt/Gnome2/lib/libbonobo-activation.so /opt/Gnome2/lib/libORBit-2.so
/opt/Gnome2/lib/liblinc.so /opt/Gnome2/lib/libgtk-x11-2.0.so
/opt/Gnome2/lib/libgdk-x11-2.0.so /opt/Gnome2/lib/libatk-1.0.so
/opt/Gnome2/lib/libgdk_pixbuf-2.0.so /opt/Gnome2/lib/libpangoxft-1.0.so
/opt/Gnome2/lib/libpangox-1.0.so /opt/Gnome2/lib/libpango-1.0.so
/opt/Gnome2/lib/libgstreamer-0.5.so /usr/lib/libpopt.so
/opt/Gnome2/lib/libgobject-2.0.so /opt/Gnome2/lib/libgmodule-2.0.so -ldl
/opt/Gnome2/lib/libgthread-2.0.so -lpthread /opt/Gnome2/lib/libxml2.so
/opt/Gnome2/lib/libglib-2.0.so -lz /usr/lib/libvorbis.so
/usr/lib/libvorbisfile.so -lm /usr/lib/libogg.so -lmusicbrainz -lstdc++
/opt/Gnome2/lib/libgstcontrol-0.5.so -Wl,--rpath -Wl,/opt/Gnome2/lib
/usr/lib/libmusicbrainz.so: undefined reference to `__out_of_range(char
const *)'
/usr/lib/libmusicbrainz.so: undefined reference to `__length_error(char
const *)'
collect2: ld returned 1 exit status
make: *** [test-info] Error 1

So I removed tests from the makefile. the big stick fix, and it didn't
work - rhythmbox just failed with the same undefined's.

the system installed libmusicbrainz seems up-to-date, 1.1.0-1 (debian
sid) .. do I need to be looking at the 2.0-pre, or does this thing
simply not like me?


Shaun

-- 
garnome-list mailing list
garnome-list gnome org
http://mail.gnome.org/mailman/listinfo/garnome-list

--- End Message ---


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