aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amule non funziona più  (Read 5820 times)

pestekkorna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
  • ho 29 anni e vivo a napoli
Amule non funziona più
« on: February 19, 2005, 06:56:07 PM »

salve!
ho una distro mandrake powerpack 10.1
ho installato amule scaricando il pacchetto rpm dal sito, non l'ho dunque compilato.
ha funzionato bene fino all'altra sera.
lo lanciavo dall'icona sulla barra delle applicazioni e tutto andava bene. poi ieri mattina ho voluto fare la stessa cosa... ma a parte la finestra con la scritta "sto avviando amule", non succede nulla.
se lo lancio da terminale con permessi di root, funziona.
secondo voi?
grazie dell'attenzione e a presto,
gennaro
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Amule non funziona più
« Reply #1 on: February 19, 2005, 08:00:40 PM »

Dovresti provare a lanciarlo da terminale loggato come utente normale e vedere cosa dice.

Puoi anche provare a cancellare (fai backup) la dir .aMule e il file .eMule della tua home.
Logged

pestekkorna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
  • ho 29 anni e vivo a napoli
Re: Amule non funziona più
« Reply #2 on: February 19, 2005, 08:13:41 PM »

dunque, grazie per la risposta.
ho provato a cancellare le cartelle suddette.
rilancio con l'icona e mi dice "questa è la prima volta che esegui etc." ma poi non sucecede niente
se lancio da terminale come user normale, ecco il risultato:
[gennaro@localhost gennaro]$ amule
Initialising aMule
Userhash loaded: B66F72A4EC0EAA8BF572965620FE6FDB
*** UDP socket at 4665
[gennaro@localhost gennaro]$

e poi basta. nada.
:(
e mo?
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Amule non funziona più
« Reply #3 on: February 20, 2005, 12:42:18 AM »

In genere questo problema è dovuto a un problema nei file di configurazione e cancellandoli dovrebbe risolversi....

Non saprei, ho visto che hai postato anche in inglese, magari qualche dev li
dapra aiutarti...

Comunque se come utente root parte allora cancellando .aMule e .eMule del tuo utente DEVE partire. Prova magari a crearti al volo un utente di prova e controlla se li' parte.

In ogni caso, che versione hai di aMule?
Prova magari con una CVS: http://www.hirnriss.net/?area=cvs
« Last Edit: February 20, 2005, 12:46:33 AM by Frankk »
Logged

pestekkorna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
  • ho 29 anni e vivo a napoli
Re: Amule non funziona più
« Reply #4 on: February 20, 2005, 11:26:48 AM »

caro frank,
la mia versione è la rpm per mandrake 2.0.0rc8... l'ultima stabile che ho trovato sul sito.
dunque. da terminale come superuser parte e funziona. da terminale come semplice utente mi dà il messaggio che ho già riportato.
ho provato a cancellare la directory .amule (ed .xmule, perché io non ho .emule) sia da /home/user, sia da /root... che non si sa mai.
ho provato poi a lanciare il programma da terminale come utente semplice. mi dice che è la prima volta che eseguo amule e poi niente. mentre se lo lancio da root fa la stessa cosa ma poi parte.
la cosa strana è che fino alla sera prima il programma funzionava perfettamente. ho anche provato a rimuoverlo attraverso il MCC e reinstallarlo ma senza risultati.
poi ho creato un utente al volo per fare la prova ma sai che quando cerco di loggarmi mi da 1000 problemi perche dicè che non riesce ad accedere a $home? allora l'ho l anciato con l'altra interfaccia grafica, quella semplice, parte ma poi non riesco ad accedere alla shell... boh...

seconda parte. ho provato a lanciare l'ultimo cvs. solita cosa... ./configure poi make e poi make install...
ma ovviamente arrivati a make mi dà una serie di errori per cui non riesco a continuare...
ecco il risultato:
[root@localhost amule-cvs]# ./configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-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... 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... bison -y
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 zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for curl >= 7.9.5... ./configure: line 1: bc: command not found
yes (version 7.12.1)
checking for libpng-config... /usr/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.6)
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no
configure:
        WARNING: libpng-devel >= 1.2.0 is needed for amuleweb

checking for gdlib-config... no
configure:
        WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found
.
        gd-lib is needed for fully funtional cas. If you don't have gd-lib,
        cas will be compiled, but you won't be able to create that cool
        status image (text mode however will work). Also note that you should
        upgrade to gd-lib >= 2.0.22 if you intend to use it, other versions have
        not been tested and therefore are unsupported at the moment.
        Please check that gdlib-config is in your default path, check out
        LD_LIBRARY_PATH or equivalent variable.
        Or this might also be that your gdlib-config has other name.
        Please try again with --with-gdlib-config=/usr/bin/gdlib-config
        (replace /usr/bin/gdlib-config with a valid path to your gdlib-config).
        If you use compiled packages check if you have devel pack installed.
        To download the lastest version check http://www.boutell.com/gd
        for sources.

checking whether we need the GUI... yes
checking for wx-config... no
./configure: line 6197: test: : integer expression expected
checking for wxbase-2.4-config... no
checking if wxWidgets was linked with GTK2... ./configure: line 6417: --cppflags
: command not found
no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWidgets version >=2.5.0 ... ./configure: line 7069: --version: com
mand not found
no
./configure: line 1: --version: command not found
crypto check disabled, using embedded libs
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for strerror in -lcposix... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, ch
ar * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash...
 yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should use UTF-8 strings... no
