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

Joined: 13 Jul 2005 Posts: 419
|
Posted: Sun Aug 21, 2005 9:47 am Post subject: [RISOLTO] emerge xmms con errore gtk+ |
|
|
Ciao, è strano che nessuno abbia manifestato questo errore, che anche altri non italiani
hanno, ma senza una soluzione!
In pratica, emergendo xmms-1.2.10-r15, si verifica questo errore:
Code: |
checking for GTK - version >= 1.2.2... no
*** Could not run GTK test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK or finding the wrong
*** version of GTK. If it is not finding GTK, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
*** rpm --erase --nodeps gtk gtk-devel
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
|
Direte voi: non è installato gtk+! E invece no...gtk+ è installato perfettamente
anche se non sono riuscito a trovare la versione devel di gtk+.
E' ormai un mese che ho questo problema e non riesco a venirne fuori...
qualcuno ha dei suggerimenti??? _________________ Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Last edited by DevOne on Mon Aug 22, 2005 9:15 pm; edited 1 time in total |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Sun Aug 21, 2005 9:56 am Post subject: |
|
|
Quote: | this usually means
*** that the run-time linker is not finding GTK or finding the wrong
*** version of GTK. If it is not finding GTK, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system |
qui sembra parlare chiaro.. dovresti intanto vedere cosa c'e' in LD_LIBRARY_PATH e magari con locate trovare il path giusto ed assegnarlo (set) a questa variabile..
hai dato per caso un env-update di recente? prova.. _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
DevOne Guru

Joined: 13 Jul 2005 Posts: 419
|
Posted: Sun Aug 21, 2005 9:59 am Post subject: |
|
|
neryo wrote: |
qui sembra parlare chiaro.. dovresti intanto vedere cosa c'e' in LD_LIBRARY_PATH e magari con locate trovare il path giusto ed assegnarlo (set) a questa variabile..
hai dato per caso un env-update di recente? prova.. |
Ho provato a settare anche la variabile globale, ma senza risultati, anche perchè non trovo il path corretto di gtk+ (ho usato /usr/lib/gtk-2.0/2.4.0) ma non mi sembra che contenga le librerie!!! _________________ Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/ |
|
Back to top |
|
 |
SonOfTheStage n00b


Joined: 02 Mar 2004 Posts: 39 Location: ::1
|
Posted: Sun Aug 21, 2005 10:06 am Post subject: |
|
|
Installa le GTK+ v. 1.x, xmms è scritto con quella versione delle librerie.
Code: |
emerge =x11-libs/gtk+-1.2.10-r11
|
Ciao  |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Sun Aug 21, 2005 10:26 am Post subject: |
|
|
hai controlla il valore di LD_LIBRARY_PATH?
Code: | # echo $LD_LIBRARY_PATH |
se contiene qualcosa... fai un unset della variabile e riprova! _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
DevOne Guru

Joined: 13 Jul 2005 Posts: 419
|
Posted: Sun Aug 21, 2005 10:27 am Post subject: |
|
|
SonOfTheStage wrote: | Installa le GTK+ v. 1.x, xmms è scritto con quella versione delle librerie.
Ciao  |
Code: |
emerge =x11-libs/gtk+-1.2.10-r11 -p
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/gtk+-1.2.10-r11
|
Come vedi sono già installate... _________________ Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/ |
|
Back to top |
|
 |
bender86 Guru


Joined: 18 Mar 2005 Posts: 484
|
Posted: Mon Aug 22, 2005 5:19 pm Post subject: |
|
|
Hai compilato le gtk con LDFLAGS="-Wl,--as-needed"? Anche a me si rifiutava di emergere xmms dopo aver introdotto questa flag, ma non so se era il motivo reale, perché ne ho approfittato per reinstallare gentoo (avevo troppi pacchetti installati, e dovevo aggiornare la glibc). |
|
Back to top |
|
 |
DevOne Guru

Joined: 13 Jul 2005 Posts: 419
|
Posted: Mon Aug 22, 2005 9:15 pm Post subject: |
|
|
bender86 wrote: | Hai compilato le gtk con LDFLAGS="-Wl,--as-needed"? Anche a me si rifiutava di emergere xmms dopo aver introdotto questa flag, ma non so se era il motivo reale, perché ne ho approfittato per reinstallare gentoo (avevo troppi pacchetti installati, e dovevo aggiornare la glibc). |
GRANDE!!! Era proprio quello il problema!
Bene grazie a tutti  _________________ Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/ |
|
Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Jan 20, 2006 1:16 pm Post subject: |
|
|
Bene grazie a tutti  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
 |
Cazzantonio Bodhisattva


Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Fri Jan 20, 2006 5:38 pm Post subject: |
|
|
DevOne wrote: | bender86 wrote: | Hai compilato le gtk con LDFLAGS="-Wl,--as-needed"? |
GRANDE!!! Era proprio quello il problema!
Bene grazie a tutti  |
Guarda che tale flag è altamente instabile e produce notoriamente un sacco di problemi... se ti balocchi con flag di questo tipo dovresti essere anche in grado di risolvere i problemi da solo... è inutile che poi ti lamenti che ti vengono fuori degli errori... _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
 |
^Stefano^ Guru


Joined: 20 Nov 2005 Posts: 394 Location: Ferrara
|
Posted: Sat Jan 21, 2006 12:25 pm Post subject: |
|
|
secondo me il tuo problema è dato dal fatto che hai la versione di gtk 2.8.8 quando invece per xmms è necessaria la 1.2.x perchè anche io ho questo problema. praticamente stamane ho notato che avevo due versioni di gtk in due slot, ho disinstallato la più vecchia e ora xmms non si avvia più dicendomi che gli manca proprio quella versione. ho reinstallato anche l'altra versione come [Ebuild NS] e ora tutto è tornato apposto. _________________ 8-09 V-Day con una raccolta firme. Vi aspettiamo
Raccolta Firme
Progetto tRicicloPC con Linux |
|
Back to top |
|
 |
|