zipios++ problem
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 2
- Joined: October 17th, 2004, 3:02 am
- Contact:
zipios++ problem
Hello,
I noticed that Wesnoth can use zipios++ since 0.8.9. I am not sure if zipios++ is a good choice of library because it seems deprecated. The official release (0.1.5) dates of 2001, which is pretty old. This release does not support GCC 3 whereas GCC 3.3 or even 3.4 is installed on the majority of modern distributions. Installing GCC 2.96 in addition to GCC 3 is a great source of problems just to compile zipios. The CVS of zipios became, for some unknown reasons, inaccessible for anonymous users, so a user cannot get a CVS copy of zipios++. I tried with WebCVS and also obtain errors.
On the zipios++ mailing list, I found a way to patch zipios++ 0.1.5 to get it work under newer gcc. However, it requires editing several .h and .cpp files in the distribution. If zipios++ is so hard to compile, a lot of people won't bother compiling it and the ZIP support will be disabled for the majority of the users. Since there are no official Linux binaries on the download page, it seems important for the compilation to be as easy as possible. It would be a good idea to add a link to a working snapshot of zipios++ on the Wesnoth's Web page or to integrate it in the source tree, or use zlib directly to access Zip files.
I noticed that Wesnoth can use zipios++ since 0.8.9. I am not sure if zipios++ is a good choice of library because it seems deprecated. The official release (0.1.5) dates of 2001, which is pretty old. This release does not support GCC 3 whereas GCC 3.3 or even 3.4 is installed on the majority of modern distributions. Installing GCC 2.96 in addition to GCC 3 is a great source of problems just to compile zipios. The CVS of zipios became, for some unknown reasons, inaccessible for anonymous users, so a user cannot get a CVS copy of zipios++. I tried with WebCVS and also obtain errors.
On the zipios++ mailing list, I found a way to patch zipios++ 0.1.5 to get it work under newer gcc. However, it requires editing several .h and .cpp files in the distribution. If zipios++ is so hard to compile, a lot of people won't bother compiling it and the ZIP support will be disabled for the majority of the users. Since there are no official Linux binaries on the download page, it seems important for the compilation to be as easy as possible. It would be a good idea to add a link to a working snapshot of zipios++ on the Wesnoth's Web page or to integrate it in the source tree, or use zlib directly to access Zip files.
Re: zipios++ problem
As far as I know, to build wesnoth with zipios support, you need the CVS version of zipios++ (track it down via the sourceforge zipios++ page). This is still an experimental feature; if it becomes mainstream then a better solution is likely to be implemented (eg. our own copy in the source tree, or a different compression library altogether).Eric Buist wrote:I am not sure if zipios++ is a good choice of library because it seems deprecated. The official release (0.1.5) dates of 2001, which is pretty old.
libzip2 (part of the bzip suite) http://sources.redhat.com/bzip2
Not sure if you can use it on a mac though
Not sure if you can use it on a mac though
-
- Inactive Developer
- Posts: 173
- Joined: January 15th, 2004, 5:09 pm
- Location: Zaragoza, Spain
- Contact:
Well, zipios++ works perfectly in Debian, you can get the Debian .orig.tar.gz from any mirror, for example:
ftp://ftp.de.debian.org/debian/pool/main/z/zipios++/
It is a CVS checkout with works correctly with gcc-3.3.
Best regards
ftp://ftp.de.debian.org/debian/pool/main/z/zipios++/
It is a CVS checkout with works correctly with gcc-3.3.
Best regards
Zipios for Slackware
Zipios is maybe a working package in Debian, but it is worse to compile. After hours I now got the packed debian sources working with Slackware, the packages for Slackware 10.2 are available at http://www.sirtobi.com/ and (i hope) at http://www.linuxpackages.net/ in a few days or hours.
To use it, i had to add a LDFLAGS="-ldl" to my configure command line.
btw, i think i am really not the only one who has problems to get this not very well mantained package working. Are there any trys to make use of other libraries in the near future?
So long and happy slashing,
SirTobi
To use it, i had to add a LDFLAGS="-ldl" to my configure command line.
btw, i think i am really not the only one who has problems to get this not very well mantained package working. Are there any trys to make use of other libraries in the near future?
So long and happy slashing,
SirTobi