
XMMS was installed from SuSE's dvd and all patches from YOU were applied. Whenever a cd is played, XMMS exits with a segmentation fault. I am now giving up with SuSE XMMS implementation and would like to compile it from source. At the moment, compiling XMMS gives libmikmid, libvorbis and libGL errors. It appears that the scripts cannot link with the right libraries and include files or cannot find them. Can anyone offer any assistance with compiling XMMS on a AMD64 computer? Thanks. Sudhir.

On Saturday 30 April 2005 13:12, Sudhir Anand wrote:
XMMS was installed from SuSE's dvd and all patches from YOU were applied. Whenever a cd is played, XMMS exits with a segmentation fault. I am now giving up with SuSE XMMS implementation and would like to compile it from source.
At the moment, compiling XMMS gives libmikmid, libvorbis and libGL errors. It appears that the scripts cannot link with the right libraries and include files or cannot find them. Can anyone offer any assistance with compiling XMMS on a AMD64 computer?
Crystal balls are expensive. Could you save us the cost of one and actually tell us the errors you're seeing?

Anders Johansson wrote:
On Saturday 30 April 2005 13:12, Sudhir Anand wrote:
XMMS was installed from SuSE's dvd and all patches from YOU were applied. Whenever a cd is played, XMMS exits with a segmentation fault. I am now giving up with SuSE XMMS implementation and would like to compile it from source.
At the moment, compiling XMMS gives libmikmid, libvorbis and libGL errors. It appears that the scripts cannot link with the right libraries and include files or cannot find them. Can anyone offer any assistance with compiling XMMS on a AMD64 computer?
Crystal balls are expensive. Could you save us the cost of one and actually tell us the errors you're seeing?
I will certainly try. When the configure script runs, libmikmod is found. When however make runs, it complains that it cannot find mikmod libraries. If libmikmod is disabled, the make command cannot find the vorbis libraries. If this is disabled, the make command complains that the libGL in /usr/lib has invalid symbols. I think the problem is trying to get the configure and make script to look for mikmod and vorbis in locations where SuSE installs them and to look for libGL in lib64 directories. However, I cannot find a way of doing this at the moment. My current system is an AMD64 running SuSE 9.3. Xmms from SuSE's install disc starts but if i try and play a cd it crashes with a segmentation fault. After running the configure screen, the final output is : Configuration: Install path: /usr Current xmms /usr/bin/xmms Build OSS plugin: yes Build esd plugin: yes Build Solaris plugin: no Build BSD Sun plugin: no Build ALSA plugin: yes Build mikmod plugin: yes Build Ogg Vorbis plugin: yes Build OpenGL plugins: yes Pthread flag: -lpthread Use one plugin dir: no Allow user plugin dir: yes The libGL error is : /usr/lib/libGL.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [libogl_spectrum.la] Error 1 make[3]: Leaving directory `/home/sudhir/software/mp3/xmms-1.2.10/Visualization/opengl_spectrum' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sudhir/software/mp3/xmms-1.2.10/Visualization' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sudhir/software/mp3/xmms-1.2.10' make: *** [all] Error 2.

On Sunday 01 May 2005 00:31, Sudhir Anand wrote:
My current system is an AMD64 running SuSE 9.3. <snip> /usr/lib/libGL.so: could not read symbols: Invalid operation
It sounds like you have the 32 bit libraries installed and are trying to compile a 64 bit xmms against them You need to either get the compilation to make a 32 bit binary, or get it to look in /usr/lib64/ for the libraries

Anders Johansson wrote:
On Sunday 01 May 2005 00:31, Sudhir Anand wrote:
My current system is an AMD64 running SuSE 9.3.
<snip>
/usr/lib/libGL.so: could not read symbols: Invalid operation
It sounds like you have the 32 bit libraries installed and are trying to compile a 64 bit xmms against them
You need to either get the compilation to make a 32 bit binary, or get it to look in /usr/lib64/ for the libraries Anders,
I agree with you. I have installed nvidia's AMD64 graphics driver, which installed both the 32-bit and 64-bit libraries. I have tried setting up LDFLAGS pointing to /lib64 directories without success. I cannot get the configure and make scripts to look in the /lib64 directories. There appear to be a number of makefiles and some of them look for the 64-bit libraries and compile and link successfully. Do you know what parameters or environment variables can be set to change the behavior of the scripts? I am not a programmer but feel that if the scripts can be made to look at the 64-bit libraries, they will complete successfully. Sudhir

