View previous topic :: View next topic |
Author |
Message |
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Wed Dec 08, 2004 11:58 pm Post subject: [RISOLTO] Problemi emersione GIMP |
|
|
Ciao a tutti...ho appena provato ad emergere GIMP ma sfortunatamente l'emersione si interrompe subito a causa di questi errori:
Code: | gdkgl.c:25:19: GL/gl.h: No such file or directory
gdkgl.c:26:20: GL/glx.h: No such file or directory
gdkgl.c:58: error: syntax error before "GLXContext"
gdkgl.c:58: warning: no semicolon at end of struct or union
gdkgl.c:60: error: syntax error before '}' token
gdkgl.c: In function `gdk_gl_get_info':
gdkgl.c:76: error: `GLX_VENDOR' undeclared (first use in this function)
gdkgl.c:76: error: (Each undeclared identifier is reported only once
gdkgl.c:76: error: for each function it appears in.)
gdkgl.c:77: error: `GLX_VERSION' undeclared (first use in this function)
gdkgl.c:78: error: `GLX_EXTENSIONS' undeclared (first use in this function)
gdkgl.c: In function `gdk_gl_choose_visual':
gdkgl.c:91: warning: assignment makes pointer from integer without a cast
gdkgl.c: In function `gdk_gl_context_share_new':
gdkgl.c:132: error: `GLXContext' undeclared (first use in this function)
gdkgl.c:132: error: syntax error before "glxcontext"
gdkgl.c:142: error: `glxcontext' undeclared (first use in this function)
gdkgl.c:142: error: dereferencing pointer to incomplete type
gdkgl.c:150: error: invalid application of `sizeof' to an incomplete type
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: 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: In function `gdk_gl_make_current':
gdkgl.c:205: error: dereferencing pointer to incomplete type
gdkgl.c:205: error: dereferencing pointer to incomplete type
gdkgl.c: At top level:
gdkgl.c:239: error: syntax error before "GLXPixmap"
gdkgl.c:239: warning: no semicolon at end of struct or union
gdkgl.c:242: error: syntax error before '}' token
gdkgl.c: In function `gdk_gl_pixmap_new':
gdkgl.c:253: error: `GLXPixmap' undeclared (first use in this function)
gdkgl.c:253: error: syntax error before "glxpixmap"
gdkgl.c:271: error: `glxpixmap' undeclared (first use in this function)
gdkgl.c:276: error: invalid application of `sizeof' to an incomplete type
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 an incomplete type
gdkgl.c:312: error: invalid application of `sizeof' to an incomplete type
gdkgl.c:312: error: invalid application of `sizeof' to an incomplete type
gdkgl.c:312: error: invalid application of `sizeof' to an incomplete type
gdkgl.c:312: error: invalid application of `sizeof' to an incomplete type
gdkgl.c:312: error: invalid application of `sizeof' to an incomplete type
gdkgl.c: In function `gdk_gl_pixmap_make_current':
gdkgl.c:320: error: `GLXPixmap' undeclared (first use in this function)
gdkgl.c:320: error: syntax error before "glxpixmap"
gdkgl.c:321: error: `GLXContext' undeclared (first use in this function)
gdkgl.c:326: error: dereferencing pointer to incomplete type
gdkgl.c:327: error: `glxpixmap' undeclared (first use in this function)
gdkgl.c:327: error: dereferencing pointer to incomplete type
gdkgl.c:328: error: `glxcontext' undeclared (first use in this function)
gdkgl.c:328: error: dereferencing pointer to incomplete type
make[1]: *** [gdkgl.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
gtkglarea.c:21:19: GL/gl.h: No such file or directory
make[1]: *** [gtkglarea.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkglarea-1.99.0/work/gtkglarea-1.99.0/gtkgl'
make: *** [all-recursive] Error 1
!!! ERROR: x11-libs/gtkglarea-1.99.0 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message |
Quale può essere la causa???
Grazie.... _________________ Cream
" We live as we dream : ALONE "
Last edited by Crema83 on Sat Dec 11, 2004 12:24 am; edited 1 time in total |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Thu Dec 09, 2004 12:07 am Post subject: |
|
|
a me gtkglarea ha compilato senza problemi, sinceramente mi pare strana sta cosa...
con che flag CFLAGS stai compilando e su che architettura e con che versione di gcc?
(giusto per iniziare)
edit:
prova a far riferimento a questo post qui e vedi se risolvi qualcosa:
https://forums.gentoo.org/viewtopic.php?t=154315&highlight=gtkglarea _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31202 Location: here
|
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 11:03 am Post subject: |
|
|
Grandioso Peach...effettivamente come era detto nel post che mi hai indicato non avevo caricato i moduli glx!!!
Quote: | check your /etc/X11/XF86Config file and look in the modules section if theres a line
Load "glx" |
Ora lo sto emergendo e non mi sta dando problemi...
Grazie _________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Dec 10, 2004 1:06 pm Post subject: |
|
|
Crema83 wrote: | Ora lo sto emergendo e non mi sta dando problemi...
Grazie |
Prego
aggiungi [RISOLTO] al titolo editando il primo tuo post _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 1:19 pm Post subject: |
|
|
Crema83 wrote: | Ora lo sto emergendo e non mi sta dando problemi...
Grazie |
Come non detto...si è ribloccato!!! _________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 1:20 pm Post subject: |
|
|
Peach wrote: | aggiungi [RISOLTO] al titolo editando il primo tuo post |
Ho cantato vittoria troppo presto... _________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Dec 10, 2004 1:24 pm Post subject: |
|
|
Crema83 wrote: | Peach wrote: | aggiungi [RISOLTO] al titolo editando il primo tuo post |
Ho cantato vittoria troppo presto... |
stesso errore?
per provare, visto che ti si pianta proprio su quel pacchetto (gtkglarea) potresti emergere direttamente solo quello, e poi riprendere con gimp. _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 1:54 pm Post subject: |
|
|
Peach wrote: | stesso errore?
per provare, visto che ti si pianta proprio su quel pacchetto (gtkglarea) potresti emergere direttamente solo quello, e poi riprendere con gimp. |
mi da lo stesso errore anche cercando di emergere separatamente gtkglarea !!! _________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Dec 10, 2004 2:01 pm Post subject: |
|
|
ora te hai aggiunto (se non ce l'avevi prima) qualcosa tipo
in Xorg.conf / XFree86.conf
ma hai anche aggiornato l'environment glx, come suggerito dal post che avevo linkato: https://forums.gentoo.org/viewtopic.php?t=154315&highlight=gtkglarea
che scheda video hai? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 2:20 pm Post subject: |
|
|
Io ho una ATI Radeon 9200 ... e cercando sul portage ho visto che i glx x Ati non ci sono...o sbaglio??? _________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Dec 10, 2004 2:27 pm Post subject: |
|
|
tc- wrote: | Problem solved.
Since i couldn't run "opengl-update nvidia" because i used nvidia's own drivers and not the "emerge nvidia-* drivers" i did the fololwing:
To find out what lib libGL.so is currently linked to and take note:
Code: | ls -l /usr/lib/libGL.so |
To setup the opengl stuff (This will change the libGL.so to link another GL lib, among other things i have no idea about Smile ):
Code: | opengl-update xfree |
But we want it to be linked to the old one, so:
Code: | rm /usr/lib/libGL.so
ln -s /usr/lib/[The old lib here (in my case libGL.so.1)] /usr/lib/libGL.so |
After that gimp and all the other libs compiled.
This worked for me but that's no garantee, i'm just a gentoo n00b |
_________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 6:22 pm Post subject: |
|
|
Quotiamo con umanita' grazie -- fedeliallalinea
@Peach: Avevo già provato a fare questi passaggi ma niente...il problema sussiste!!! Ora provo a smanettare un pò qua e là (così almeno spero di iniziare a prendere un pò la mano ) e poi vedo cosa riesco a combinare...
_________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
Crema83 Apprentice
Joined: 06 Oct 2004 Posts: 207 Location: Settimo Milanese (MI)
|
Posted: Fri Dec 10, 2004 10:19 pm Post subject: |
|
|
Trovata la soluzione...
Il comando che creava problemi, o meglio: non facevo risolvere il problema, era:
Code: | rm /usr/lib/libGL.so
ln -s /usr/lib/[The old lib here (in my case libGL.so.1)] /usr/lib/libGL.so |
Non facendo questo passaggio ma limitandomi solo ai primi 2:
Code: | ls -l /usr/lib/libGL.so
opengl-update xorg-x11
|
sono riuscito finalmente ad emerge Gimp !!!
_________________ Cream
" We live as we dream : ALONE " |
|
Back to top |
|
|
|