aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: zipstrm.h error  (Read 4542 times)

esteryl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
zipstrm.h error
« on: February 09, 2005, 12:40:17 PM »

The command:
./configure --enable-optimize --enable-profile --enable-amulecmd  --enable-amulecmdgui --enable-amule-daemon --enable-webserver --enable-cas --enable-wxcas  --enable-utf8-systray --disable-gtk
->OUTPUT
  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?                 yes
  Should aMule be compiled with optimizations?             yes
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with UTF-8 systray?             yes
  Should aMule be compiled with pure GTK code?             no
  Should aMule be linked against patched gsocket?          no
  Should aMule monolithic application be built?            yes
  Should aMule daemon version be built? (EXPERIMENTAL)     yes
  Should aMule remote gui be built? (EXPERIMENTAL)         no
  Crypto++ library/headers style?                          embeded

  **** aMule TextClient ****
  Should amulecmd (TextClient) be linked against wxbase?   yes
  Should aMule Command Line Client be built?               yes
  Should aMule GUI Client be built?                        yes

  **** 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?      no
  Should aMuleLinkCreator for console (alcc) be built?     no

  **** 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.4.14 (Not used)

(it alsho happens without  --enable-cas --enable-wxcas  --enable-utf8-systray --disable-gtk)

The errors:
In file included from IPFilter.cpp:32:
/usr/include/wx-2.5/wx/zipstrm.h:21:24: wx/archive.h: File not found
In file included from IPFilter.cpp:32:
/usr/include/wx-2.5/wx/zipstrm.h:128: error: decodification error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:133: error: destructors must be member functions
/usr/include/wx-2.5/wx/zipstrm.h:133: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:135: error: error de decodificación before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:135: error: ISO C++ prohíbe la declaración de `wxZipEntry' sin tipo
/usr/include/wx-2.5/wx/zipstrm.h:136: error: error sintáctico before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:139: error: non-member function `wxDateTime GetDateTime()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: En function `wxDateTime GetDateTime()':
/usr/include/wx-2.5/wx/zipstrm.h:139: error: `m_DateTime' undeclared (first use this function)
/usr/include/wx-2.5/wx/zipstrm.h:139: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
.................................
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class wxZipEntry'
IPFilter.cpp: En member function `int CIPFilter::LoadFromZipFile(const wxString&)':
IPFilter.cpp:360: error: `wxZipInputStream' undeclared (first use this function)
IPFilter.cpp:360: error: error de decodificación before `(' token
IPFilter.cpp:361: error: `inputStream' undeclared (first use this function)
Statistics.h: En el nivel principal:
/usr/include/wx-2.5/wx/zipstrm.h:180: aviso: `wxString GetInternalName(const wxString&, wxPathFormat, bool*)' declared `static' but never defined
/usr/include/wx-2.5/wx/zipstrm.h:448: aviso: `wxObject* wxCreateObject()' declared `static' but never defined
make[4]: *** [amuled-IPFilter.o] Error 1
make[4]: Leaving directory `/root/tmp/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/tmp/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/tmp/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/tmp/amule-cvs'
make: *** [all] Error 2

I tried aMule-cvs-20050209.tar.bz2,aMule-cvs-20050208.tar.bz2

It looks as if there were a missing line (or archive)

What do you think?
« Last Edit: February 09, 2005, 12:49:35 PM by esteryl »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: zipstrm.h error
« Reply #1 on: February 09, 2005, 02:03:32 PM »

esteryl,

How did you install you wxGTK packages? And what is this, is this "(not used)" edited by you? I don't think this message belongs here:

Quote
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.5.3
GTK 2.4.14 (Not used)
Logged

esteryl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
gtk
« Reply #2 on: February 09, 2005, 03:28:07 PM »

i just used option  "--disable-gtk", but without that option crashes too

i installed gtk in debian using apt "apt-get install libgtk2.0-0 libgtk2.0-dev"

what i edited was error messages. Mine are defined in spanish, and i translated some of them. Just that.

Thanks
« Last Edit: February 09, 2005, 03:29:31 PM by esteryl »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: zipstrm.h error
« Reply #3 on: February 09, 2005, 03:55:14 PM »

esteryl,

I am not asking about gtk+, I am asking about wxGTK. I see you run debian. I don't know if the debian package of wxGTK is ok, but I don't remeber hearing complaints. Anyway, why use --disable-gtk? If you have it, why not use?

Your problem is a missing file:
Quote
/usr/include/wx-2.5/wx/zipstrm.h:21:24: wx/archive.h: File not found

So it is probable that your wxGTK instalation is bad. Maybe you should try a different version or compile it yourself. Try reading this:
http://www.amule.org/wiki/index.php/Compilation_Installation

Cheers!
Logged

Skuromis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
Re: zipstrm.h error
« Reply #4 on: February 09, 2005, 07:24:12 PM »

maybe you wanted to have --with-gtk --enable-gtk2 ????
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: zipstrm.h error
« Reply #5 on: February 19, 2005, 10:44:16 AM »

check this thread and the solution...:
should be the same

http://www.amule.org/amule/thread.php?threadid=5139&sid=
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"