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

Attachments

File name MIME type
nshade_shared_memory.cpp text/x-c++src
nshade_shared_memory.h text/x-chdr

Replies

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