Gentoo Archives: gentoo-user

From: Jacques Montier <jmontier@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Boost version problem [solved but dirty]
Date: Sat, 26 Jan 2013 19:05:16
Message-Id: CAHVEG0DWmx0_8c7G+OOZh3XyrvfFF75La+gS_SDuj3i0SgPqAw@mail.gmail.com
1 2013/1/25 Florian Philipp <lists@×××××××××××.net>
2
3 > Am 25.01.2013 20:02, schrieb Nikos Chantziaras:
4 > > On 24/01/13 21:15, Florian Philipp wrote:
5 > >> Am 24.01.2013 18:57, schrieb Jacques Montier:
6 > >>> 2013/1/24 microcai <microcai@×××××××××××××.org
7 > >>> <mailto:microcai@×××××××××××××.org>>
8 > >> [...]
9 > >>> >>>>
10 > >>> >>>> Libreoffice-4.0 needs boost > 1.49 (so works with
11 > >>> boost-1.52.0-r5) and
12 > >>> >>>> Nightshade LSS (for planetarium but not in portage) needs
13 > >>> boost
14 > >>> < 1.5
15 > >>> >>>> (so works with 1.49.0-r2).
16 > >>> >>>> Is it possible to install both 1.49 and 1.52 (in new slot) ?
17 > >>>
18 > >>> update Nightshade to work with boost 1.52 is the only way to go.
19 > >> [...]
20 > >>> I already tried that, but Nightshade doesn't compile with
21 > >>> boost-1.52... :-((
22 > >>>
23 > >>
24 > >> I could rant about the stupidity that is boost and/or packages that
25 > >> depend on it for some time but Flameeyes does a far better job at that.
26 > >
27 > > I wonder what the view on bundled boost headers is with Gentoo devs. I'm
28 > > currently working on a project where I need boost, and now I'm thinking
29 > > about using BCP (http://www.boost.org/doc/libs/1_52_0/tools/bcp) to
30 > > bundle what I need within the project. At least this would guarantee
31 > > that the package wouldn't be affected by this issue.
32 > >
33 > >
34 >
35 > As I understand it, bundling the headers is exactly what you are
36 > supposed to do with boost.
37 >
38 > Regards,
39 > Florian Philipp
40 >
41 >
42 Hello everybody,
43
44 Finally i solved my problem, but in a dirty manner i don't like, but no
45 choice for me...
46 I noticed Nightshade needed 3 files :
47 /usr/lib64/libboost_filesystem-mt-1_46.so.1.46.1
48 /usr/lib64/libboost_system-mt-1_46.so.1.46.1
49 /usr/lib64/libboost_regex-mt-1_46.so.1.46.1
50
51 - I downloaded boost-1.46 (not in portage anymore) and some patches in an
52 overlay.
53 - Installed boost-1.46
54 - backup the 3 files.
55 - Uninstalled 1.46 and upgraded to boost-1.52 (needed by LibreOffice-4.0)
56 and symlinked the 3 files in /usr/lib64.
57
58 LibreOffice works, Nightshade does not see anything and works nice too.
59
60 Dirty as i said before, but i couldn't solve that issue otherwise.
61
62 Cheers,
63
64 --
65 Jacques