checking whether pure GTK code should be compiled... yes
checking for a readline compatible library... -lreadline -lcurses
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/kademlia/Makefile
config.status: creating src/kademlia/utils/Makefile
config.status: creating src/kademlia/io/Makefile
config.status: creating src/kademlia/kademlia/Makefile
config.status: creating src/kademlia/routing/Makefile
config.status: creating src/kademlia/net/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/webserver/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


  Configure script has finished system check.

  Configured aMule CVS for 'i686-redhat-linux-gnu'.

  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 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?      no
  Should aMuleLinkCreator for console (alcc) be built?     no

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

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

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

non posso postare anche  make e make install per problemi di spazio... se vuoi ti mando il risultato via mail...
ho sbagliato io a prendere la cvs oppure a fare qualcosa, mi  manca qualche dipendenza? sono un po' zero in questo senso... scusami e grazie per l'attenzione!
:)
buona domenica!
gennaro :baby:
Logged

reeky

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 88
Re: Amule non funziona più
« Reply #5 on: February 20, 2005, 01:56:29 PM »

già dal configure mi sembra di vedere qualche problema (wx?)

da mcc disinstalla la vecchia versione di amule e tutte le librerie wx. poi installa wxgtk, wxgtk-devel e wxbase dal sito di amule.

riprova il configure e facci sapere.

bye

ps: per caso, fra quando amule funzionava a quando non ha più funzionato hai installato altro software, magari forzando l'aggiornamento di librerie già installate?

pps: ho visto solo ora che il file per mdk 10.1 include anche le librerie wx; considera eventualmente anche l'ipotesi di reinstallarlo dopo aver fatto le cancellazioni di cui di parlavo
« Last Edit: February 20, 2005, 02:00:42 PM by reeky »
Logged

pestekkorna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
  • ho 29 anni e vivo a napoli
Re: Amule non funziona più
« Reply #6 on: February 20, 2005, 01:59:48 PM »

probabile...
in effetti ho fatto l'aggiornamento di alcune cose che ho trovato in updates del MCC... e gia avevo notato una regressione di kopete... dal mio 0.92 a quello 0.84!
dopo provo seguendo le tue indicazioni e ti faccio sapere!
grazie!
:)
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Amule non funziona più
« Reply #7 on: February 20, 2005, 02:04:13 PM »

Quote
Originally posted by pestekkorna

ho provato a cancellare la directory .amule (ed .xmule, perché io non ho .emule) sia da /home/user, sia da /root... che non si sa mai.
[CUT]
gennaro :baby:

Ti ho consigliato di ricompilare per avere comunque l'ultima versione, cvs che corregge parecchi problemi, ma non credo che il tuo problema si risolva in questo modo e cmq ti ha già risposto reeky al riguardo.

Dunque .eMule non è una directory ma un file. Magari non lo trovi perchè cerchi una directory. Da come descrivi il tuo problema sono convinto che cancellando quel file amule riparta.

Altrimenti non so.
Frankk
Logged

pestekkorna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
  • ho 29 anni e vivo a napoli
Re: Amule non funziona più
« Reply #8 on: February 20, 2005, 07:48:39 PM »

caro frankk, rispondo solo ora perché sono uscito ma prima ho provato a seguire passo passo le tue indicazioni, rimuovendo tutto e reinstallando quello che mi  avevi detto (prendendolo dal sito). poi ho cercato di fare ./configure, make e make install ma ho avuto nuovi problemi. allora ho reinstallato la versione rpm con le librerie annesse, presente sul sito, sono andato nella directory dov'era il file .emule, l'ho cancellato ed ora riesco a lanciare il programma come facevo prima! ti ringrazio!
però vorrei chiederti: come mai l'aver cancellato quel file mi fa funzionare di nuovo amule in modalità user? curiosità da neofita.
:)
grazie per l'interesse e per l'attenzione e soprattutto scusa per l'ignoranza.
a presto,
gennaro
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Amule non funziona più
« Reply #9 on: February 21, 2005, 07:36:20 PM »

caro pestekkorna, purtroppo amule ha ancora alcuni bug. Quello che hai incontrato tu in particolare può essere dovuto da uno o entrambe le seguenti situazioni: per qualche motivo è stato scritto qualcosa in maniera non corretta nel file .eMule oppure aMule scrive nel file qualcosa che sarebbe corretto ma per qualche bug in lettura viene interpretato male e quindi fa crashare il programma.

Comunque il problema è noto e si sta lavorando per risolverlo.

Speriamo che venga eliminato almeno nella versione 2.0.0 final.

Ciao.
Frankk
« Last Edit: February 21, 2005, 07:37:18 PM by Frankk »
Logged

pestekkorna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
  • ho 29 anni e vivo a napoli
Re: Amule non funziona più
« Reply #10 on: February 21, 2005, 07:49:54 PM »

Grazie Frankk!
è bello sapere di poter contare su persone come te, anche solo per una spiegazione. molte volte mi capita di dover fare delle cose per risolvere problemi su linux ma vorrei capire anche perché faccio determinate cose e come esse agiscono e consentono il corretto funzionamento del tutto.
sono un neofita e mi  piacerebbe capire quello che faccio. grazie a gente come te, a volte ci riesco!
buon lavoro e a presto!
gennaro (peste)
« Last Edit: February 21, 2005, 09:35:14 PM by pestekkorna »
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Amule non funziona più
« Reply #11 on: February 21, 2005, 09:32:18 PM »

Felice di poterti essere di aiuto.

Ciao.
Frankk
Logged