LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Difficulty with installation of aMule (https://www.linuxquestions.org/questions/linux-software-2/difficulty-with-installation-of-amule-593390/)

aspenbr 10-20-2007 11:31 PM

Difficulty with installation of aMule
 
Hi.

I have trying installing aMule in my Slackware version 12.0.0, the problem come command "make".

The follow message error.

cat erro.log
MuleGifCtrl.cpp: In member function 'bool MuleGifCtrl::LoadData(const char*, int)':
MuleGifCtrl.cpp:69: error: no matching function for call to 'wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)'
/mnt/elo/Programas/binario/wxWidgets/include/wx-2.8/wx/gifdecod.h:105: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/mnt/elo/Programas/binario/wxWidgets/include/wx-2.8/wx/gifdecod.h:53: note: wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: error: 'class wxGIFDecoder' has no member named 'ReadGIF'
MuleGifCtrl.cpp:76: error: 'class wxGIFDecoder' has no member named 'GoFirstFrame'
MuleGifCtrl.cpp:78: error: no matching function for call to 'wxGIFDecoder::ConvertToImage(wxImage*)'
/mnt/elo/Programas/binario/wxWidgets/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::Start()':
MuleGifCtrl.cpp:89: error: 'class wxGIFDecoder' has no member named 'GoLastFrame'
MuleGifCtrl.cpp: In member function 'virtual wxSize MuleGifCtrl::GetBestSize()':
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:105: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::OnTimer(wxTimerEvent&)':
MuleGifCtrl.cpp:113: error: 'class wxGIFDecoder' has no member named 'GoNextFrame'
MuleGifCtrl.cpp:116: error: no matching function for call to 'wxGIFDecoder::ConvertToImage(wxImage*)'
/mnt/elo/Programas/binario/wxWidgets/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to 'wxGIFDecoder::GetDelay()'
/mnt/elo/Programas/binario/wxWidgets/include/wx-2.8/wx/gifdecod.h:66: note: candidates are: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function 'void MuleGifCtrl::OnPaint(wxPaintEvent&)':
MuleGifCtrl.cpp:132: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenWidth'
MuleGifCtrl.cpp:133: error: 'class wxGIFDecoder' has no member named 'GetLogicalScreenHeight'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetLeft'
MuleGifCtrl.cpp:137: error: 'class wxGIFDecoder' has no member named 'GetTop'
make[3]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Why this error ?

Below resume configuration set for aMule.

Configured aMule 2.1.3 for 'i686-pc-linux-gnu'.

aMule enabled options:

**** aMule Core ****
Prefix where aMule should be installed? /mnt/elo/Programas/binario/amule
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule monolithic application be built? yes
Should aMule daemon version be built? no
Should aMule remote gui be built? (EXPERIMENTAL) no
Crypto++ library/headers style? embedded

**** aMule TextClient ****
Should aMule Command Line Client be built? yes

**** aMule WebServer ****
Should aMule WebServer be built? yes

**** 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 2.8.5
crypto++ embedded
libpng 1.2.18
libgd 2.0.35
zlib 1.2.3

Thanks !!!

brianbdl 10-23-2007 02:47 PM

Hello,

I just ran into the same problem with Suse 10.3

The problem is that the classes have changed in wxWidgets 2.8 from 2.6

You can try this patch for building with wxWidgets 2.8:

http://forum.amule.org/index.php?topic=11834.0


On Suse 10.2, I built amule fine using wxGTK 2.6.3.3



UPDATE:

I just successfully built amule with wxWidgets 2.8 from the latest cvs tarball from here:

http://www.amule.org/files/files.php?cat=5

aspenbr 10-27-2007 01:33 PM

Hello

I don't change version wxgtk because many programs have installed depending of wxgtk.

Somebody have idea ?

thanks.


All times are GMT -5. The time now is 03:41 AM.