Can't Compile Trunk - Gzip Iostreams
Moderator: Forum Moderators
Can't Compile Trunk - Gzip Iostreams
Hello Everyone.
I can't compile the wesnoth trunk. Trying to compile gives me this:
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.
- loonycyborg
- Windows Packager
- Posts: 295
- Joined: April 1st, 2008, 4:45 pm
- Location: Russia/Moscow
Re: Can't Compile Trunk - Gzip Iostreams
Run scons with --config=force and attach build/config.log if it still fails
"meh." - zookeeper
Re: Can't Compile Trunk - Gzip Iostreams
Still Problem.
Attached
Attached
- Attachments
-
- wesnoth.log
- (6.43 KiB) Downloaded 341 times
Re: Can't Compile Trunk - Gzip Iostreams
So what distribution are you using? Are you sure that you got boost iostreams with gzip support installed? ...
Re: Can't Compile Trunk - Gzip Iostreams
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
EDIT: Problem still persists in .40
- loonycyborg
- Windows Packager
- Posts: 295
- Joined: April 1st, 2008, 4:45 pm
- Location: Russia/Moscow
Re: Can't Compile Trunk - Gzip Iostreams
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
Re: Can't Compile Trunk - Gzip Iostreams
OK. I'll upgrade to boost 1.42.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.
EDIT: Still isn't fixed.
- loonycyborg
- Windows Packager
- Posts: 295
- Joined: April 1st, 2008, 4:45 pm
- Location: Russia/Moscow
Re: Can't Compile Trunk - Gzip Iostreams
Could you do --config=force and attach build/config.log again?
"meh." - zookeeper
Re: Can't Compile Trunk - Gzip Iostreams
install libboost-iostreams1.42-dev