Gentoo Archives: gentoo-user

From: mindrunner <kernel@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nightshade compiling failed
Date: Tue, 09 Oct 2012 22:47:58
Message-Id: 5074A928.1070106@ccube.de
In Reply to: Re: [gentoo-user] Nightshade compiling failed by Jacques Montier
1 Hi,
2 i stepped little further in the last hours. I copied the ebuild to my
3 layman overlay (luman) and tried to emerge. I got the same error you got
4 compiling your special version!
5 At the moment I am cloning the official bzr repository (>1GB) which
6 means waiting a long time at 1mbit DSL :(
7 When cloned, I will dig some more into the sources.
8
9 the error we get here points to some wrong usage of the boost container,
10 but i cannot tell any more right now.
11
12 what exactly is the difference to your ns-version compared to vanilla one?
13
14 I think just replacing version number and url should provide you a
15 working ebuild.
16 we can try this after compiling vanilla sucesfull.
17
18
19 lukas
20
21 On 10/09/2012 10:53 PM, Jacques Montier wrote:
22 > Hi ,
23 >
24 > Thank you Lukas for your post.
25 > The Nighshade soft i use is a LSS version compiled for small
26 > planetariums by Yves Lhoumeau and Lionel Ruiz.
27 > I can only get the sources here :
28 > http://www.lss-planetariums.info/index.php?lang=en&menu=nightshade&page=nightshade
29 > The sabayon Nightshade ebuild is different .
30 > I agree with you, i very much prefer to install packages using ebuilds,
31 > but i am afraid i am not able to develop any ebuild...
32 > Sorry... :-(
33 > Some months ago i successfully compiled Nightshade with boost-1.46.1-r1
34 > ; but unfortunately it does not anymore compile even with the same boost
35 > version...
36 >
37 > Thank you again,
38 >
39 > Cheers,
40 >
41 > --
42 > Jacques
43 >
44 >
45 > 2012/10/9 mindrunner <kernel@×××××.de <mailto:kernel@×××××.de>>
46 >
47 > Hi,
48 > I always prefer to NOT install software this way into my gentoo. Instead
49 > of this I first check http://gpo.zugaina.org/ if there is already an
50 > ebuild or outdated ebuild for this piece of software. If not I begin to
51 > develop my own ebuild.
52 >
53 > In this case there is already one (sabayon-overlay). However, you should
54 > NOT add sabayon overlay into your gentoo box. I got some weird problems
55 > doing this some time ago. I think this shoul only be used in sabayon
56 > distro, but I dont know exactly.
57 >
58 > If you want to, I could copy it into my overlay (luman), which should be
59 > more safe not bricking your whole gentoo box.
60 >
61 > Yeah, I know... you asked sth. completely different, but in my opinion,
62 > you should better do this way...
63 >
64 > KLooking at you Problem tells me that you got a boost problem. Maybe
65 > wrong version you compile against?
66 >
67 > Since I am writing my bachelor thesis right now, I have only little
68 > spartetime, but if you want to we could try to make a working ebuild on
69 > base of the sabayon one.
70 >
71 >
72 > regards
73 > Lukas
74 >
75 >
76 > On 10/09/2012 07:06 PM, Jacques Montier wrote:
77 > > Hi everybody,
78 > >
79 > > Since a few months i have a problem about compiling Nightshade soft.
80 > > Nightshade is a full dome planetarium opensource software.
81 > >
82 > http://www.lss-planetariums.info/index.php?lang=en&menu=nightshade&page=nightshade
83 > > Nightshade is not in portage so i have to manually install it
84 > > (./configure, make and make install).
85 > > make fails with errors :
86 > >
87 > > -------------------------
88 > > In file included from /usr/include/boost/container/map.hpp:26:0,
89 > > from
90 > /usr/include/boost/interprocess/containers/map.hpp:19,
91 > > from nshade_shared_memory.h:34,
92 > > from nshade_shared_memory.cpp:30:
93 > > ------------------------
94 > > -----------------------
95 > > boost::interprocess::iset_index> > >, bool is_iterator = false, P0 =
96 > > std::less<boost::uuids::uuid>, P1 =
97 > >
98 > boost::interprocess::allocator<boost::container::container_detail::pair<boost::uuids::uuid,
99 > > boost::interprocess::offset_ptr<NshadeSharedMemoryConnection> >,
100 > > boost::interprocess::segment_manager<char,
101 > >
102 > boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>,
103 > > boost::interprocess::iset_index> >, size_t = long unsigned int]’
104 > > nshade_shared_memory.cpp:251:1: instantiated from here
105 > > /usr/include/boost/container/map.hpp:147:1: erreur: invalid
106 > application
107 > > of ‘sizeof’ to incomplete type
108 > ‘boost::STATIC_ASSERTION_FAILURE<false>’
109 > > make[4]: *** [nshade_shared_memory.lo] Erreur 1
110 > >
111 > > I don't know how to solve that problem.
112 > > Have you any idea about it ?
113 > > Thank you very much,
114 > >
115 > > Cheers,
116 > >
117 > > --
118 > > Jacques
119 >
120 >

Replies

Subject Author
Re: [gentoo-user] Nightshade compiling failed Jacques Montier <jmontier@×××××.com>