• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

xmule Fehler bei der Installation

meick84

Member
Ich kann leider keine Kategorie finden, daher hier:

Wenn ich versuche xmule zu installieren, bekomme ich folgende Ausgabe (amule bekomme ich erst gar nicht installiert... :-( ):

Lin1:/home/user/Desktop/xmule-1.12.2/xmule-1.12.2 # ./configure

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 whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
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 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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
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 off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
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 unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.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 nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... 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 snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.6.2... yes (version 2.8.0)
checking for wxWidgets static library... no
checking if wxWidgets was linked with GTK2... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.3... yes (version 2.10.6)
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking how to run the C++ preprocessor... g++ -E
checking cryptopp/sha.h usability... no
checking cryptopp/sha.h presence... no
checking for cryptopp/sha.h... no
checking for cryptopp/sha.h... (cached) no
checking for main in -lcryptopp... no
checking for main in -lcrypto++... (cached) no
checking whether pure GTK code should be ignored....
checking whether progress bar drawing should be disabled.... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for gettimeofday... yes
checking for strcasecmp... (cached) yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for compiler with PCH support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/xmule.make
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating xLibs/DynPrefs/DynPrefs.make
config.status: creating xLibs/xrc/xrc.make
config.status: creating autopackage/default.apspec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Lin1:/home/user/Desktop/xmule-1.12.2/xmule-1.12.2 # make

==== Building 3rd-Party Projects ====
==== Building xrc [1 of 3] ====
== License(s): wxWindows
make[1]: Für das Ziel »all« ist nichts zu tun.
==== Building DynPrefs [2 of 3] ====
== License(s): OSSAL and Creative Commons License
make[1]: »../../xLibs/./libDynPrefs.a« ist bereits aktualisiert.
==== Building zlib [3 of 3] ====
== License(s): ZLib
make[1]: Für das Ziel »all« ist nichts zu tun.
==== Building xMule ====
== License(s): GPL
AddFileThread.cpp
AddFileThread.cpp: In member function ‘virtual void* CAddFileThread::Entry()’:
AddFileThread.cpp:116: error: cast from ‘CPartFile*’ to ‘int’ loses precision
make[1]: *** [obj/AddFileThread.o] Fehler 1
make: *** [all] Fehler 2

Lin1:/home/user/Desktop/xmule-1.12.2/xmule-1.12.2 #

Ausführung als Root!!!
 

Gimpel

Guru
meick84 schrieb:
Ich kann leider keine Kategorie finden, daher hier:
öhm.. das edonkey blah forum evtl? http://www.linux-club.de/forum26.html

Wenn ich versuche xmule zu installieren, bekomme ich folgende Ausgabe (amule bekomme ich erst gar nicht installiert... :-( ):

Lin1:/home/user/Desktop/xmule-1.12.2/xmule-1.12.2 # ./configure

checking for g++... g++
[...]
config.status: creating po/Makefile

Lin1:/home/user/Desktop/xmule-1.12.2/xmule-1.12.2 # make

==== Building 3rd-Party Projects ====
==== Building xrc [1 of 3] ====
== License(s): wxWindows
make[1]: Für das Ziel »all« ist nichts zu tun.
==== Building DynPrefs [2 of 3] ====
== License(s): OSSAL and Creative Commons License
make[1]: »../../xLibs/./libDynPrefs.a« ist bereits aktualisiert.
==== Building zlib [3 of 3] ====
== License(s): ZLib
make[1]: Für das Ziel »all« ist nichts zu tun.
==== Building xMule ====
== License(s): GPL
AddFileThread.cpp
AddFileThread.cpp: In member function ‘virtual void* CAddFileThread::Entry()’:
AddFileThread.cpp:116: error: cast from ‘CPartFile*’ to ‘int’ loses precision
make[1]: *** [obj/AddFileThread.o] Fehler 1
make: *** [all] Fehler 2

Lin1:/home/user/Desktop/xmule-1.12.2/xmule-1.12.2 #

Ausführung als Root!!!
Sieht nach nem gcc4 fehler aus. Wo ist das problem mit amule?

Und kompilieren tut man nie als root!!! :p
 
OP
M

meick84

Member
Vielen Dank für den Tipp, warum kompiliert man nicht als root?

Ich würde eh viel lieber amule nutzen, das soll besser sein. Kannst du da was zu sagen? Ich versuche gleich nochmal amule zu installieren, dann sag ich dir was ich für eine Meldung bekomme!

Ich weiß nichtmal ob ich ein I586 oder einen X86_46 Notebook habe! Embarassed Wo sehe ich das denn?

EDIT: Ich habe unter Arbeitsplatz das hier gefunden: openSUSE 10.2 (X86-64)
 

Gimpel

Guru
Also wirklich was zu aMule vs. xMule kann ich nicht sagen, da bei mir seit jahren aMule läuft, xMule war damals zu nichts zu gebrauchen.

Aber nur so nebenbei.. warum benutzt du so eine alte version, laut http://www.xmule.ws/ gibt es schon 1.13.7-rc1

Vielleicht kompiliert das ja ordentlich auf 64bit

EDIT: naja "Unicode support is broken atm." .. das haben die leutz da ja ganz toll gemacht. openSUSE läuft mit unicode, und das ist gut so.

Aber: FIXED: Compilation when using GCC 4.1+.
Genau da lag wohl der Fehler bei dir.
 
Oben