• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

gl.h / glx.h fehlen // Beryl komplieren

scummos

Hacker
Hallo,

ich habe mir die svn-dateien von beryl gezogen:
svn co svn://svn.beryl-project.org/beryl/trunk/ beryl
und dann makeall-xgl gestartet...
da kommt folgender Error beim kompilieren:
Code:
In file included from ../include/beryl.h:49,
                 from ../include/beryl-settings.h:8,
                 from main.c:24:
/usr/X11R6/include/X11/Xregion.h:60:1: warning: "TRUE" redefined
In file included from /opt/gnome/lib/glib-2.0/include/glibconfig.h:9,
                 from /opt/gnome/include/glib-2.0/glib/gtypes.h:30,
                 from /opt/gnome/include/glib-2.0/glib/galloca.h:30,
                 from /opt/gnome/include/glib-2.0/glib.h:30,
                 from ../include/beryl-settings.h:7,
                 from main.c:24:
/opt/gnome/include/glib-2.0/glib/gmacros.h:163:1: warning: this is the location of the previous definition
In file included from ../include/beryl.h:49,
                 from ../include/beryl-settings.h:8,
                 from main.c:24:
/usr/X11R6/include/X11/Xregion.h:61:1: warning: "FALSE" redefined
In file included from /opt/gnome/lib/glib-2.0/include/glibconfig.h:9,
                 from /opt/gnome/include/glib-2.0/glib/gtypes.h:30,
                 from /opt/gnome/include/glib-2.0/glib/galloca.h:30,
                 from /opt/gnome/include/glib-2.0/glib.h:30,
                 from ../include/beryl-settings.h:7,
                 from main.c:24:
/opt/gnome/include/glib-2.0/glib/gmacros.h:159:1: warning: this is the location of the previous definition
In file included from ../include/beryl-settings.h:8,
                 from main.c:24:
../include/beryl.h:55:19: error: GL/gl.h: No such file or directory
../include/beryl.h:56:20: error: GL/glx.h: No such file or directory
In file included from ../include/beryl-settings.h:8,
                 from main.c:24:
