PDA

View Full Version : GTK, wxWidgets, e programmi che le usano. HowTo??


Scoperchiatore
20-03-2005, 22:21
Allora, sto provando a installare amule, ma il configura mi dice che non trova nè le GTK nè le wxWidgets.

Questo è il suo output:

Configure script has finished system check.

Configured aMule 2.0.0rc8 for 'i686-pc-linux'.

aMule enabled options:

**** aMule Core ****
Should aMule be compiled in debug mode? yes
Should aMule be compiled with verbose console output? no
Should aMule be compiled with upload speed sense? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with systray? yes
Should aMule be compiled with UTF-8 systray? no
Should aMule be compiled with pure GTK code? yes
Should aMule be linked against patched gsocket? no
Should aMule monolithic application be built? yes
Should aMule daemon version be built? (EXPERIMENTAL) no
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? embeded

**** aMule TextClient ****
Should aMule Command Line Client be built? no
Should aMule GUI Client be built? no

**** aMule WebServer ****
Should aMule WebServer be built? no
Should aMule WebServer GUI be built? no

**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes

**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? yes
Should aMuleLinkCreator for console (alcc) be built? no

**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? yes
Should aMule GUI Statistics (wxCas) be built? yes

**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets Not detected
GTK Not detected

NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
amuleweb amulecmd and alcc


Allora, da bravo utonto, mi sono orientato sull'installazione delle GTK, tanto se non ho quelle le wxWidgets non fungono.
E' ovvio che le GTK cell'ho, ma magari un update... :D

Nell'installare le GLib, tutto ok. Ho scaricato le glib 2.6.3, configure make make install senza altri parametri, e tutto è andato bene.

A questo punto, provo ad installare le GTK+, ma ho questo messaggio:


checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0... Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.4.8
configure: error: Library requirements (glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0) not met;
consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix
so pkg-config can find them.


Praticamente non vede l'ultima installazione.

Ora probabilmente ho sbagliato io non eliminando la precedente versione di GLib, ma su questo tipo di librerie non è assolutamente semplice orientarsi, per i niubbi.

Mi potete fare una panoramica veloce di queste librerie particolari, di come vanno trattate, e di come disinstallarle e installare le nuove versioni?

Perchè mi sa che se continuo da solo, al prossimo riavvio non parte più niente :D

Scoperchiatore
21-03-2005, 19:06
:cry: :cry: