Gentoo Archives: gentoo-user

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