All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: luxInteg <lux-integ@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] preferred  uid?
Date: Thu, 12 May 2011 23:05:45 +0200	[thread overview]
Message-ID: <1305234345.2168.63.camel@domain.hid> (raw)
In-Reply-To: <201105122201.47478.lux-integ@domain.hid>

On Thu, 2011-05-12 at 22:01 +0100, luxInteg wrote:
> 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?

Do not hesitate to contribute such update since you are now well aware
of the issue, a simple patch would do. Anything which may help the
Xenomai maintainers to cope with the workload involved in bringing you
that software is welcome.

> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help

-- 
Philippe.




      reply	other threads:[~2011-05-12 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 17:23 [Xenomai-help] preferred uid? luxInteg
2011-05-10 17:32 ` Thomas Lockhart
2011-05-10 18:20 ` Wolfgang Denk
2011-05-10 19:23 ` Gilles Chanteperdrix
2011-05-11 15:31   ` luxInteg
2011-05-11 15:32     ` Gilles Chanteperdrix
2011-05-12 21:01       ` luxInteg
2011-05-12 21:05         ` Philippe Gerum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1305234345.2168.63.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=lux-integ@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.