Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why is the BOOST C++ library masked?
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
potsdamlemur
n00b
n00b


Joined: 06 Jul 2002
Posts: 25
Location: Way Up North In York State

PostPosted: Tue Nov 19, 2002 6:57 pm    Post subject: Why is the BOOST C++ library masked? Reply with quote

I'm interested in using the Boost library for some research projects, as are some other people here. However emerge says that it's masked. This is a little strange since Boost isn't listed in any files in my /usr/portage/profiles (including package.mask). A search of the forums and googling "boost library gentoo" turns up only this: https://forums.gentoo.org/viewtopic.php?t=6971, which suggests a problem in the Boost threads library, or a compiler bug as of four months ago. Does anyone know if this is still a problem?

Also, are there other reasons for masking the Boost library? I don't need the Boost threads for my present project, so if that's the only problem I'll go ahead and use Boost anyway.

Many thanks.
Back to top
View user's profile Send private message
sankeld
n00b
n00b


Joined: 03 Oct 2002
Posts: 9

PostPosted: Wed Nov 20, 2002 7:30 pm    Post subject: Boost Masking Reply with quote

Boost is a rapidly changing library that has no formal concept of backwards compatibility. The boost web-page recommends in the FAQ that one freezes a version of boost for every project worked on. This is, of course, not the expected logic behind ebuilds.

Either way, boost is a very nice library (especially signals/threads/regex/blas) and I use it in all of my new C++ applications.
Back to top
View user's profile Send private message
potsdamlemur
n00b
n00b


Joined: 06 Jul 2002
Posts: 25
Location: Way Up North In York State

PostPosted: Wed Nov 20, 2002 7:49 pm    Post subject: OK, thanks! Reply with quote

Thanks --- that makes a lot of sense. Hopefully they'll get to a point where they have a "stable" subset that can be reasonably put into an ebuild (I suspect it will be known as the C++2005 standard library :-) ).

I'm still curious as to why it came up as masked when I couldn't locate it in package.mask (I guess I'm showing my ignorance of the guts of the ebuild system). Perhaps an explanatory entry in package.mask would be appropriate?
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Nov 20, 2002 8:15 pm    Post subject: Re: OK, thanks! Reply with quote

potsdamlemur wrote:
I'm still curious as to why it came up as masked when I couldn't locate it in package.mask (I guess I'm showing my ignorance of the guts of the ebuild system). Perhaps an explanatory entry in package.mask would be appropriate?


The ebuild script contains the variable KEYWORDS="~x86" which means it's unstable, and therefor not recommended for normal users (well, mmmm, not ment for stable systems, so the average system), you can override it for the whole system by adding ACCEPT_KEYWORDS="~x86" in /etc/make.conf but this will probably break your system or at least give some problems cause it will update a lot of packages. You can temporarly override it by using ACCEPT_KEYWORDS="~x86" emerge boost, but this will be undone by your next emerge -u world, you could use the PORTDIR_OVERLAY in /etc/make.conf and create a shadow / local portage directory where you store your custom ebuild with the KEYWORDS=".." changed to x86 (stable)........... Well you can probably figure it out by yourself, hope I explained it a bit,

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
clarkbw
n00b
n00b


Joined: 14 Nov 2002
Posts: 4
Location: Potsdam, NY

PostPosted: Mon Nov 25, 2002 9:52 am    Post subject: Note about ebuilds Reply with quote

One thing to note about ebuilds is that you don't _have_ to change your make.conf to unstable ("~arch"). If there is an ebuild out there that you'd really like you can use the ebuild file directly to avoid the mask. So when I wanted to install the boost library I went into the boost directory
Code:
cd /usr/portage/dev-libs/boost/
and did an
Code:
emerge --pretend boost-1.29.0.ebuild
where it showed no masked dependancies for my system. Then I went ahead and emerged it. :-) Hope that helps you any.
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