../include/beryl.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'defaultColor'
../include/beryl.h:821: error: expected specifier-qualifier-list before 'GLenum'
../include/beryl.h:1083: error: expected specifier-qualifier-list before 'GLfloat'
../include/beryl.h:1121: error: expected specifier-qualifier-list before 'GLushort'
../include/beryl.h:1152: error: expected declaration specifiers or '...' before 'GLushort'
../include/beryl.h:1155: error: expected declaration specifiers or '...' before 'GLushort'
../include/beryl.h:1158: error: expected declaration specifiers or '...' before 'GLushort'
../include/beryl.h:1164: error: expected declaration specifiers or '...' before 'GLushort'
../include/beryl.h:1165: error: expected declaration specifiers or '...' before 'GLushort'
../include/beryl.h:1166: error: expected declaration specifiers or '...' before 'GLushort'
../include/beryl.h:1379: error: expected specifier-qualifier-list before 'GLuint'
../include/beryl.h:1510: warning: type defaults to 'int' in declaration of 'GLubyte'
../include/beryl.h:1510: error: expected ';', ',' or ')' before '*' token
../include/beryl.h:1513: error: expected declaration specifiers or '...' before 'GLXDrawable'
../include/beryl.h:1517: error: expected declaration specifiers or '...' before 'GLXDrawable'
../include/beryl.h:1520: error: expected declaration specifiers or '...' before 'GLXDrawable'
../include/beryl.h:1525: error: expected declaration specifiers or '...' before 'GLXDrawable'
../include/beryl.h:1540: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../include/beryl.h:1544: error: expected declaration specifiers or '...' before 'GLXFBConfig'
../include/beryl.h:1547: error: expected declaration specifiers or '...' before '*' token
../include/beryl.h:1548: error: expected declaration specifiers or '...' before 'GLXFBConfig'
../include/beryl.h:1550: warning: type defaults to 'int' in declaration of 'GLXPixmap'
../include/beryl.h:1550: error: 'GLXPixmap' declared as function returning a function
../include/beryl.h:1550: warning: function declaration isn't a prototype
../include/beryl.h:1552: error: expected ')' before 'texture'
../include/beryl.h:1553: error: expected ')' before 'texture'
../include/beryl.h:1555: error: expected ')' before 'n'
../include/beryl.h:1557: error: expected ')' before 'n'
../include/beryl.h:1559: error: expected ')' before 'target'
../include/beryl.h:1561: error: expected ')' before 'target'
../include/beryl.h:1565: error: expected ')' before 'target'
../include/beryl.h:1572: error: expected ')' before 'n'
../include/beryl.h:1574: error: expected ')' before 'n'
../include/beryl.h:1576: error: expected ')' before 'target'
../include/beryl.h:1578: error: expected declaration specifiers or '...' before '*' token
../include/beryl.h:1578: error: expected ')' before 'target'
../include/beryl.h:1579: error: expected ')' before 'target'
../include/beryl.h:1584: error: expected ')' before 'target'
../include/beryl.h:1586: error: expected ')' before 'target'
../include/beryl.h:1587: error: expected ')' before 'n'
../include/beryl.h:1588: error: expected ')' before 'n'
../include/beryl.h:1589: error: expected ')' before 'target'
../include/beryl.h:1590: error: expected ')' before 'target'
../include/beryl.h:1690: error: expected specifier-qualifier-list before 'GLXFBConfig'
../include/beryl.h:1776: error: expected specifier-qualifier-list before 'GLint'
../include/beryl.h:2159: error: expected declaration specifiers or '...' before 'GLenum'
../include/beryl.h:2266: error: expected specifier-qualifier-list before 'GLint'
../include/beryl.h:2942: error: expected specifier-qualifier-list before 'GLushort'
make[2]: *** [main.lo] Fehler 1
make[2]: Leaving directory `/home/sven/beryl/beryl-core/libberylsettings'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/sven/beryl/beryl-core'
make: *** [all] Fehler 2
BUILD FAILED for beryl-core


Irgend jemand eine idee was das sein könnte oder welches Paket fehlt? Was muss ich wohin linken? habe schon viel probiert... und gegoogelt... nutze suse10.1 und nvidia graka =)

Gruß
 

Gimpel

Guru
mesa-devel paket, aber nachdem du nvidia hast, nimm die ausm nvidia treiber paket ;)

tom@SiRiUS ~ $ epm -qf /usr/lib/opengl/xorg-x11/include/gl.h
mesa-6.5.2-r1
tom@SiRiUS ~ $ epm -qf /usr/lib/opengl/nvidia/include/gl.h
nvidia-drivers-1.0.9755-r1
tom@SiRiUS ~ $ ls -l /usr/include/GL/gl.h
lrwxrwxrwx 1 root root 37 17. Mär 11:00 /usr/include/GL/gl.h -> //usr//lib/opengl/nvidia/include/gl.h
tom@SiRiUS ~ $
<3 Gentoo
 
OP
S

scummos

Hacker
ääh...
noname:/usr # ls -l /usr/include/GL/gl.h
-r--r--r-- 1 root root 72949 2007-01-11 15:23 /usr/include/GL/gl.h
und epm hab ich net... (bash: command not found)
das mit dem mesa-devel paket guck ich mal, danke...
und die pakete kann ich nicht benutzen (zumindest nicht die neuen) weil ich noch 10.1 -user bin ;)
 

obec

Advanced Hacker
Hi,

gebe folgendes als root in die Konsole ein:

Code:
zypper sa http://software.opensuse.org/download/X11:/XGL/SUSE_Linux_10.1

Nun kannst du über Yast die Beryl-Pakete installieren.
http://www.opensuse.org/beryl
Befolge einfach dieses HoTow.

Gruß

obec
 

Gimpel

Guru
scummos schrieb:
ääh...
noname:/usr # ls -l /usr/include/GL/gl.h
-r--r--r-- 1 root root 72949 2007-01-11 15:23 /usr/include/GL/gl.h
Dann hast du die GL header ja.
und epm hab ich net... (bash: command not found)
das mit dem mesa-devel paket guck ich mal, danke...
rpm, unter SuSE
und die pakete kann ich nicht benutzen (zumindest nicht die neuen) weil ich noch 10.1 -user bin ;)
siehe obec, aber die 0.2er scheints wirklich (noch) nicht zu geben ;)
 
OP
S

scummos

Hacker
obec schrieb:
Hi,

gebe folgendes als root in die Konsole ein:

Code:
zypper sa http://software.opensuse.org/download/X11:/XGL/SUSE_Linux_10.1

Nun kannst du über Yast die Beryl-Pakete installieren.
http://www.opensuse.org/beryl
Befolge einfach dieses HoTow.

Gruß

obec

Danke... aber die 0.14 - Pakete hab ich ja, die gehen, aber sehr schlecht! Die settings starten nicht (Traceback (most recent call last):
File "/usr/local/bin/beryl-settings", line 2, in <module>
import berylsettings
ImportError: No module named berylsettings); der Manager geht nicht... naja.
eqm installier ich mal ;)
 

obec

Advanced Hacker
Hi,

am besten du wartest noch ein bißchen. Die aktuellen Beryl-Pakete werden für SuSE Linux 10.1 sicherlich noch kommen.

Gruß

obec
 
OP
S

scummos

Hacker
obec schrieb:
Hi,

am besten du wartest noch ein bißchen. Die aktuellen Beryl-Pakete werden für SuSE Linux 10.1 sicherlich noch kommen.

Gruß

obec

ja, das werde ich jetzt wohl eh machen müssen, unter der woche hab ich keine zeit hier rumzubasteln ;)
danke für eure hilfe!

gruß scummos
 
Oben