Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/boost-1.45.0 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Eagle_
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 119

PostPosted: Tue Dec 21, 2010 12:02 pm    Post subject: dev-libs/boost-1.45.0 [Solved] Reply with quote

Hi all,

i emerged

Quote:
dev-libs/boost 1.45
dev-libs/boost-date_time 1.45
dev-libs/boost-filesystem 1.45
dev-libs/boost-graph 1.45
dev-libs/boost-iostreams 1.45
dev-libs/boost-math 1.45
dev-libs/boost-mpi 1.45
dev-libs/boost-python 1.45
dev-libs/boost-random 1.45
dev-libs/boost-regex 1.45
dev-libs/boost-serialization 1.45
dev-libs/boost-system 1.45
dev-libs/boost-thread 1.45
dev-libs/boost-wave 1.45
dev-util/boost-build 1.45


when i try to compile a program, using boost-1.45 from layman openoffice-gek, i get the following error (worked with boost-1.42):

Quote:
g++ -Wall -lm -ansi -pedantic -W -pipe -O3 -std=gnu++0x -I/usr/local/include -march=core2 -m64 randum.rc3.cpp -c
g++ -lboost_thread -lpthread -L/usr/local/lib -g -p -D BOOST randum.rc3.o -o randum.rc3_64
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_thread
collect2: ld gab 1 als Ende-Status zurück
make: *** [randum.rc3_64] Fehler 1


when i type:
Quote:
eselect boost list


i don't get the option to select boost-1.45

I would like to know of someone have any idea how to solve this linking problem, that i could compile my program using threads.

Thanks


Last edited by Eagle_ on Wed Dec 22, 2010 7:25 am; edited 2 times in total
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Tue Dec 21, 2010 6:01 pm    Post subject: Reply with quote

Start by ensuring you have threads in /etc/make.conf USE flags, and or in /etc/portage/package.use, re-compile.
_________________
idella4@aus
Back to top
View user's profile Send private message
Eagle_
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 119

PostPosted: Wed Dec 22, 2010 7:24 am    Post subject: Reply with quote

Apparently it was something in direct with Gentoo. dev-libs/boost-1.45.0 at project openoffice-geki is not supported by eselect like dev-libs/boost-1.42.0. Due to this reason i need to change in my Makefile the following

Original (not working):
Quote:
LDFLAGS = -lboost_thread -lpthread -L/usr/local/lib


Current (working):
Quote:
LDFLAGS = -lboost_thread-mt-1_45 -lpthread -L/usr/local/lib


it is a bit sad that a project like boost is not any more maintain by gentoo and there is a need to emerge 3rd Party ebuilds....

Regards
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2325
Location: Germania

PostPosted: Wed Dec 22, 2010 12:21 pm    Post subject: Reply with quote

yep, it is sad. and it would be cool to have an eselect feature for boost.
but I have not seen a sane approach that would not fail in one or another way. therefore gone.

you may look at the "bugs" happening with the current eselect feature for boost at the end of the wiki entry:
http://code.google.com/p/gekis-playground/wiki/Boost
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43551
Location: 56N 3W

PostPosted: Wed Dec 22, 2010 6:08 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

As its in support of packages from an overly.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum