well... I did exactly as said in the wiki and still could not compile it.
I've downloaded, compiled and installed wxGTK-2.6.3. One thing I am not sure about is applying the patches... all I had to do was extract
wxWidgets-2.6.3-Patch-2.tar in the same directory as
wxGTK-2.6.3.tar?? (This is the only thing I did)
I did EXACTLY this:
$ bunzip2 wxGTK-2.6.3.tar.bz2
$ tar -xvf wxGTK-2.6.3.tar
$ gunzip wxWidgets-2.6.3-Patch-2.tar.gz
$ tar -C wxGTK-2.6.3 -xvf wxWidgets-2.6.3-Patch-2.tar
$ cd wxGTK-2.6.3
$ ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise
$ make
$ sudo make install
$ sudo ldconfig
Anyway... When I try to configure amule-2.1.1 (./configure --disable-debug --enable-optimize) , I get the following final output:
Configure script has finished system check.
Configured aMule 2.1.1 for 'i686-pc-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr/local
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
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? no
**** aMule WebServer ****
Should aMule WebServer 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 2.6.2
crypto++ embedded
zlib 1.2.2
shouldn't wxWidgets version be 2.6.3 instead of 2.6.2??
compiling it raises an error (with some lines before and after):
(...)
/usr/local/include/wx-2.6/wx/x11/pen.h: In copy constructor `wxPen::wxPen(const
wxPen&)':
/usr/local/include/wx-2.6/wx/x11/pen.h:45: warning: base class `class
wxGDIObject' should be explicitly initialized in the copy constructor
In file included from listctrl.cpp:4:
extern/listctrl.262.cpp: In member function `int
MuleExtern::wxListLineDataArray::Index(const
MuleExtern::_wxObjArraywxListLineDataArray&, bool) const':
extern/listctrl.262.cpp:375: warning: declaration of `Item' shadows a member of
`this'
In file included from /usr/local/include/wx-2.6/wx/scrolbar.h:60,
from /usr/local/include/wx-2.6/wx/univ/renderer.h:52,
from extern/listctrl.262.cpp:1678,
from listctrl.cpp:4:
/usr/local/include/wx-2.6/wx/univ/scrolbar.h: At global scope:
/usr/local/include/wx-2.6/wx/univ/scrolbar.h:113: error: conflicting return
type specified for `virtual wxWindow* MuleExtern::wxScrollBar::GetWindow()'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:92: error: overriding `virtual
MuleExtern::wxWindow* MuleExtern::wxControlWithArrows::GetWindow()'
/usr/local/include/wx-2.6/wx/univ/scrolbar.h: In member function `virtual
MuleExtern::wxRenderer* MuleExtern::wxScrollBar::GetRenderer() const':
/usr/local/include/wx-2.6/wx/univ/scrolbar.h:112: error: cannot convert `
wxRenderer* const' to `MuleExtern::wxRenderer*' in return
In file included from extern/listctrl.262.cpp:1678,
from listctrl.cpp:4:
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual
MuleExtern::wxRect
MuleExtern::wxDelegateRenderer::GetBorderDimensions(wxBorder) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:750: error: return type `struct
MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:750: error: invalid use of
undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of
`struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/renderer.h: In member function `virtual
MuleExtern::wxRect MuleExtern::wxDelegateRenderer::GetScrollbarRect(const
MuleExtern::wxScrollBar*, MuleExtern::wxScrollBar::Element, int) const':
/usr/local/include/wx-2.6/wx/univ/renderer.h:759: error: return type `struct
MuleExtern::wxRect' is incomplete
/usr/local/include/wx-2.6/wx/univ/renderer.h:759: error: invalid use of
undefined type `struct MuleExtern::wxRect'
/usr/local/include/wx-2.6/wx/univ/scrarrow.h:33: error: forward declaration of
`struct MuleExtern::wxRect'
(...)
thanks in advance!
ricardo