zipios++ problem

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Eric Buist
Posts: 2
Joined: October 17th, 2004, 3:02 am
Contact:

zipios++ problem

Post by Eric Buist »

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.
KK_r
Posts: 277
Joined: November 17th, 2003, 4:25 pm
Location: Malmö, Sweden

Post by KK_r »

Agree. If it's not in portage it's probably not worth compiling :). I think wesnoth should use a more common library and don't start adding strang deps.
ott
Inactive Developer
Posts: 838
Joined: September 28th, 2004, 10:20 am

Re: zipios++ problem

Post by ott »

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.
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).
Val
Posts: 3
Joined: March 2nd, 2005, 11:19 am
Location: Middle East

Post by Val »

libzip2 (part of the bzip suite) http://sources.redhat.com/bzip2
Not sure if you can use it on a mac though
isaac
Inactive Developer
Posts: 173
Joined: January 15th, 2004, 5:09 pm
Location: Zaragoza, Spain
Contact:

Post by isaac »

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
sirtobi
Posts: 4
Joined: April 20th, 2005, 7:36 pm
Contact:

Zipios for Slackware

Post by sirtobi »

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
Post Reply