From mboxrd@z Thu Jan 1 00:00:00 1970 From: luxInteg Date: Thu, 12 May 2011 22:01:47 +0100 References: <201105101823.50226.lux-integ@domain.hid> <201105111631.00882.lux-integ@domain.hid> <4DCAABF6.9090606@domain.hid> In-Reply-To: <4DCAABF6.9090606@domain.hid> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201105122201.47478.lux-integ@domain.hid> Subject: Re: [Xenomai-help] preferred uid? List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: Xenomai help On Wednesday 11 May 2011 16:32:06 Gilles Chanteperdrix wrote: > On 05/11/2011 05:31 PM, luxInteg wrote: > > On Tuesday 10 May 2011 20:23:43 Gilles Chanteperdrix wrote: > >> On 05/10/2011 07:23 PM, luxInteg wrote: > >>> greetings > >>> > >>> I normally compile stuff as an ordinary user, but I noticed in this > >>> area people often compile as root as kernel modules are involved. I > >>> note xenomai can be compiled either as user or root so is there a > >>> preferred way ? > >> > >> As others have said, compile as ordinary user, run make install or make > >> modules_install as root, or run "sudo make install". Another reason for > >> running "make install" as root, is that root privilege is also required > >> to create the device nodes (/dev/rtheap, /dev/rtp*) needed by Xenomai > >> applications. > > > > yes this is my rule of thumb too > > > > However as I read through the install file in the xenomai tarball I > > noticed there was only reference to 'make install' (at least on x86 > > platforms). i did this and did not bother with running make. Is this > > acceptable? > > As we already told you, it is preferable to run > make > then > sudo make install > > For reasons already explained in the three answers you received. so perhaps you should update the INSTALL file that accompany released tarballs of xenomai then?