Sudhir Anand <linux_sle@yahoo.co.uk> [Sun, 01 May 2005 00:07:18 +0100]:
Do you know what parameters or environment variables can be set to change the behavior of the scripts?
Why don't you look at the xmms.spec that's part of xmms.src.rpm ? It will tell you what SUSE does to get it compiled (Hint: _libdir is set to /usr/lib64 and _lib to lib64 on a biarch system in 64 bit Mode). Philipp

Sudhir Anand wrote:
Anders Johansson wrote:
On Saturday 30 April 2005 13:12, Sudhir Anand wrote:
XMMS was installed from SuSE's dvd and all patches from YOU were applied. Whenever a cd is played, XMMS exits with a segmentation fault. I am now giving up with SuSE XMMS implementation and would like to compile it from source.
At the moment, compiling XMMS gives libmikmid, libvorbis and libGL errors. It appears that the scripts cannot link with the right libraries and include files or cannot find them. Can anyone offer any assistance with compiling XMMS on a AMD64 computer?
Crystal balls are expensive. Could you save us the cost of one and actually tell us the errors you're seeing?
I will certainly try. When the configure script runs, libmikmod is found. When however make runs, it complains that it cannot find mikmod libraries. If libmikmod is disabled, the make command cannot find the vorbis libraries. If this is disabled, the make command complains that the libGL in /usr/lib has invalid symbols. I think the problem is trying to get the configure and make script to look for mikmod and vorbis in locations where SuSE installs them and to look for libGL in lib64 directories. However, I cannot find a way of doing this at the moment.
My current system is an AMD64 running SuSE 9.3. Xmms from SuSE's install disc starts but if i try and play a cd it crashes with a segmentation fault.
After running the configure screen, the final output is :
Configuration: Install path: /usr Current xmms /usr/bin/xmms Build OSS plugin: yes Build esd plugin: yes Build Solaris plugin: no Build BSD Sun plugin: no Build ALSA plugin: yes Build mikmod plugin: yes Build Ogg Vorbis plugin: yes Build OpenGL plugins: yes Pthread flag: -lpthread Use one plugin dir: no Allow user plugin dir: yes
The libGL error is :
/usr/lib/libGL.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [libogl_spectrum.la] Error 1 make[3]: Leaving directory `/home/sudhir/software/mp3/xmms-1.2.10/Visualization/opengl_spectrum' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sudhir/software/mp3/xmms-1.2.10/Visualization' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sudhir/software/mp3/xmms-1.2.10' make: *** [all] Error 2. The vorbis error :
gcc -shared vorbis.lo configure.lo http.lo fileinfo.lo vcedit.lo utf8.lo -Wl,--rpath -Wl,/opt/gnome/lib64 -Wl,--rpath-Wl,/home/sudhir/.local/share/Trash/files/xmms-1_1.2.10/Input/vorbis/.libs -Wl,--rpath -Wl,/opt/gnome/lib64 -Wl,--rpath -Wl,/usr/local/lib/xmms/Input -L/opt/gnome/lib64 -L/usr/X11R6/lib64 /opt/gnome/lib64/libgtk.so /opt/gnome/lib64/libgdk.so /opt/gnome/lib64/libgmodule.so /opt/gnome/lib64/libgthread.so /opt/gnome/lib64/libglib.so -ldl -lXi -lXext -lX11 -lpthread -L/usr/local/lib /home/sudhir/.local/share/Trash/files/xmms-1_1.2.10/Input/vorbis/.libs/libvorbis.so -lm -logg -lvorbisfile -Wl,-soname -Wl,libvorbis.so-Wl,-retain-symbols-file -Wl,.libs/libvorbis.exp -o .libs/libvorbis.so gcc: /home/sudhir/.local/share/Trash/files/xmms-1_1.2.10/Input/vorbis/.libs/libv orbis.so: No such file or directory make[3]: *** [libvorbis.la] Error 1 make[3]: Leaving directory `/home/sudhir/.local/share/Trash/files/xmms-1_1.2.10/ Input/vorbis' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sudhir/.local/share/Trash/files/xmms-1_1.2.10/ Input' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sudhir/.local/share/Trash/files/xmms-1_1.2.10' make: *** [all] Error 2 The version of xmms I am trying to compile is 1.2.10. Any assistance will be appreciated. I am looking for a bulk purchase of crystal balls for everyone on this list :) Thanks. Sudhir

