Voltando à minha saga pelos "Mules" pra Linux, acabo de tentar instalar o L-Mule e o X-Mule e deu %$$#@!& nos dois. É muito engraçado qdo vc vai compilar o bagulho, o configure diz que está tudo ok, cria o make file e tal e no meio do make dá erro... Olhem só:
Compilação do L-Mule:
checking for wx-config... /usr/bin/wx-config
checking for wxWindows version >= 2.4.0... yes (version 2.4.5)
checking if wxWindows was linked with GTK2... ./configure: line 7284: --cppflags: command not found
no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
..........
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/wx/Makefile
config.status: creating src/wx/xrc/Makefile
config.status: creating Makefile
config.status: creating Compilation.flags
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Agora o make, ia indo bem até aparecer:
SafeFile.h:29: error: extra qualification ‘CSafeFile::’ on member ‘CSafeFile’
SafeFile.h:36: error: extra qualification ‘CSafeMemFile::’ on member ‘CSafeMemFile’
PPgNotify.h:43: error: extra qualification ‘CPPgNotify::’ on member ‘DialogBrowseFile’
ED2KLink.h:67: error: extra qualification ‘CED2KFileLink::’ on member ‘CED2KFileLink’
PartFile.h:109: error: extra qualification ‘CPartFile::’ on member ‘getPartfileStatus’
PartFile.h:110: error: extra qualification ‘CPartFile::’ on member ‘getTimeRemaining’
SharedFileList.h:90: error: ‘CSharedFilesCtrl’ has not been declared
SharedFileList.h:110: error: ISO C++ forbids declaration of ‘CSharedFilesCtrl’ with no type
SharedFileList.h:110: error: expected ‘;’ before ‘*’ token
SearchList.h:118: error: ‘CSearchListCtrl’ has not been declared
SearchList.h:123: error: ‘CSearchListCtrl’ has not been declared
SearchList.h:136: error: ISO C++ forbids declaration of ‘CSearchListCtrl’ with no type
SearchList.h:136: error: expected ‘;’ before ‘*’ token
SearchList.h: In member function ‘void CSearchList::SetOutputWnd(int*)’:
SearchList.h:123: error: ‘outputwnd’ was not declared in this scope
make[3]: ** [AddFriend.o] Erro 1
make[3]: Saindo do diretório `/home/sidnei/lmule-1.3.1/src'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/home/sidnei/lmule-1.3.1/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/sidnei/lmule-1.3.1'
make: ** [all] Erro 2
Agora o X-Mule, o ./configure foi "yes" do início ao fim, agora olhem o make:
==== Building 3rd-Party Projects ====
==== Building iniparser [1 of 4] ====
make[1]: Nada a ser feito para `default'.
==== Building xrc [2 of 4] ====
== License(s): wxWindows
make[1]: Nada a ser feito para `all'.
==== Building DynPrefs [3 of 4] ====
== License(s): OSSAL and Creative Commons License
make[1]: `../../xLibs/./libDynPrefs.a' está atualizado.
==== Building zlib [4 of 4] ====
== License(s): ZLib
make[1]: Nada a ser feito para `all'.
==== Building xMule ====
== License(s): GPL
BaseClient.cpp
PartFile.h:116: error: extra qualification ‘CPartFile::’ on member ‘getPartfileStatus’
PartFile.h:117: error: extra qualification ‘CPartFile::’ on member ‘getTimeRemaining’
SafeFile.h:28: error: extra qualification ‘CSafeFile::’ on member ‘CSafeFile’
SafeFile.h:35: error: extra qualification ‘CSafeMemFile::’ on member ‘CSafeMemFile’
make[1]: ** [obj/BaseClient.o] Erro 1
make: ** [all] Erro 2
Depois eu achei um xmule-1.13.6.x86-gcc33.package que bastou executar que ele instalou tudo "bunitinhu", mas ao tentar abrir o X-Mule pelo terminal dá:
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/actions of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/apps of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/categories of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/devices of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/emblems of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/emotes of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/mimetypes of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/places of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 72x72/status of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/actions of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/apps of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/categories of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/devices of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/emblems of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/emotes of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/mimetypes of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/places of theme CrashBit has no size field
(xmule:13051): Gtk-WARNING **: Theme directory 96x96/status of theme CrashBit has no size field
Setting value of 0x902ab7c to true.
Setting value of 0x8cd6cfc to true.
Setting value of 0x8cd725c to true.
*** glibc detected *** xmule: munmap_chunk(): invalid pointer: 0x08cb2c14 ***
E depois de um monte de linhas no terminal (não coloquei o resto pq senão ia ficar um post enorme, muito maior do que já está) deu Core Dumped. É isso que chateia, hehehehe...