Ставлю XGL - ошибки компиляции

Делаю все по How-To
дохожу до
emerge --ask --verbose xgl compiz
первый пакет xgl ставится, а следующий - нет
сделал
emerge --ask --verbose xgl compiz 2> /home/file.txt
вот его содержимое

QA Notice: USE Flag 'doc' not in IUSE for x11-libs/gtkglarea-1.99.0
In file included from gdkgl.c:20:
gdkgl.h:22:18: glib.h: No such file or directory
gdkgl.h:31:21: gdk/gdk.h: No such file or directory
In file included from gdkgl.c:20:
gdkgl.h:77: error: syntax error before "gdk_gl_query"
gdkgl.h:77: warning: data definition has no type or storage class
gdkgl.h:78: error: syntax error before '*' token
gdkgl.h:78: warning: data definition has no type or storage class
gdkgl.h:80: error: syntax error before '*' token
gdkgl.h:80: warning: data definition has no type or storage class
gdkgl.h:81: error: syntax error before '*' token
gdkgl.h:83: error: syntax error before '*' token
gdkgl.h:84: error: syntax error before '*' token
gdkgl.h:85: error: syntax error before "gint"
gdkgl.h:90: error: syntax error before "gdk_gl_make_current"
gdkgl.h:90: error: syntax error before '*' token
gdkgl.h:90: warning: data definition has no type or storage class
gdkgl.h:91: error: syntax error before '*' token
gdkgl.h:102: error: syntax error before '*' token
gdkgl.h:106: error: syntax error before "gdk_gl_pixmap_make_current"
gdkgl.h:106: warning: data definition has no type or storage class
gdkgl.h:110: error: syntax error before '*' token
gdkgl.c:22:22: gdk/gdkx.h: No such file or directory
gdkgl.c:30: error: syntax error before '*' token
gdkgl.c: In function `get_xvisualinfo':
gdkgl.c:37: warning: assignment makes pointer from integer without a cast
gdkgl.c:42: error: `visual' undeclared (first use in this function)
gdkgl.c:42: error: (Each undeclared identifier is reported only once
gdkgl.c:42: error: for each function it appears in.)
gdkgl.c:42: warning: assignment makes pointer from integer without a cast
gdkgl.c: At top level:
gdkgl.c:59: error: syntax error before "guint"
gdkgl.c:59: warning: no semicolon at end of struct or union
gdkgl.c:65: error: syntax error before "gdk_gl_query"
gdkgl.c: In function `gdk_gl_query':
gdkgl.c:67: warning: passing arg 1 of `glXQueryExtension' makes pointer from integer without a cast
gdkgl.c:67: error: `TRUE' undeclared (first use in this function)
gdkgl.c:67: error: `FALSE' undeclared (first use in this function)
gdkgl.c: At top level:
gdkgl.c:71: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_get_info':
gdkgl.c:76: warning: passing arg 1 of `glXGetClientString' makes pointer from integer without a cast
gdkgl.c:77: warning: passing arg 1 of `glXGetClientString' makes pointer from integer without a cast
gdkgl.c:78: warning: passing arg 1 of `glXGetClientString' makes pointer from integer without a cast
gdkgl.c:78: warning: return makes pointer from integer without a cast
gdkgl.c: At top level:
gdkgl.c:82: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_choose_visual':
gdkgl.c:86: error: `GdkVisual' undeclared (first use in this function)
gdkgl.c:86: error: `visual' undeclared (first use in this function)
gdkgl.c:90: warning: assignment makes pointer from integer without a cast
gdkgl.c: At top level:
gdkgl.c:100: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_get_config':
gdkgl.c:106: error: `visual' undeclared (first use in this function)
gdkgl.c:108: warning: assignment makes pointer from integer without a cast
gdkgl.c:112: error: `attrib' undeclared (first use in this function)
gdkgl.c: At top level:
gdkgl.c:122: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_context_new':
gdkgl.c:124: error: `visual' undeclared (first use in this function)
gdkgl.c:124: error: `FALSE' undeclared (first use in this function)
gdkgl.c: At top level:
gdkgl.c:128: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_context_share_new':
gdkgl.c:135: error: `visual' undeclared (first use in this function)
gdkgl.c:137: warning: assignment makes pointer from integer without a cast
gdkgl.c:141: error: `sharelist' undeclared (first use in this function)
gdkgl.c:142: error: `direct' undeclared (first use in this function)
gdkgl.c:150: error: syntax error before "GdkGLContextPrivate"
gdkgl.c:151: error: dereferencing pointer to incomplete type
gdkgl.c:152: error: dereferencing pointer to incomplete type
gdkgl.c:153: error: dereferencing pointer to incomplete type
gdkgl.c: At top level:
gdkgl.c:158: error: syntax error before "gint"
gdkgl.c: In function `gdk_gl_context_attrlist_share_new':
gdkgl.c:160: error: `GdkVisual' undeclared (first use in this function)
gdkgl.c:160: error: `visual' undeclared (first use in this function)
gdkgl.c:160: error: `attrlist' undeclared (first use in this function)
gdkgl.c:162: error: `sharelist' undeclared (first use in this function)
gdkgl.c:162: error: `direct' undeclared (first use in this function)
gdkgl.c: In function `gdk_gl_context_ref':
gdkgl.c:172: error: dereferencing pointer to incomplete type
gdkgl.c: In function `gdk_gl_context_unref':
gdkgl.c:183: error: dereferencing pointer to incomplete type
gdkgl.c:185: error: dereferencing pointer to incomplete type
gdkgl.c:189: error: dereferencing pointer to incomplete type
gdkgl.c:190: error: dereferencing pointer to incomplete type
gdkgl.c:192: error: dereferencing pointer to incomplete type
gdkgl.c:192: error: dereferencing pointer to incomplete type
gdkgl.c: At top level:
gdkgl.c:198: error: syntax error before "gdk_gl_make_current"
gdkgl.c:198: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_make_current':
gdkgl.c:200: error: `context' undeclared (first use in this function)
gdkgl.c:202: error: `drawable' undeclared (first use in this function)
gdkgl.c:202: error: `FALSE' undeclared (first use in this function)
gdkgl.c:205: error: dereferencing pointer to incomplete type
gdkgl.c:205: error: dereferencing pointer to incomplete type
gdkgl.c:205: error: `TRUE' undeclared (first use in this function)
gdkgl.c: At top level:
gdkgl.c:217: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_swap_buffers':
gdkgl.c:219: error: `drawable' undeclared (first use in this function)
gdkgl.c:221: warning: passing arg 1 of `glXSwapBuffers' makes pointer from integer without a cast
gdkgl.c: At top level:
gdkgl.c:240: error: syntax error before "GdkPixmap"
gdkgl.c:240: warning: no semicolon at end of struct or union
gdkgl.c:241: warning: data definition has no type or storage class
gdkgl.c:247: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_pixmap_new':
gdkgl.c:257: error: `visual' undeclared (first use in this function)
gdkgl.c:258: error: `pixmap' undeclared (first use in this function)
gdkgl.c:260: warning: assignment makes pointer from integer without a cast
gdkgl.c:276: error: syntax error before "GdkGLPixmapPrivate"
gdkgl.c:277: error: dereferencing pointer to incomplete type
gdkgl.c:278: error: dereferencing pointer to incomplete type
gdkgl.c:279: error: dereferencing pointer to incomplete type
gdkgl.c:280: error: dereferencing pointer to incomplete type
gdkgl.c: In function `gdk_gl_pixmap_ref':
gdkgl.c:291: error: dereferencing pointer to incomplete type
gdkgl.c: In function `gdk_gl_pixmap_unref':
gdkgl.c:302: error: dereferencing pointer to incomplete type
gdkgl.c:304: error: dereferencing pointer to incomplete type
gdkgl.c:308: error: dereferencing pointer to incomplete type
gdkgl.c:308: error: dereferencing pointer to incomplete type
gdkgl.c:310: error: dereferencing pointer to incomplete type
gdkgl.c:312: error: invalid application of `sizeof' to incomplete type `gdkgl.c' 
gdkgl.c: At top level:
gdkgl.c:317: error: syntax error before "gdk_gl_pixmap_make_current"
gdkgl.c: In function `gdk_gl_pixmap_make_current':
gdkgl.c:323: error: `FALSE' undeclared (first use in this function)
gdkgl.c:326: error: dereferencing pointer to incomplete type
gdkgl.c:327: error: dereferencing pointer to incomplete type
gdkgl.c:328: error: dereferencing pointer to incomplete type
gdkgl.c:330: error: `TRUE' undeclared (first use in this function)
gdkgl.c: At top level:
gdkgl.c:334: error: syntax error before '*' token
gdkgl.c: In function `gdk_gl_use_gdk_font':
gdkgl.c:336: error: `font' undeclared (first use in this function)
gdkgl.c:337: error: `first' undeclared (first use in this function)
gdkgl.c:337: error: `count' undeclared (first use in this function)
gdkgl.c:337: error: `list_base' undeclared (first use in this function)
make[1]: *** [gdkgl.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from gtkglarea.c:19:
gdkgl.h:22:18: glib.h: No such file or directory
gdkgl.h:31:21: gdk/gdk.h: No such file or directory
In file included from gtkglarea.c:19:
gdkgl.h:77: error: syntax error before "gdk_gl_query"
gdkgl.h:77: warning: data definition has no type or storage class
gdkgl.h:78: error: syntax error before '*' token
gdkgl.h:78: warning: data definition has no type or storage class
gdkgl.h:80: error: syntax error before '*' token
gdkgl.h:80: warning: data definition has no type or storage class
gdkgl.h:81: error: syntax error before '*' token
gdkgl.h:83: error: syntax error before '*' token
gdkgl.h:84: error: syntax error before '*' token
gdkgl.h:85: error: syntax error before "gint"
gdkgl.h:90: error: syntax error before "gdk_gl_make_current"
gdkgl.h:90: error: syntax error before '*' token
gdkgl.h:90: warning: data definition has no type or storage class
gdkgl.h:91: error: syntax error before '*' token
gdkgl.h:102: error: syntax error before '*' token
gdkgl.h:106: error: syntax error before "gdk_gl_pixmap_make_current"
gdkgl.h:106: warning: data definition has no type or storage class
gdkgl.h:110: error: syntax error before '*' token
In file included from gtkglarea.c:20:
gtkglarea.h:25:32: gtk/gtkdrawingarea.h: No such file or directory
In file included from gtkglarea.c:20:
gtkglarea.h:46: error: syntax error before "GtkDrawingArea"
gtkglarea.h:46: warning: no semicolon at end of struct or union
gtkglarea.h:48: error: syntax error before '}' token
gtkglarea.h:52: error: syntax error before "GtkDrawingAreaClass"
gtkglarea.h:52: warning: no semicolon at end of struct or union
gtkglarea.h:55: error: syntax error before "gtk_gl_area_get_type"
gtkglarea.h:55: warning: data definition has no type or storage class
gtkglarea.h:56: error: syntax error before '*' token
gtkglarea.h:56: warning: data definition has no type or storage class
gtkglarea.h:57: error: syntax error before '*' token
gtkglarea.h:58: warning: data definition has no type or storage class
gtkglarea.h:59: error: syntax error before '*' token
gtkglarea.h:60: warning: data definition has no type or storage class
gtkglarea.h:63: error: syntax error before "gtk_gl_area_make_current"
gtkglarea.h:63: warning: data definition has no type or storage class
gtkglarea.h:65: error: syntax error before "gtk_gl_area_begingl"
gtkglarea.h:65: warning: data definition has no type or storage class
gtkglarea.h:72: error: syntax error before "gint"
gtkglarea.c:26: error: syntax error before '*' token
gtkglarea.c:28: error: syntax error before '*' token
gtkglarea.c:28: warning: data definition has no type or storage class
gtkglarea.c:32: error: syntax error before "gtk_gl_area_get_type"
gtkglarea.c: In function `gtk_gl_area_get_type':
gtkglarea.c:34: error: syntax error before "object_type"
gtkglarea.c:36: error: `object_type' undeclared (first use in this function)
gtkglarea.c:36: error: (Each undeclared identifier is reported only once
gtkglarea.c:36: error: for each function it appears in.)
gtkglarea.c:38: error: syntax error before "object_info"
gtkglarea.c:51: error: `GTK_TYPE_DRAWING_AREA' undeclared (first use in this function)
gtkglarea.c:53: error: `object_info' undeclared (first use in this function)
gtkglarea.c: At top level:
gtkglarea.c:55: error: syntax error before "return"
gtkglarea.c: In function `gtk_gl_area_class_init':
gtkglarea.c:61: error: `GtkObjectClass' undeclared (first use in this function)
gtkglarea.c:61: error: `object_class' undeclared (first use in this function)
gtkglarea.c:63: warning: assignment makes pointer from integer without a cast
gtkglarea.c:64: error: syntax error before ')' token
gtkglarea.c: In function `gtk_gl_area_init':
gtkglarea.c:73: error: dereferencing pointer to incomplete type
gtkglarea.c:74: error: `FALSE' undeclared (first use in this function)
gtkglarea.c: At top level:
gtkglarea.c:79: error: syntax error before '*' token
gtkglarea.c: In function `gtk_gl_area_new_vargs':
gtkglarea.c:82: error: `GtkWidget' undeclared (first use in this function)
gtkglarea.c:82: error: `glarea' undeclared (first use in this function)
gtkglarea.c:85: error: `gint' undeclared (first use in this function)
gtkglarea.c:85: error: `attrlist' undeclared (first use in this function)
gtkglarea.c:93: error: syntax error before "int"
gtkglarea.c: At top level:
gtkglarea.c:108: error: syntax error before '*' token
gtkglarea.c:114: error: syntax error before '*' token
gtkglarea.c: In function `gtk_gl_area_share_new':
gtkglarea.c:120: error: `GdkVisual' undeclared (first use in this function)
gtkglarea.c:120: error: `visual' undeclared (first use in this function)
gtkglarea.c:130: error: dereferencing pointer to incomplete type
gtkglarea.c:130: error: `TRUE' undeclared (first use in this function)
gtkglarea.c:138: warning: assignment makes pointer from integer without a cast
gtkglarea.c:139: error: dereferencing pointer to incomplete type
gtkglarea.c:161: warning: return makes pointer from integer without a cast
gtkglarea.c: At top level:
gtkglarea.c:166: error: syntax error before '*' token
gtkglarea.c: In function `gtk_gl_area_destroy':
gtkglarea.c:170: error: `object' undeclared (first use in this function)
gtkglarea.c:173: error: syntax error before "GtkGLArea"
gtkglarea.c:174: error: dereferencing pointer to incomplete type
gtkglarea.c:176: error: invalid type argument of `->'
gtkglarea.c:177: error: invalid type argument of `->'
gtkglarea.c: At top level:
gtkglarea.c:185: error: syntax error before "gtk_gl_area_make_current"
gtkglarea.c: In function `gtk_gl_area_make_current':
gtkglarea.c:187: error: `FALSE' undeclared (first use in this function)
gtkglarea.c:191: error: invalid type argument of `->'
gtkglarea.c:191: error: dereferencing pointer to incomplete type
gtkglarea.c: At top level:
gtkglarea.c:195: error: syntax error before "gtk_gl_area_begingl"
gtkglarea.c: In function `gtk_gl_area_swap_buffers':
gtkglarea.c:219: error: invalid type argument of `->'
gtkglarea.c: At top level:
gtkglarea.c:222: error: syntax error before "gint"
gtkglarea.c: In function `gtk_gl_area_size':
gtkglarea.c:224: error: `glarea' undeclared (first use in this function)
gtkglarea.c:227: error: `width' undeclared (first use in this function)
gtkglarea.c:227: error: `height' undeclared (first use in this function)
make[1]: *** [gtkglarea.lo] Error 1
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/gtkglarea-1.99.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

В чем проблема?

спасибо

Quote:gdkgl.h:22:18: glib.h:

Цитата:
gdkgl.h:22:18: glib.h: No such file or directory
gdkgl.h:31:21: gdk/gdk.h: No such file or directory

Собственно, вот. Эти файлы в /usr/include есть? Если нет, поставь gtk+

ага,

ага, переустановка gtk+ помогла. Теперь все установлено.
Начинаю конфигурирование... gconf-editor не видит compiz
добавляю

 # export GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults"
# gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schemas
Must set the GCONF_CONFIG_SOURCE environment variable
#

никакого эффекта :(
но что значит must set ?

ps Еще не установлен ни Gnome, ни KDE

Ну вопервых,

Ну вопервых, решись: gnome или kde. От этого зависит какой compiz ставить.
Во-вторых, попробуй:
GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults" gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schemas

Re: Ну вопервых,

IsakovAN написал(а):
Ну вопервых, решись: gnome или kde. От этого зависит какой compiz ставить.

Поставил ваниллу ("просто compiz" :)). Больше нравится кде, но разве ванилла не годится для гнома? Разве нельзя поставить и кде и гном? ну да ладно это не принципиально.

IsakovAN написал(а):
Во-вторых, попробуй:
GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults" gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schemas

получилось (дык я вводил тоже самое),... мистика

но запустить, не удается :(

# Xgl :1 -ac -accel glx:pbuffer -accel xv
Fatal server error:
no GLX visuals available
#

...почему?

_________
и еще я не могу найти xorg.conf (Х поставил, и ничего не настраивал), может в этом рпоблема?

Quote:Больше

Цитата:
Больше нравится кде, но разве ванилла не годится для гнома? Разве нельзя поставить и кде и гном?

Можно. Простой compiz должен со всеми работать.

Цитата:
Xgl :1 -ac -accel glx:pbuffer -accel xv

cat `which startxgl` | grep Xgl
xinit $clientargs -- /usr/bin/Xgl -br -ac -accel xv -accel glx:pbuffer $serverargs -deferglyphs 16 &

Цитата:
и еще я не могу найти xorg.conf (Х поставил, и ничего не настраивал), может в этом рпоблема?

Скорее всего да. Если не хочешь писать в ручную, попробуй xorgcfg/xorgconfig.
Ну и модуль видюхи не забудь подгрузить, если и тебя Nvidia или Ati.

Настроил xorg.conf,

Настроил xorg.conf, сделал modprobe nvidia, но эффекта нет. Может надо собирать mesa xgl compiz в другой последовательности?

А вот и вывод тех комманд:

# cat `which startxgl` | grep Xgl
cat: which startxgl: No such file or directory
# xinit $clientargs -- /usr/bin/Xgl -br -ac -accel xv -accel glx:pbuffer $serverargs -deferglyphs 16 &
[2] 5449
[1] Exit 1          xinit $clientargs -- /usr/bin/Xgl -br -ac -accel xv -accel glx:pbuffer $serverargs -deferglyphs 16 &
Fatal server error:
Server is already active for display 0
if this server is no longer running, remove /tmp/.X0-lock and start again.
xinit: Server error
#

таки да, xorg.conf

таки да, xorg.conf виноват (а точнее xorgconfig)
название драйвера стояло "nv", я поставил "nvidia" и при запуске увидел их логотип :)
теперь
# Xgl :1 -ac -accel glx:pbuffer -accel xv
выдает новое окно... но черное
и все :(

В траблшутах вики описано, когда окна становятся черными при старте compiz,
но в моем случае Start compiz это только следующая команда...

startxgl это тот же

startxgl это тот же startx но с измененной строкой запуска сервера.
Тебе надо создать этот скрипт. Выключить иксы и только потом его запустить.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".