Sudhir Anand wrote:
The version of xmms I am trying to compile is 1.2.10.
I still use 9.2, but it also has 1.2.10 joe@jmorris:~> rpm -q xmms xmms-1.2.10-56 So you could try either the rpm from 9.2 (which works well here), or maybe try rebuilding the 9.2 xmms src.rpm -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871

Joe Morris (NTM) wrote:
Sudhir Anand wrote:
The version of xmms I am trying to compile is 1.2.10.
I still use 9.2, but it also has 1.2.10 joe@jmorris:~> rpm -q xmms xmms-1.2.10-56 So you could try either the rpm from 9.2 (which works well here), or maybe try rebuilding the 9.2 xmms src.rpm That is an idea. The source rpm should be on the second dvd.
Sudhir

Sudhir Anand wrote:
Joe Morris (NTM) wrote:
Sudhir Anand wrote:
The version of xmms I am trying to compile is 1.2.10.
I still use 9.2, but it also has 1.2.10 joe@jmorris:~> rpm -q xmms xmms-1.2.10-56 So you could try either the rpm from 9.2 (which works well here), or maybe try rebuilding the 9.2 xmms src.rpm That is an idea. The source rpm should be on the second dvd.
Sudhir
I tried to compile from sources on SuSE 9.2 that I am using at the moment. The command used : rpmbuild --rebuild *.rpm The rpms being built: xmms-1.2.10-56.src.rpm xmms-gnome2-0-499.src.rpm xmms-jack-0.9-4.src.rpm xmms-kde-3.1-50.src.rpm xmms-plugins-1.2.9-68.src.rpm The following errors were thrown up. Processing files: xmms-devel-1.2.10-56 Finding Provides: /tmp/my-provides Finding Requires: /usr/lib/rpm/find-requires Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: xmms = 1.2.10 /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xmms-1.2.10-build error: Installed (but unpackaged) file(s) found: /usr/share/pixmaps/xmms.png RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/pixmaps/xmms.png Any ideas? It would appear that the src rpms cannot be built. Sudhir

Sudhir Anand wrote:
The following errors were thrown up.
Processing files: xmms-devel-1.2.10-56 Finding Provides: /tmp/my-provides Finding Requires: /usr/lib/rpm/find-requires Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: xmms = 1.2.10 /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xmms-1.2.10-build error: Installed (but unpackaged) file(s) found: /usr/share/pixmaps/xmms.png
OK, it looks like there is an extra picture produced when built on 9.3.
RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/pixmaps/xmms.png
Any ideas? It would appear that the src rpms cannot be built.
Contrary, it WAS able to build it, but it produced one more picture file than listed. Since you are probably not setup to build rpm packages as non-root, here is all you need to do. Install the src.rpm, i.e. rpm -i (xmms src.rpm). Then, as root. go to /usr/src/packages/SPECS, and edit the xmms.spec file and add toward the bottom, under the files section for the xmms package (not -devel) /usr/share/pixmaps/xmms.png to the list of files. minimize or exit your editor, then run rpmbuild -bb --target=x86_64 xmms.spec. This time it will build without errors, and you will have 2 packages in /usr/src/packages/RPMS/x86_64, xmms and the devel package. Since these are the 9.2 version, with a lower release number, you could install via rpm -Uvh --oldpackage xmms*rpm. Then, to be sure, run ldconfig and SuSEconfig, and enjoy. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (4)
-
Anders Johansson
-
Joe Morris (NTM)
-
Philipp Thomas
-
Sudhir Anand