Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Nightshade compiling failed mindrunner <kernel@×××××.de>