View previous topic :: View next topic |
Author |
Message |
GhePeU Guru


Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Tue Aug 12, 2003 10:50 pm Post subject: Problema con librerie wxWindows [risolto] |
|
|
salve a tutti! primo post (anche se lurko da due-tre mesi, da quando ho deciso di provare gentoo), primo problema...
è da un po' che provo inutilmente a compilare le librerie wxWindows 2.4.1, ogni volta il processo si arresta con lo stesso errore, che riporto in seguito
l'ebuild è ancora masked, si può trovare in /usr/portage/x11-libs/wxGTK/ ed è richiesto per l'ultima versione di vlc
qualcuno potrebbe provare a vedere se ha lo stesso errore?
Code: | :/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
make: *** [lib/libwx_gtk2_gl-2.4.so.0.0.0] Error 1
!!! ERROR: x11-libs/wxGTK-2.4.1 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! make failed
|
grazie  _________________ That is not dead which can eternal lie,
and with strange aeons even death may die.
Last edited by GhePeU on Wed Aug 13, 2003 5:39 pm; edited 1 time in total |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Aug 13, 2003 5:46 am Post subject: |
|
|
Mi pare tu stia compilando il pacchetto con supporto per gtk2. Ti consigio di provare cfon gtk, credo ci siano ancora dei bug con gtk2 ad es in xmule non si possono inserire direttamente link per il download.
Se non erro la compilazione con gtk2 è sconsigliata anche se a me andò a buon fine (ma non ricordo la versione)
CMQ prova l'emerge con 'USE="gtk -gtk2".  _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Wed Aug 13, 2003 6:43 am Post subject: |
|
|
Ma non manca il pacchetto * media-libs/mesa? _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
GhePeU Guru


Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Wed Aug 13, 2003 5:39 pm Post subject: |
|
|
bsolar wrote: | Mi pare tu stia compilando il pacchetto con supporto per gtk2. Ti consigio di provare cfon gtk, credo ci siano ancora dei bug con gtk2 ad es in xmule non si possono inserire direttamente link per il download.
Se non erro la compilazione con gtk2 è sconsigliata anche se a me andò a buon fine (ma non ricordo la versione)
CMQ prova l'emerge con 'USE="gtk -gtk2".  |
hai ragione, così ha funzionato
avevo letto di questi problemi, ma le 2.4.0 avevano compilato tranquillamente con supporto gtk2 (a parte il problema dei link diretti di xmule, comunque risolto nell'ultima realese stabile 1.4.3) quindi pensavo che anche la nuova versione avrebbe fatto lo stesso...
grazie  _________________ That is not dead which can eternal lie,
and with strange aeons even death may die. |
|
Back to top |
|
 |
GhePeU Guru


Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Wed Aug 13, 2003 9:18 pm Post subject: |
|
|
domanda da niubbo...
dopo aver aggiornato le wxWindows xMule non funzionava più (link errato a lib-qualcosa.so) e ho dovuto ricompilare per farlo andare...
come regola generale, che succede quando si aggiornano librerie? bisogna ricompilare tutto, dipende caso per caso? e se aggiorno il compilatore? ad esempio se passo da gcc 3.2.3-r1 a r2? e se passo al 3.3? _________________ That is not dead which can eternal lie,
and with strange aeons even death may die. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31515 Location: here
|
Posted: Wed Aug 13, 2003 9:23 pm Post subject: |
|
|
GhePeU wrote: | domanda da niubbo...
dopo aver aggiornato le wxWindows xMule non funzionava più (link errato a lib-qualcosa.so) e ho dovuto ricompilare per farlo andare...
come regola generale, che succede quando si aggiornano librerie? bisogna ricompilare tutto, dipende caso per caso? e se aggiorno il compilatore? ad esempio se passo da gcc 3.2.3-r1 a r2? e se passo al 3.3? |
Quando si aggiornano le librerie puo' succedere che un programma piu' vecchio cerchi una lib
vecchia, es lib1.so, che e' stata aggiornata e rinomintata in lib2.so. Nella maggior parte dei
casi basta fare un link (ln -s lib1.so lib2.so). _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Wed Aug 13, 2003 9:49 pm Post subject: |
|
|
fedeliallalinea wrote: | Quando si aggiornano le librerie puo' succedere che un programma piu' vecchio cerchi una lib
vecchia, es lib1.so, che e' stata aggiornata e rinomintata in lib2.so. Nella maggior parte dei
casi basta fare un link (ln -s lib1.so lib2.so). |
In genere cmq e' un bug non trovare piu' una libreria. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31515 Location: here
|
Posted: Wed Aug 13, 2003 9:51 pm Post subject: |
|
|
cerri wrote: | In genere cmq e' un bug non trovare piu' una libreria. |
Si mi sono dimenticato di dirlo, bisognerebbe aprire un bug report. Io ho dato una soluzione
temporanea al problema. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
|