LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-03-2008, 01:52 PM   #1
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Rep: Reputation: 15
Angry Wesnoth won't find boost headers >= 1.33


This problem has been bugging me since about a week ago, and I don't mind compiling packages and installing if the others (applications) that use them will find them! But I cannot compile ogre and KDE 4 AND Wesnoth because of these problems... thx in advance


Note: In KDE 4 w/ cmake it will not find Qt 4.4.0 which I compiled and installed overnight.
 
Old 08-04-2008, 09:17 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
Boost : (The latest version is 1_35)
If you have done ./configure && make && make install
boost is in /usr/local/
headers in /usr/local/include/boost-1_33/boost/

The solution for Wesnoth (and other applications) to find
the boost headers will usually be :

* # ln -s /usr/local/include/boost-1_33/boost/ /usr/local/include/'
* (if your boost version is 1_33)

Then you will have /usr/local/include/boost/
containing the headers.

For problems with other programs mentioned,
please show the errors.

Regards
 
Old 08-05-2008, 01:14 AM   #3
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Smile Thanks

Thank you I'll try it out. I had to reinstall sabayon after installing Crapdoze (Window$) so I need to recompile everything

Last edited by guille4ty; 08-05-2008 at 01:30 AM. Reason: not enough details
 
Old 08-05-2008, 11:22 AM   #4
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Unhappy Nope...

Nope that didn't work... it still tells me:

Code:
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for floor... no
checking for socket... yes
checking for strtoul... yes
checking for PNG support in SDL_image... yes
checking for OGG support in SDL_mixer... yes
checking for Boost headers version >= 1.33... no
configure: error: Could not find Boost headers version >= 1.33
guille4ty@localhost ~/Desktop/wesnoth-1.4.4 $
what else can I do?
 
Old 08-05-2008, 11:31 AM   #5
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Wink Sorry...

I was stupid enough to not check for my Boost edition, in which I found was 1.36, so I had to link that and now it works, Thanks!
 
Old 08-05-2008, 01:19 PM   #6
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Angry ... Now it's something else

Now it complains on some build errors :,( they're humongous I gotta tell you:

Code:
 -I/usr/include/python2.4 -DHAVE_FRIBIDI -I/usr/include -O2 -W -Wall -ansi  -DHAVE_BUILTIN_EXPECT  -D_X11      -DWESNOTH_BOOST_TEST_MAIN -I/usr/local/include   -L/usr/local/lib -o wesnoth game.o about.o actions.o ai.o ai_dfool.o ai_attack.o ai_move.o ai_python.o ai_village.o animated_game.o attack_prediction.o config_adapter.o dialogs.o floating_textbox.o game_display.o game_events.o game_preferences.o game_preferences_display.o gamestatus.o generate_report.o generic_event.o halo.o help.o intro.o leader_list.o menu_events.o mouse_events.o multiplayer.o multiplayer_ui.o multiplayer_wait.o multiplayer_connect.o multiplayer_create.o multiplayer_lobby.o network.o network_worker.o pathfind.o playcampaign.o play_controller.o playmp_controller.o playsingle_controller.o playturn.o publish_campaign.o replay.o replay_controller.o sha1.o settings.o statistics.o team.o terrain_filter.o titlescreen.o tooltips.o unit.o unit_abilities.o unit_animation.o unit_display.o unit_frame.o unit_map.o unit_types.o upload_log.o variable.o widgets/combo.o widgets/scrollpane.o -lwesnoth-core -lwesnoth -L. -lSDL_image -lSDL_mixer -lSDL_net  -lSDL -lpthread -L/usr/lib -lpython2.4  -lfreetype -lz  -lboost_iostreams-gcc41-mt-1_36 -L/usr/lib -lfribidi -lX11
game.o: In function `boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)':
game.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)]+0x36): undefined reference to `boost::iostreams::detail::zlib_base::deflate(int)'
game.o: In function `boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)':
game.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)]+0x2d): undefined reference to `boost::iostreams::detail::zlib_base::inflate(int)'
collect2: ld returned 1 exit status
make[2]: *** [wesnoth] Error 1
make[2]: Leaving directory `/home/guille4ty/Desktop/wesnoth-1.4.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/guille4ty/Desktop/wesnoth-1.4.4'
make: *** [all] Error 2
 
Old 08-06-2008, 02:02 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
May be there is a binary, which can work in your OS ?

http://www.wesnoth.org/wiki/WesnothBinariesLinux

Regards
 
Old 08-06-2008, 12:28 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
I suspect some conflicts caused by 2 versions of
boost. Suggest : Uninstall both and build a new one,
if the files in /usr/local/lib are identical for
the 2 versions. Or if I misunderstood this :

Try using version 1_35

Regards
 
Old 08-06-2008, 03:19 PM   #9
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Wink Got it...

I got what I had to do, I had to install the GNU Make Library, then it worked perfectly
 
Old 08-07-2008, 01:39 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
Beats me, what did you use for make
in the first place ??

Please reveal, which package you installed.

Regards
 
Old 08-08-2008, 01:05 AM   #11
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Smile GNU Make

Sorry, I meant the GNU source installer lib
Source installer
 
  


Reply

Tags
boost, cmake, kde4


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: Could not find Boost headers version >= 1.33 ????? BULPulse Slackware 2 03-11-2008 04:35 PM
Compiling Hugin - problems finding boost headers pwc101 Linux - Software 2 05-21-2007 06:01 AM
Where to find C++ examples using boost:thread shreks Programming 4 09-06-2006 05:24 AM
Wesnoth 0.8 can't find sdl_image webwolf70 Linux - Software 0 11-18-2004 01:03 PM
pytgtk-2, could not find headers _tomMmy_ Linux - Software 4 08-22-2004 10:27 PM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration