PDA

View Full Version : problemmi ad installare amule


skar01
16-03-2007, 21:03
Riepilogando::::::::::::::::::::::::
ho anche scritto nella sezione novizi.
da due gg cerco di inst amule ma mi da il msg di errore di cui sotto. ho cambiato 2 volte il pacchetto gtk ma mi da errore, ho unaso diversi sorgenti ma mi da errore


error:
wxWidgets must be installed on your system but wx-config
script couldn't be found. Please check that wx-config is
in path or specified by --with-wx-config=path flag, the
directory where wxWidgets libraries are installed (returned
by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.6.0 or above.

penso di aver capito che wx-config script non è dove deve essere....
ps uso manddddriva 2007

Ora, qualcuno saprebbe spiegarmi come come trovare wxWidgets libraries e come specificare con (penso) wx-config=path flag dove si trova la libreria?????????????

scusate l'intrusione.

pistolinux
16-03-2007, 23:22
prima ancora di cercare lo script incriminato, ti sei accertato di aver installato wxwidgets?
wxWidgets must be installed on your system:)

skar01
17-03-2007, 00:55
per un attimo ci ha sperato ma niente

[root@localhost aMule-2.1.3]# ls
ABOUT-NLS aMule.spec config.log install-sh*
acinclude.m4 amule.xpm config.rpath* m4/
aclocal.m4 autogen.sh* config.sub* Makefile.am
aMule.app/ autom4te.cache/ configure* Makefile.in
aMule-CVS.spec Compilation.flags.in configure.in missing*
amule.desktop compile* configWIN32.h* mkinstalldirs*
amule.ico config.guess* convert.ico po/
amule.msp* config.h.in depcomp* src/
amule.rc config.h.in~ docs/ unittests/
[root@localhost aMule-2.1.3]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... yes (version 1.2.3)
checking whether we need the GUI... yes
checking for wx-config... no
configure: error:
wxWidgets must be installed on your system but wx-config
script couldn't be found. Please check that wx-config is
in path or specified by --with-wx-config=path flag, the
directory where wxWidgets libraries are installed (returned
by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.6.0 or above.

[root@localhost aMule-2.1.3]#



sbaglio qualcosa???? mi soo mica perso un pezzo???

skar01
17-03-2007, 01:00
puo essere che quando ho partizionato ho ccreato 1 partizione usr, 1var, 1 home e 1 tmp e qst a rinco il sistema rispetto allo standard????

pistolinux
17-03-2007, 01:49
the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command)
col comando in grassetto puoi vedere in che directory sta questo beneamato wx-config.. sempre che tu le wxwidgets le abbia installate...
Quando vuoi compilare qualcosa è necessario avere installati, oltre alla versione classica dei programmi richiesti dalle dipendenze, anche la versione -dev:cool: altrimenti avrai sempre errori..
Io uso Debian e quindi non so quali specifici rpm tu debba installare, ma il consiglio che posso darti è di leggere il README dei sorgenti di amule e poi, ad ogni nome di libreria che ti richiede, tu gli aggiungi un bel "-dev" e la installi..:)

i pacchetti delle librerie necessarie sulla mia distro sono:
libwxbase2.6-dev
libwxgtk2.6-dev
libwxgtk2.4-dev
wx2.6-headers
wx2.4-headers
wx-common

spero che i nomi siano simili ai pacchetti rpm che servono a te...

un'ultima cosa, ho ricompilato aMule da CVS proprio ieri notte ed il mio configure era questo:
./configure --enable-optimize --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-amule-gui --enable-wxcas --enable-alc --prefix /usr/local/
(almeno aggiungi un pò di cose necessarie...);)
ciao

ps: se col comando che c'è all'inizio trovi dove sta wx-config puoi dirlo al configure aggiungendo:
--with-wx-config=NomeCartellaInCuiL'HaiTrovato
alla sfilza di opzioni che ti ho scritto...

Scoperchiatore
17-03-2007, 11:05
Ma perchè non si legge mai questa MALEDETTA FAQ?

http://www.hwupgrade.it/forum/showthread.php?t=1224343

C'è scritto a chiare lettere che NON si deve installare un qualunque programma da sorgenti, se la distribuzione che si ha non è a sorgenti.

Configura il tuo packet manager che fa proprio quello per cui tu ti stai dannando, in automatico!
Poi installa un front end, e comodamente, cliccando due volte sul nome "amule", esso verrà installato. Facile, no? Come leggere un documento....

Con mandriva si usa urpmi, che è facilissimo da configurare. Se non trovi su questo forum o altrove delle guide, allora riposta che cerco di darti una mano.