Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple Boost versions on one System?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Demonking
n00b
n00b


Joined: 12 Mar 2007
Posts: 41

PostPosted: Mon Oct 14, 2013 11:58 am    Post subject: Multiple Boost versions on one System? Reply with quote

Hello,

i wanted to ask, if there is a way to have multiple Boost versions on 1 System.
For my education i need the new Boost 1.53 but for my work i need 1.49.x .
I remember that earlier there were a boost eselect, but it seems to have disappeared?

Anyone an idea? :)

Greetz

Demonking
_________________
I finally understand why Java's security model is so torturous:
It's to protect everyone else against people who write code like this.

The Answer to Life, the Universe, and Everything = 42
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Mon Oct 14, 2013 2:38 pm    Post subject: Reply with quote

A workaroung for your use case could be

1. an additional kernel cmdline parameter having started by a special grub selection:
boost_for_work

2. you then could in /etc/local.d/<script>
if grep boost_for_work /proc/cmdline

3. quickly emerge back a suitable set
emerge --ask=n --usepkg @boost_work_set

I keep package bins after compile by heaving in /etc/portage/make.conf:
Code:
FEATURES="${FEATURES} buildpkg .... "
EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y ...."


PS: That work_set and private_set of different boost would not just need to have boost but all dependend packages in it.


Last edited by ulenrich on Mon Oct 14, 2013 11:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Mon Oct 14, 2013 9:53 pm    Post subject: Reply with quote

Slotted Boost was convenient for users, but such a pain for the maintainers that it is no longer supported. You must install at most one version of Boost.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Tue Oct 15, 2013 6:20 am    Post subject: Reply with quote

Demonking
if you are brave you may check if my overlay with slotted boost still works. see my sig.
sadly, I have no time to maintain it anymore. :o
_________________
hear hear
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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