Can't Compile Trunk - Gzip Iostreams

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
arielbys
Posts: 51
Joined: May 6th, 2008, 2:57 pm

Can't Compile Trunk - Gzip Iostreams

Post by arielbys »

Hello Everyone.

I can't compile the wesnoth trunk. Trying to compile gives me this:

Code: Select all

$ scons
scons: Reading SConscript files ...
Saved options: default_targets = 'test,wesnoth,wesnothd'
Building Wesnoth version 1.9.0-svn
Checking for C header file poll.h... (cached) yes
Checking for C header file sys/poll.h... (cached) yes
Checking for C header file sys/select.h... (cached) yes
Checking for C header file sys/sendfile.h... (cached) yes
Checking for C function sendfile()... (cached) yes
Checking for C library m... (cached) yes
Checking for C function round()... (cached) yes
Checking whether C++ compiler works (g++ version >= 3.3 required)... (cached) yes
Checking for Gettext's libintl... (cached) libc built-in
Checking for Boost iostreams library version >= 1.34.1... (cached) yes
Checking for gzip support in Boost Iostreams... (cached) no
Base prerequisites are not met.
Client prerequisites are not met. wesnoth, cutter and exploder cannot be built.
Unit tests are disabled because their prerequisites are not met.
If any config checks fail, look in build/config.log for details
If a check fails spuriously due to caching, use --config=force to force its rerun
scons: done reading SConscript files.
scons: Building targets ...
error_action(["wesnoth"], [])
scons: *** [wesnoth] Target disabled because its prerequisites are not met
scons: building terminated because of errors.
User avatar
loonycyborg
Windows Packager
Posts: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Can't Compile Trunk - Gzip Iostreams

Post by loonycyborg »

Run scons with --config=force and attach build/config.log if it still fails
"meh." - zookeeper
arielbys
Posts: 51
Joined: May 6th, 2008, 2:57 pm

Re: Can't Compile Trunk - Gzip Iostreams

Post by arielbys »

Still Problem.
Attached
Attachments
wesnoth.log
(6.43 KiB) Downloaded 341 times
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Re: Can't Compile Trunk - Gzip Iostreams

Post by ivanovic »

So what distribution are you using? Are you sure that you got boost iostreams with gzip support installed? ...
arielbys
Posts: 51
Joined: May 6th, 2008, 2:57 pm

Re: Can't Compile Trunk - Gzip Iostreams

Post by arielbys »

Ubuntu Karmic. I installed Boost IOStreams-dev 1.38. Now upgrading to 1.40 and seeing if it fixes the problem

EDIT: Problem still persists in .40
User avatar
loonycyborg
Windows Packager
Posts: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Can't Compile Trunk - Gzip Iostreams

Post by loonycyborg »

This could be caused by version mismatch between boost headers and libraries. The error message mentions boost::iostreams::detail::zlib_base::xdeflate but there's no such symbol either in 1.38 or 1.40. It was introduced in 1.41 so you seem to somehow use headers from later boost version.
"meh." - zookeeper
arielbys
Posts: 51
Joined: May 6th, 2008, 2:57 pm

Re: Can't Compile Trunk - Gzip Iostreams

Post by arielbys »

loonycyborg wrote:This could be caused by version mismatch between boost headers and libraries. The error message mentions boost::iostreams::detail::zlib_base::xdeflate but there's no such symbol either in 1.38 or 1.40. It was introduced in 1.41 so you seem to somehow use headers from later boost version.
OK. I'll upgrade to boost 1.42.

EDIT: Still isn't fixed.
User avatar
loonycyborg
Windows Packager
Posts: 295
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Can't Compile Trunk - Gzip Iostreams

Post by loonycyborg »

Could you do --config=force and attach build/config.log again?
"meh." - zookeeper
AI
Developer
Posts: 2396
Joined: January 31st, 2008, 8:38 pm

Re: Can't Compile Trunk - Gzip Iostreams

Post by AI »

install libboost-iostreams1.42-dev
Post Reply