[SLE] Compiling xmms (formally known as x11amp)
I am trying to compile xmms, which is the mp3 player formally known as x11amp. I unpack the sources and run ./configure. configure detects that I have mesa support installed and so decides it will compile a plugin for xmms that uses opengl. When I run make I get errors when it starts compiling this open gl based plugin. These are the errors I get: /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -O2gcc -DHAVE_CONFIG_H -I. -I. -I../..-O2 -I../.. -I../.. -D_REENTRANT -I/usr/X11R In file included from opengl_spectrum.c:27: /usr/include/GL/glu.h:215: parse error before `gluLookAt' /usr/include/GL/glu.h:218: warning: data definition has no type or storage class/usr/include/GL/glu.h:221: parse error before `gluOrtho2D' /usr/include/GL/glu.h:222: warning: data definition has no type or storage class/usr/include/GL/glu.h:225: parse error before `gluPerspective' /usr/include/GL/glu.h:226: warning: data definition has no type or storage class/usr/include/GL/glu.h:229: parse error before `gluPickMatrix' /usr/include/GL/glu.h:231: warning: data definition has no type or storage class/usr/include/GL/glu.h:233: parse error before `gluProject' .......... /usr/include/GL/glu.h:404: parse error before `gluGetString' /usr/include/GL/glu.h:404: warning: data definition has no type or storage classmake[3]: *** [opengl_spectrum.lo] Error 1 make[3]: Leaving directory `/root/xmms-0.9.5.1/Visualization/opengl_spectrum' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/xmms-0.9.5.1/Visualization' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/xmms-0.9.5.1' make: *** [all-recursive-am] Error 2 Could someone please tell me what is wrong and how it may be fixed? Is it something to do with the way SuSE has installed the mesa lib's?? -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I think SuSE has that application in the CDs. If you insist on compiling, you may need to install the development versions of the libraries it needs. SuSE chooses to separate the libraries in runtime and development versions (two packages per library). Make sure that you have the right libraries and version numbers, too. -- Rafael Herrera -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* A Nourai (nagash@ozemail.com.au) [20000108 17:03]:
When I run make I get errors when it starts compiling this open gl based plugin.
/usr/include/GL/glu.h:215: parse error before `gluLookAt' /usr/include/GL/glu.h:218: warning: data definition has no type or storage class/usr/include/GL/glu.h:221: parse error before `gluOrtho2D'
Could someone please tell me what is wrong and how it may be fixed? Is it something to do with the way SuSE has installed the mesa lib's??
Yea, that's a known bug :( Mesa installs its headers in /usr/include/GL, but
the glx package installs different versions of some of the Mesa headers in
/usr/X11R6/include/GL. As the compiler gets passed -I/usr/X11R6/include, it
first finds the GLX headers. This one pulls in headers from the Mesa dir and
those clash.
Try removing (or alternatively renaming) /usr/X11R6/include/GL. That should
solve the problem.
--
Philipp Thomas
On Sun, 09 Jan 2000, Philipp Thomas wrote:
* A Nourai (nagash@ozemail.com.au) [20000108 17:03]:
When I run make I get errors when it starts compiling this open gl based plugin.
/usr/include/GL/glu.h:215: parse error before `gluLookAt' /usr/include/GL/glu.h:218: warning: data definition has no type or storage class/usr/include/GL/glu.h:221: parse error before `gluOrtho2D'
Could someone please tell me what is wrong and how it may be fixed? Is it something to do with the way SuSE has installed the mesa lib's??
Yea, that's a known bug :( Mesa installs its headers in /usr/include/GL, but the glx package installs different versions of some of the Mesa headers in /usr/X11R6/include/GL. As the compiler gets passed -I/usr/X11R6/include, it first finds the GLX headers. This one pulls in headers from the Mesa dir and those clash.
Try removing (or alternatively renaming) /usr/X11R6/include/GL. That should solve the problem.
-- Philipp Thomas
Thanks, this fixed the problem. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
nagash@ozemail.com.au
-
pthomas@suse.de
-
raffo@neuronet.pitt.edu