[Slackware 10.2] installing aMule problems
Hey all! I wanted to have aMule on my Slackware 10.2 system. So I gone to their site, http://www.amule.org and seeked out a package for my dist. Surprise! There was no package for slackware. Well, source then. Downloaded aMule-2.1.3.tar.bz . Bunziped2, untared, and ./configure. When I did that:
configure: error: wxWidgets must be installed on your system but wx-config script couldn't be found. Please check that wx-config is in path or specified by --with-wx-config=path flag, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.6.0 or above. Ok, lets seek out this wxWidgets stuff then. Googled for that, found the website, downloaded wxX11-2.6.3.tar.gz . Gunziped. Untared. Typed: ./configure - OK, no errors: Configured wxWidgets 2.6.3 for `i686-pc-linux-gnu' Which GUI toolkit should wxWidgets use? GTK+ 2 Should wxWidgets be compiled into single library? no Should wxWidgets be compiled in debug mode? no Should wxWidgets be linked as a shared library? yes Should wxWidgets be compiled in Unicode mode? no What level of wxWidgets compatibility should be enabled? wxWidgets 2.2 no wxWidgets 2.4 yes Which libraries should wxWidgets use? jpeg sys png sys regex sys tiff sys zlib sys odbc no expat sys libmspack no sdl no gnomeprint no hildon no So, what is the next step? Oh, "make", right? Then: make. So it started the make process, but...suddenly: In file included from include/wx/dc.h:28, from src/common/event.cpp:46: include/wx/bitmap.h:175:27: wx/gtk/bitmap.h: No such file or directory In file included from include/wx/dc.h:29, from src/common/event.cpp:46: include/wx/brush.h:21: error: syntax error before `{' token include/wx/brush.h:25: error: virtual outside class declaration include/wx/brush.h:25: error: non-member function `int GetStyle()' cannot have `const' method qualifier include/wx/brush.h:25: error: function `int GetStyle()' is initialized like a variable include/wx/brush.h:28: error: virtual outside class declaration include/wx/brush.h:28: error: non-member function `bool IsHatch()' cannot have `const' method qualifier include/wx/brush.h:29: error: syntax error before `}' token In file included from include/wx/dc.h:29, from src/common/event.cpp:46: include/wx/brush.h:38:30: wx/gtk/brush.h: No such file or directory In file included from include/wx/dc.h:30, from src/common/event.cpp:46: include/wx/pen.h:22:24: wx/gtk/pen.h: No such file or directory In file included from src/common/event.cpp:46: include/wx/dc.h:784: error: field `m_pen' has incomplete type include/wx/dc.h:785: error: field `m_brush' has incomplete type include/wx/dc.h:786: error: field `m_backgroundBrush' has incomplete type include/wx/dc.h:787: error: field `m_textForegroundColour' has incomplete type include/wx/dc.h:788: error: field `m_textBackgroundColour' has incomplete type include/wx/dc.h:789: error: field `m_font' has incomplete type include/wx/dc.h: In constructor `wxDCBase::wxDCBase()': include/wx/dc.h:126: error: class `wxDCBase' does not have any field named ` m_pen' include/wx/dc.h:127: error: class `wxDCBase' does not have any field named ` m_brush' include/wx/dc.h:128: error: class `wxDCBase' does not have any field named ` m_backgroundBrush' include/wx/dc.h:129: error: class `wxDCBase' does not have any field named ` m_textForegroundColour' include/wx/dc.h:130: error: class `wxDCBase' does not have any field named ` m_textBackgroundColour' include/wx/dc.h:131: error: class `wxDCBase' does not have any field named ` m_font' include/wx/dc.h: In member function `const wxBrush& wxDCBase::GetBackground() const': include/wx/dc.h:488: error: `m_backgroundBrush' undeclared (first use this function) include/wx/dc.h: In member function `const wxBrush& wxDCBase::GetBrush() const ': include/wx/dc.h:489: error: `m_brush' undeclared (first use this function) include/wx/dc.h: In member function `const wxFont& wxDCBase::GetFont() const': include/wx/dc.h:490: error: `m_font' undeclared (first use this function) include/wx/dc.h: In member function `const wxPen& wxDCBase::GetPen() const': include/wx/dc.h:491: error: `m_pen' undeclared (first use this function) include/wx/dc.h: In member function `const wxColour& wxDCBase::GetTextForeground() const': include/wx/dc.h:493: error: `m_textForegroundColour' undeclared (first use this function) include/wx/dc.h: In member function `const wxColour& wxDCBase::GetTextBackground() const': include/wx/dc.h:494: error: `m_textBackgroundColour' undeclared (first use this function) In file included from src/common/event.cpp:46: include/wx/dc.h:812:27: wx/gtk/dc.h: No such file or directory include/wx/dc.h: At global scope: include/wx/dc.h:851: error: field `m_colFgOld' has incomplete type include/wx/dc.h: In constructor ` wxDCTextColourChanger::wxDCTextColourChanger(wxDC&)': include/wx/dc.h:833: error: class `wxDCTextColourChanger' does not have any field named `m_colFgOld' include/wx/dc.h: In destructor `wxDCTextColourChanger::~wxDCTextColourChanger() ': include/wx/dc.h:837: error: `m_colFgOld' undeclared (first use this function) include/wx/dc.h:838: error: `SetTextForeground' undeclared (first use this function) include/wx/dc.h: In member function `void wxDCTextColourChanger::Set(const wxColour&)': include/wx/dc.h:844: error: `GetTextForeground' undeclared (first use this function) include/wx/dc.h:845: error: `SetTextForeground' undeclared (first use this function) include/wx/dc.h: In constructor `wxDCClipper::wxDCClipper(wxDC&, const wxRect&) ': include/wx/dc.h:865: error: `SetClippingRegion' undeclared (first use this function) include/wx/dc.h: In constructor `wxDCClipper::wxDCClipper(wxDC&, int, int, int, int)': include/wx/dc.h:867: error: `SetClippingRegion' undeclared (first use this function) include/wx/dc.h: In destructor `wxDCClipper::~wxDCClipper()': include/wx/dc.h:869: error: `DestroyClippingRegion' undeclared (first use this function) In file included from src/common/event.cpp:47: include/wx/textctrl.h: At global scope: include/wx/textctrl.h:251: error: field `m_colText' has incomplete type include/wx/textctrl.h:252: error: field `m_colBack' has incomplete type include/wx/textctrl.h:253: error: field `m_font' has incomplete type include/wx/textctrl.h: In member function `void wxTextAttr::SetTextColour(const wxColour&)': include/wx/textctrl.h:206: error: `m_colText' undeclared (first use this function) include/wx/textctrl.h: In member function `void wxTextAttr::SetBackgroundColour(const wxColour&)': include/wx/textctrl.h:207: error: `m_colBack' undeclared (first use this function) include/wx/textctrl.h: At global scope: include/wx/textctrl.h:273: error: base class `wxControl' has incomplete type include/wx/textctrl.h: In member function `bool wxTextCtrlBase::IsSingleLine() const': include/wx/textctrl.h:297: error: `HasFlag' undeclared (first use this function) In file included from src/common/event.cpp:47: include/wx/textctrl.h:430:33: wx/gtk/textctrl.h: No such file or directory include/wx/textctrl.h: In member function `void wxStreamToTextRedirector::Init(wxTextCtrl*)': include/wx/textctrl.h:518: error: no matching function for call to ` std::basic_ostream<char, std::char_traits<char> >::rdbuf(wxTextCtrl*&)' /usr/include/c++/3.3.6/bits/basic_ios.h:309: error: candidates are: std::basic_streambuf<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::rdbuf() const [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/3.3.6/bits/basic_ios.tcc:52: error: std::basic_streambuf<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::rdbuf(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits<char>] src/common/event.cpp: In member function `wxString wxCommandEvent::GetString() const': src/common/event.cpp:425: error: invalid static_cast from type `wxObject* const ' to type `const wxTextCtrl*' src/common/event.cpp:425: error: incomplete type `wxTextCtrl' does not have member `ms_classInfo' src/common/event.cpp:427: error: `GetValue' undeclared (first use this function) src/common/event.cpp: In static member function `static bool wxIdleEvent::CanSend(wxWindow*)': src/common/event.cpp:506: error: `GetExtraStyle' undeclared (first use this function) src/common/event.cpp: In member function `wxPoint wxMouseEvent::GetLogicalPosition(const wxDC&) const': src/common/event.cpp:714: error: `DeviceToLogicalX' undeclared (first use this function) src/common/event.cpp:714: error: `DeviceToLogicalY' undeclared (first use this function) src/common/event.cpp: In constructor ` wxWindowCreateEvent::wxWindowCreateEvent(wxWindow*)': src/common/event.cpp:767: error: no matching function for call to ` wxWindowCreateEvent::SetEventObject(wxWindow*&)' include/wx/event.h:351: error: candidates are: void wxEvent::SetEventObject(wxObject*) src/common/event.cpp: In constructor ` wxWindowDestroyEvent::wxWindowDestroyEvent(wxWindow*)': src/common/event.cpp:773: error: no matching function for call to ` wxWindowDestroyEvent::SetEventObject(wxWindow*&)' include/wx/event.h:351: error: candidates are: void wxEvent::SetEventObject(wxObject*) src/common/event.cpp: In constructor ` wxChildFocusEvent::wxChildFocusEvent(wxWindow*)': src/common/event.cpp:779: error: no matching function for call to ` wxChildFocusEvent::SetEventObject(wxWindow*&)' include/wx/event.h:351: error: candidates are: void wxEvent::SetEventObject(wxObject*) src/common/event.cpp: In function `wxWindow* wxFindFocusDescendant(wxWindow*)': src/common/event.cpp:1433: error: incomplete type 'wxWindow' cannot be used to name a scope src/common/event.cpp:1443: error: `GetParent' undeclared (first use this function) src/common/event.cpp: At top level: include/wx/font.h:129: warning: `wxFont* New(int, int, int, int, bool, const wxString&, wxFontEncoding)' declared `static' but never defined include/wx/font.h:137: warning: `wxFont* New(int, wxFontFamily, int, const wxString&, wxFontEncoding)' declared `static' but never defined include/wx/font.h:147: warning: `wxFont* New(const wxSize&, int, int, int, bool, const wxString&, wxFontEncoding)' declared `static' but never defined include/wx/font.h:155: warning: `wxFont* New(const wxSize&, wxFontFamily, int, const wxString&, wxFontEncoding)' declared `static' but never defined include/wx/font.h:158: warning: `wxFont* New(const wxNativeFontInfo&)' declared `static' but never defined include/wx/font.h:161: warning: `wxFont* New(const wxString&)' declared `static' but never defined include/wx/font.h:214: warning: `wxFontEncoding GetDefaultEncoding()' defined but not used include/wx/font.h:215: warning: `void SetDefaultEncoding(wxFontEncoding)' declared `static' but never defined include/wx/bitmap.h:149: warning: `void AddHandler(wxBitmapHandlerBase*)' declared `static' but never defined include/wx/bitmap.h:150: warning: `void InsertHandler(wxBitmapHandlerBase*)' declared `static' but never defined include/wx/bitmap.h:151: warning: `bool RemoveHandler(const wxString&)' declared `static' but never defined include/wx/bitmap.h:152: warning: `wxBitmapHandler* FindHandler(const wxString&)' declared `static' but never defined include/wx/bitmap.h:153: warning: `wxBitmapHandler* FindHandler(const wxString&, wxBitmapType)' declared `static' but never defined include/wx/bitmap.h:154: warning: `wxBitmapHandler* FindHandler(wxBitmapType)' declared `static' but never defined include/wx/bitmap.h:159: warning: `void CleanUpHandlers()' declared `static' but never defined make: *** [coredll_event.o] Error 1 bash-3.00# Now tell me, where is the problem? With me? With the guys who made the package? With my dist.? Is there any way to solve that? Thanks for the attention! :) |
Try to install the package from linuxpackages.net
|
All times are GMT -5. The time now is 10:02 PM. |