PDA

Visualizza versione completa : Kino


Ghandalf
26-10-2003, 15.48.00
MDK9.1

Sto provando ad installarlo dai sorgenti...

Al ./configure mi rida':

checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... 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 not installed
./configure: line 8995: exit: or: numeric argument required
./configure: line 8995: exit: or: numeric argument required


ovviamente GTK e' installato.


LD_LIBRARY_PATH -> come lo modifico?

Inoltre avete il link per scaricare i sorgenti di ldconfig?

Con l'rpm mi dice che tutto e' gia' intallato...se e' gia' installato dove lo trovo? Nel centro di controllo MDK non trova nulla...

ho anche provato ad aggiungere il path che porta a gtk2.2.0 in ld.so.conf, ma nulla continua a darmi questo errore.

idee?..:)

pholcus
26-10-2003, 18.02.23
Dopo aver aggiornato ld.so.conf hai dato il comando ldconfig?

Altrimenti fai cosi nella console da cui compili:

export LD_LIBRARY_PATH=/path/to/gtk:$LD_LIBRARY_PATH
(sempre che tu abbia bash)

Se invece vuoi aggiungerlo sempre al path

export LD_LIBRARY_PATH=/path/to/gtk:$LD_LIBRARY_PATH >> ~/.bashrc

e te lo mette nel file .bashrc dell'utente..

Ciao

Ghandalf
26-10-2003, 21.39.03
Suppongo di avere bash installato perche' dando il comando non mi da nessun errore.

Dopo avere aggiornato ld.so.conf mi sono spostato in /sbin ed ho dato ldconfig.

Nessun errore...

Ma continua a dirmi che gtk non c'e'...stesso messaggio.

puo' darsi che sbagli il percorso in ld.so.conf?

Io ho aggunto il percorso in cui e' installato gtk -> /etc/gtk-2.0...

Ghandalf
27-10-2003, 00.18.50
Credo il prob dipenda dal fatto che non ho installato gtk-devel 2.2...

Lo cerco ma non lo trovo...link per scaricarlo?

pholcus
27-10-2003, 09.22.25
gtk in /etc ?? :eek: :eek: :eek:

Prova su rpmfind

Ciao!

Ghandalf
27-10-2003, 11.25.08
bhe, le librerie sono in /usr/lib...

insisto...