All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Sebastian Pavez <sebastian.pavez.t@gmail.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Problem trying an example for the first time.
Date: Thu, 25 Oct 2012 21:08:10 +0200	[thread overview]
Message-ID: <50898E1A.5010908@xenomai.org> (raw)
In-Reply-To: <CANzNmi_V-qEXhob68AteDC1s=s8kqRUE8B9_meE8XGx2UEpBrg@mail.gmail.com>

On 10/25/2012 08:04 PM, Sebastian Pavez wrote:

> 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
> 
>> On 10/25/2012 05:35 PM, Sebastian Pavez wrote:
>>> 2012/10/25 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
>>>> What does apt-cache show xenomai-runtime say?
>>>
>>>
>>> Package: xenomai-runtime
>>> Version: 2.5.5.2-1ubuntu2
>>
>> So, is it more clear, now ?
>>
>> --
>>                                             Gilles.
>>
> I think so, I found the 2.6.0 version of xenomai-runtime, but when I try it
> I get the error (user-space requires '3', kernel provides '4'). In the
> forum I found a previous answer of you about the same branch of
> kernel-space and user-space. So I search for xenomai-runtime 2.6.0, but
> what I get it's an experimental package ... I really don't wanna something
> like that because of my lack of experience ... I should try to use xenomai
> 2.6.0 instead of the 2.6.1 I'm using now??


First, the error (user-space requires '3', kernel provides '4') and the
case of ubuntu is described here:
http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_xenomai_incompatible_abi_revision_level
In a nutshell you are still mixing xenomai 2.6 with xenomai 2.5.

Second, 2.6.0 is not an experimental release, it is a stable release,
but obsolete, you should install xenomai 2.6.1 now.

Third, to install xenomai 2.6.1. You should first uninstall any Ubuntu
packages concerning xenomai. That is a mandatory prerequisite, do not
even read further until you have done that.

Then you have two solutions:
- install it by following README.INSTALL or the quick build guide,
compiling manually the kernel and the user-space, there is nothing
really complicated about that, the part that could be a bit hard, as you
figured out is the configure the kernel, but you always have to do that
anyway ;
- install it by generating Debian packages (but I wrote generating, not
download from a repository) following the instructions here:
http://www.xenomai.org/index.php/Building_Debian_packages. What you will
gain by doing that is that you will generate the packages once, and be
able to install them on many machines. And that the packages are
integrated in the Debian distribution, so, apt-get remove allows
uninstalling everything.

-- 
                                                                Gilles.


      reply	other threads:[~2012-10-25 19:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 17:45 [Xenomai] Problem trying an example for the first time Sebastian Pavez
2012-10-24 18:48 ` Gilles Chanteperdrix
     [not found]   ` <CANzNmi8qKWz2PwyS0e_fchO7xpcsq_a0yqDYbuiRU_PYVjsvQA@mail.gmail.com>
2012-10-24 19:19     ` Gilles Chanteperdrix
2012-10-25 15:21       ` Sebastian Pavez
2012-10-25 15:31         ` Gilles Chanteperdrix
2012-10-25 15:35           ` Sebastian Pavez
2012-10-25 15:38             ` Gilles Chanteperdrix
2012-10-25 18:04               ` Sebastian Pavez
2012-10-25 19:08                 ` Gilles Chanteperdrix [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=50898E1A.5010908@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sebastian.pavez.t@gmail.com \
    --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.