aMule Forum
Portuguese => Ajuda aMule => Topic started by: esqueleto on February 15, 2005, 04:46:40 AM
-
Viva
estou a obter um erro bem estranho na compilação do aMule.
Acabei de instalar o Ubuntu, por isso deve estar a faltar resolver alguma dependencia que não é detectada no ./configure que tem este 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) yes
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? yes
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? yes
**** 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 2.5.3
GTK 2.6.2
quando faço make .. a certa altura obtenho montes de erros. Vou aqui colocar somente o inicio dos erros.
make[4]: Entering directory `/home/esqueleto/TEMP/aMule-2.0.0rc8/src'
g++ -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -lpthread -o amulegui amulegui-amule-gui.o amulegui-amuleDlg.o amulegui-BarShader.o amulegui-CatDialog.o amulegui-ChatSelector.o amulegui-ChatWnd.o amulegui-ClientCredits.o amulegui-ClientDetailDialog.o amulegui-ClientListCtrl.o amulegui-ColorFrameCtrl.o amulegui-CommentDialog.o amulegui-CommentDialogLst.o amulegui-CFile.o amulegui-DirectoryTreeCtrl.o amulegui-DownloadListCtrl.o amulegui-filemem.o amulegui-FileDetailDialog.o amulegui-FileDetailListCtrl.o amulegui-FriendListCtrl.o amulegui-listctrl.o amulegui-muuli_wdr.o amulegui-MuleGifCtrl.o amulegui-MuleListCtrl.o amulegui-MuleNotebook.o amulegui-MuleTextCtrl.o amulegui-MuleTrayIcon.o amulegui-otherfunctions.o amulegui-OScopeCtrl.o amulegui-packets.o amulegui-Preferences.o amulegui-PrefsUnifiedDlg.o amulegui-SearchDlg.o amulegui-SearchList.o amulegui-SearchListCtrl.o amulegui-SharedFilesCtrl.o amulegui-SharedFilesWnd.o amulegui-ServerListCtrl.o amulegui-StatisticsDlg.o amulegui-StringFunctions.o amulegui-eggtrayicon.o amulegui-SysTray.o amulegui-gtk2-funcs.o amulegui-gtkplugxembed.o -pthread -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 -lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lz -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
amulegui-amule-gui.o(.text+0xf9): In function `CamuleGuiApp::OnExit()':
/home/esqueleto/TEMP/aMule-2.0.0rc8/src/amule-gui.cpp:178: undefined reference to `CamuleApp::OnExit()'
amulegui-amule-gui.o(.text+0x12b): In function `CamuleGuiApp::ShutDown()':
/home/esqueleto/TEMP/aMule-2.0.0rc8/src/amule-gui.cpp:183: undefined reference to `CamuleApp::ShutDown()'
amulegui-amule-gui.o(.text+0x1d2): In function `CamuleGuiApp::OnInit()':
/home/esqueleto/TEMP/aMule-2.0.0rc8/src/amule-gui.cpp:198: undefined reference to `CamuleApp::OnInit()'
amulegui-amule-gui.o(.text+0x64f): In function `CamuleGuiApp::ListenSocketHandler(wxSocketEvent&)':
/home/esqueleto/TEMP/aMule-2.0.0rc8/src/amule-gui.cpp:351: undefined reference to `CListenSocket::OnAccept(int)'
amulegui-amule-gui.o(.text+0x682): In function `CamuleGuiApp::UDPSocketHandler(wxSocketEvent&)':
/home/esqueleto/TEMP/aMule-2.0.0rc8/src/amule-gui.cpp:374: undefined reference to `CUDPSocket::ReceiveAndDiscard()make[4]: *** [amulegui] Interrupt
make[3]: *** [all-recursive] Interrupt
make[2]: *** [all] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt
===== CTRL+C
Que erro é este ??? Como resolver ??
Obrigado
(())
Esqueleto
-
esqueleto,
Pega um tarball mais recente que o rc8 aqui:
http://amule.hirnriss.net/
Descompacta e roda:
$ make distclean && ./autogen
Aí sim você dá o configure e o make. Se descompactar num diretório vazio, não precisa do make distclean.
Abraços,
Phoenix.
-
~/TEMP/amule-cvs $ make distclean && ./autogen
make: *** No rule to make target `distclean'. Stop.
este é o erro que tenho agora.
realmente esta instalação está enguiçada ......
(())
Esqueleto
Odivelas - Portugal
-
esqueleto,
parece que te esqueceste do que o phoenix disse... eheheh :D
so precisas do make distclean se descompactares essa versao cvs para a directoria antiga, caso contrario o make distclean nao vai funcionar (como reparaste) porque o ficheiro Makefile ainda nem sequer existe e so ira ser criado depois da chamada ao ./configure
Para ja, podes comecar por chamar o ./autogen.sh e dps .... (o resto - ./configure ...)
HTH
geeko
-
Hum, foi mal :) eu disse "não precisa executar o make distclean", mas deveria ter dito "não pode executar o make distclean" :D
-
sudo ./autogen.sh
Setting up internationalization files.
autopoint: *** cvs program not found
autopoint: *** Stop.
config.status: creating intl/Makefile
config.status: error: cannot find input file: intl/Makefile.in
Running aclocal -I m4
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
Running autoheader
Running autoconf
Running automake --foreign -a -c -f
configure.in:636: required file `intl/Makefile.in' not found
quando faço autogen obtenho este erro....
-
verifica se tens o gettext (bin+devel) instalado
geeko
-
Andaram por aí uns problemas com a libtool. Parece-me que é daí que vêm os teus problemas, tenta ver se tens um update para isso, volta a re-instalar.
Tó
-
tb me aconteceu isso...
ja tentei com tudo k aki dizeram e nada... :\
como faço o update do libtool? (meio noob ainda...)