Gentoo Archives: gentoo-user

From: mindrunner <kernel@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nightshade compiling failed
Date: Thu, 11 Oct 2012 11:40:48
Message-Id: 5076AFD2.8020905@ccube.de
In Reply to: Re: [gentoo-user] Nightshade compiling failed by Jacques Montier
1 well, thats annoying.
2
3 i war digging deeper for the last hours, but i cannot solve it for now.
4
5 you should write a bug report here:
6
7 http://www.nightshadesoftware.org/
8
9
10 i will try again tomorrow. but now ---> bachelor thesis ;)
11
12 On 10/10/2012 12:31 PM, Jacques Montier wrote:
13 > Hi,
14 >
15 > I tried different versions of gcc and boost. gcc-4.5.4 and
16 > boost-1.49.0-r1 : failed gcc-4.5.4 and boost-1.46.1-r1 : failed
17 > gcc-4.4.7 in a new slot and boost-1.49.0-r1 : failed. gcc-4.4.7 in
18 > a new slot and boost-1.46.1-r1 : success !
19 >
20 > So compiling Nightshade needs gcc-4.4.7 AND boost-1.46.1-r1. Why
21 > the new versions don't work ? I really don't know.
22 >
23 > Cheers,
24 >
25 > -- Jacques
26 >
27 >
28 >
29 > 2012/10/10 Jacques Montier <jmontier@×××××.com
30 > <mailto:jmontier@×××××.com>>
31 >
32 > Hi,
33 >
34 > Thank you Lukas for looking at my problem. The LSS-version of
35 > Nightshade is a clone of the official Nightsade version + keyboard
36 > shortcuts which can launch scripts, videos and music. Each key of
37 > the 105 keys has a special function and it is specially designed
38 > for a planetarium public show. With bluetooth modules, we can drive
39 > the show with a Nintendo Wii remote ; very useful.
40 > http://www.lss-planetariums.info/index.php?lang=en&menu=hardware&page=keyboard
41 >
42 > I tried to compile Nightshade-LSS on Ubuntu-12, Linux Mint and
43 > Mageia2 via VirtualBox and i get exactly the same errors. So, i
44 > think it is not a Gentoo problem...but nevertheless very annoying
45 > :-(
46 >
47 > I looked at the Nightshade-LSS sources and it seems that the error
48 > occurs with the nshade_shared_memory.h and nshade_shared_memory.cpp
49 > in ~/nightshade-11.7.1/nscontrol/src I join the two files ; may be
50 > these files would help us.
51 >
52 > Thank you very much,
53 >
54 > -- Jacques
55 >
56 >
57 >
58 >
59 >
60 >
61 > 2012/10/10 mindrunner <kernel@×××××.de <mailto:kernel@×××××.de>>
62 >
63 > Hi, i stepped little further in the last hours. I copied the
64 > ebuild to my layman overlay (luman) and tried to emerge. I got the
65 > same error you got compiling your special version! At the moment I
66 > am cloning the official bzr repository (>1GB) which means waiting a
67 > long time at 1mbit DSL :( When cloned, I will dig some more into
68 > the sources.
69 >
70 > the error we get here points to some wrong usage of the boost
71 > container, but i cannot tell any more right now.
72 >
73 > what exactly is the difference to your ns-version compared to
74 > vanilla one?
75 >
76 > I think just replacing version number and url should provide you a
77 > working ebuild. we can try this after compiling vanilla sucesfull.
78 >
79 >
80 > lukas
81 >
82 > On 10/09/2012 10:53 PM, Jacques Montier wrote:
83 >> Hi ,
84 >>
85 >> Thank you Lukas for your post. The Nighshade soft i use is a LSS
86 >> version compiled for small planetariums by Yves Lhoumeau and
87 >> Lionel Ruiz. I can only get the sources here :
88 >>
89 > http://www.lss-planetariums.info/index.php?lang=en&menu=nightshade&page=nightshade
90 >
91 > The sabayon Nightshade ebuild is different .
92 >> I agree with you, i very much prefer to install packages using
93 > ebuilds,
94 >> but i am afraid i am not able to develop any ebuild... Sorry...
95 >> :-( Some months ago i successfully compiled Nightshade with
96 > boost-1.46.1-r1
97 >> ; but unfortunately it does not anymore compile even with the
98 > same boost
99 >> version...
100 >>
101 >> Thank you again,
102 >>
103 >> Cheers,
104 >>
105 >> -- Jacques
106 >>
107 >>
108 >> 2012/10/9 mindrunner <kernel@×××××.de <mailto:kernel@×××××.de>
109 > <mailto:kernel@×××××.de <mailto:kernel@×××××.de>>>
110 >>
111 >> Hi, I always prefer to NOT install software this way into my
112 > gentoo. Instead
113 >> of this I first check http://gpo.zugaina.org/ if there is
114 > already an
115 >> ebuild or outdated ebuild for this piece of software. If
116 > not I begin to
117 >> develop my own ebuild.
118 >>
119 >> In this case there is already one (sabayon-overlay).
120 > However, you should
121 >> NOT add sabayon overlay into your gentoo box. I got some
122 > weird problems
123 >> doing this some time ago. I think this shoul only be used
124 > in sabayon
125 >> distro, but I dont know exactly.
126 >>
127 >> If you want to, I could copy it into my overlay (luman),
128 > which should be
129 >> more safe not bricking your whole gentoo box.
130 >>
131 >> Yeah, I know... you asked sth. completely different, but
132 > in my opinion,
133 >> you should better do this way...
134 >>
135 >> KLooking at you Problem tells me that you got a boost
136 > problem. Maybe
137 >> wrong version you compile against?
138 >>
139 >> Since I am writing my bachelor thesis right now, I have
140 > only little
141 >> spartetime, but if you want to we could try to make a
142 > working ebuild on
143 >> base of the sabayon one.
144 >>
145 >>
146 >> regards Lukas
147 >>
148 >>
149 >> On 10/09/2012 07:06 PM, Jacques Montier wrote:
150 >>> Hi everybody,
151 >>>
152 >>> Since a few months i have a problem about compiling
153 > Nightshade soft.
154 >>> Nightshade is a full dome planetarium opensource software.
155 >>>
156 >>
157 > http://www.lss-planetariums.info/index.php?lang=en&menu=nightshade&page=nightshade
158 >
159 >
160 >> Nightshade is not in portage so i have to manually
161 > install it
162 >>> (./configure, make and make install). make fails with errors :
163 >>>
164 >>> ------------------------- In file included from
165 > /usr/include/boost/container/map.hpp:26:0,
166 >>> from
167 >> /usr/include/boost/interprocess/containers/map.hpp:19,
168 >>> from nshade_shared_memory.h:34, from
169 >>> nshade_shared_memory.cpp:30: ------------------------
170 >>> ----------------------- boost::interprocess::iset_index> > >,
171 >>> bool is_iterator =
172 > false, P0 =
173 >>> std::less<boost::uuids::uuid>, P1 =
174 >>>
175 >>
176 > boost::interprocess::allocator<boost::container::container_detail::pair<boost::uuids::uuid,
177 >
178 >
179 >>
180 > boost::interprocess::offset_ptr<NshadeSharedMemoryConnection> >,
181 >>> boost::interprocess::segment_manager<char,
182 >>>
183 >>
184 > boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>,
185 >
186 >
187 >> boost::interprocess::iset_index> >, size_t = long
188 > unsigned int]’
189 >>> nshade_shared_memory.cpp:251:1: instantiated from here
190 >>> /usr/include/boost/container/map.hpp:147:1: erreur: invalid
191 >> application
192 >>> of ‘sizeof’ to incomplete type
193 >> ‘boost::STATIC_ASSERTION_FAILURE<false>’
194 >>> make[4]: *** [nshade_shared_memory.lo] Erreur 1
195 >>>
196 >>> I don't know how to solve that problem. Have you any idea about
197 >>> it ? Thank you very much,
198 >>>
199 >>> Cheers,
200 >>>
201 >>> -- Jacques
202 >>
203 >>
204 >
205 >
206 >

Replies

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