All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] error about patch
@ 2014-09-27 18:45 Hasret Sarıyer
  2014-09-27 18:50 ` Gilles Chanteperdrix
  2014-09-27 20:57 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 9+ messages in thread
From: Hasret Sarıyer @ 2014-09-27 18:45 UTC (permalink / raw)
  To: Xenomai

I used this guide <http://xenomai.org/2014/06/building-debian-packages/> for
installation xenomai. And until I run a command, everything was nice. But
when I run this command, I get an error message.

The command is :
linux-3.10.32$ /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh
--linux=. --adeos=/usr/src/ipipe-core-3.10.32-x86-2.patch

The output şs :

bash: /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh: No such
file or directory

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 18:45 [Xenomai] error about patch Hasret Sarıyer
@ 2014-09-27 18:50 ` Gilles Chanteperdrix
       [not found]   ` <CABVE6k2OdJ8X6DBsjpb18Wj+goAcSqtdHrsTGNLtYbJY1tDH8g@mail.gmail.com>
  2014-09-27 20:57 ` Gilles Chanteperdrix
  1 sibling, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 18:50 UTC (permalink / raw)
  To: Hasret Sarıyer, Xenomai

On 09/27/2014 08:45 PM, Hasret Sarıyer wrote:
> I used this guide <http://xenomai.org/2014/06/building-debian-packages/> for
> installation xenomai. And until I run a command, everything was nice. But
> when I run this command, I get an error message.
> 
> The command is :
> linux-3.10.32$ /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh
> --linux=. --adeos=/usr/src/ipipe-core-3.10.32-x86-2.patch
> 
> The output şs :
> 
> bash: /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh: No such
> file or directory

Could you run
dpkg -L xenomai-kernel-sources
?


-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
       [not found]   ` <CABVE6k2OdJ8X6DBsjpb18Wj+goAcSqtdHrsTGNLtYbJY1tDH8g@mail.gmail.com>
@ 2014-09-27 19:45     ` Gilles Chanteperdrix
  2014-09-27 20:03       ` Hasret Sarıyer
  0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 19:45 UTC (permalink / raw)
  To: Hasret Sarıyer, Xenomai

On 09/27/2014 08:53 PM, Hasret Sarıyer wrote:
> It said that "Package `xenomai-kernel-sources' is not installed." But there
> is a folder(it's name is xenomai-kernel-sources) under usr/src

Well, then you missed one step in the installation guide:

Building a Xenomai patched Linux kernel package
prerequisites
Install xenomai-kernel-sources

Please keep the conversation on the mailing list.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 19:45     ` Gilles Chanteperdrix
@ 2014-09-27 20:03       ` Hasret Sarıyer
  2014-09-27 20:13         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 9+ messages in thread
From: Hasret Sarıyer @ 2014-09-27 20:03 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

2014-09-27 22:45 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:

> On 09/27/2014 08:53 PM, Hasret Sarıyer wrote:
> > It said that "Package `xenomai-kernel-sources' is not installed." But
> there
> > is a folder(it's name is xenomai-kernel-sources) under usr/src
>
> Well, then you missed one step in the installation guide:
>
> Building a Xenomai patched Linux kernel package
> prerequisites
> Install xenomai-kernel-sources
>
> Please keep the conversation on the mailing list.
>
> --
>                                                                 Gilles.
>


Prerequisites contains three steps. When I run last command,it said that
"Cannot write to `linux-3.10.32.tar.xz'".

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 20:03       ` Hasret Sarıyer
@ 2014-09-27 20:13         ` Gilles Chanteperdrix
  0 siblings, 0 replies; 9+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 20:13 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

On 09/27/2014 10:03 PM, Hasret Sarıyer wrote:
> 2014-09-27 22:45 GMT+03:00 Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org>:
> 
>> On 09/27/2014 08:53 PM, Hasret Sarıyer wrote:
>>> It said that "Package `xenomai-kernel-sources' is not installed." But
>> there
>>> is a folder(it's name is xenomai-kernel-sources) under usr/src
>>
>> Well, then you missed one step in the installation guide:
>>
>> Building a Xenomai patched Linux kernel package
>> prerequisites
>> Install xenomai-kernel-sources
>>
>> Please keep the conversation on the mailing list.
> 
> Prerequisites contains three steps.

One of them being "Install xenomai-kernel-sources". Did you do it, what
was the problem if it did not succeed?

> When I run last command,it said that
> "Cannot write to `linux-3.10.32.tar.xz'".

Probably because you do not have write access to /usr/src. Use a
directory where you have the right to write then. Like $HOME/src. It is
strange, since you used that same directory in the wget step above. Wget
did not fail to write the I-pipe patch?

Also note that linux 3.10.32 is just an example, you can use a more
recent version if you want, or one that is shipped with xenomai.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 18:45 [Xenomai] error about patch Hasret Sarıyer
  2014-09-27 18:50 ` Gilles Chanteperdrix
@ 2014-09-27 20:57 ` Gilles Chanteperdrix
  2014-09-27 21:06   ` Hasret Sarıyer
  1 sibling, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 20:57 UTC (permalink / raw)
  To: Hasret Sarıyer, Xenomai

On 09/27/2014 08:45 PM, Hasret Sarıyer wrote:
> I used this guide <http://xenomai.org/2014/06/building-debian-packages/> for
> installation xenomai. And until I run a command, everything was nice. But
> when I run this command, I get an error message.
> 
> The command is :
> linux-3.10.32$ /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh
> --linux=. --adeos=/usr/src/ipipe-core-3.10.32-x86-2.patch
> 
> The output şs :
> 
> bash: /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh: No such
> file or directory

Ok, got it. The package is named xenomai-kernel-source, not
xenomai-kernel-sources. Will fix the documentation, thanks for the report.


-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 20:57 ` Gilles Chanteperdrix
@ 2014-09-27 21:06   ` Hasret Sarıyer
  2014-09-27 21:10     ` Hasret Sarıyer
  0 siblings, 1 reply; 9+ messages in thread
From: Hasret Sarıyer @ 2014-09-27 21:06 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

2014-09-27 23:57 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:

> On 09/27/2014 08:45 PM, Hasret Sarıyer wrote:
> > I used this guide <http://xenomai.org/2014/06/building-debian-packages/>
> for
> > installation xenomai. And until I run a command, everything was nice. But
> > when I run this command, I get an error message.
> >
> > The command is :
> > linux-3.10.32$ /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh
> > --linux=. --adeos=/usr/src/ipipe-core-3.10.32-x86-2.patch
> >
> > The output şs :
> >
> > bash: /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh: No such
> > file or directory
>
> Ok, got it. The package is named xenomai-kernel-source, not
> xenomai-kernel-sources. Will fix the documentation, thanks for the report.
>
>
> --
>



>                                                                 Gilles.
>

 You are right. Thanks for your care.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 21:06   ` Hasret Sarıyer
@ 2014-09-27 21:10     ` Hasret Sarıyer
  2014-09-27 21:24       ` Gilles Chanteperdrix
  0 siblings, 1 reply; 9+ messages in thread
From: Hasret Sarıyer @ 2014-09-27 21:10 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

2014-09-28 0:06 GMT+03:00 Hasret Sarıyer <hsrtsryr@gmail.com>:

>
>
> 2014-09-27 23:57 GMT+03:00 Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org>:
>
>> On 09/27/2014 08:45 PM, Hasret Sarıyer wrote:
>> > I used this guide <http://xenomai.org/2014/06/building-debian-packages/>
>> for
>> > installation xenomai. And until I run a command, everything was nice.
>> But
>> > when I run this command, I get an error message.
>> >
>> > The command is :
>> > linux-3.10.32$ /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh
>> > --linux=. --adeos=/usr/src/ipipe-core-3.10.32-x86-2.patch
>> >
>> > The output şs :
>> >
>> > bash: /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh: No such
>> > file or directory
>>
>> Ok, got it. The package is named xenomai-kernel-source, not
>> xenomai-kernel-sources. Will fix the documentation, thanks for the report.
>>
>>
>> --
>>
>
>
>
>>                                                                 Gilles.
>>
>
>  You are right. Thanks for your care.
>

Also, there is an error message
"/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh: line 283:
/usr/src/xenomai-kernel-source/config/config.guess: No such file or
directory".
 I look manually xenomai-kernel-source folder, there isn't config folder
under it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai] error about patch
  2014-09-27 21:10     ` Hasret Sarıyer
@ 2014-09-27 21:24       ` Gilles Chanteperdrix
  0 siblings, 0 replies; 9+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 21:24 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

On 09/27/2014 11:10 PM, Hasret Sarıyer wrote:
> 2014-09-28 0:06 GMT+03:00 Hasret Sarıyer <hsrtsryr@gmail.com>:
> 
>>
>>
>> 2014-09-27 23:57 GMT+03:00 Gilles Chanteperdrix <
>> gilles.chanteperdrix@xenomai.org>:
>>
>>> On 09/27/2014 08:45 PM, Hasret Sarıyer wrote:
>>>> I used this guide <http://xenomai.org/2014/06/building-debian-packages/>
>>> for
>>>> installation xenomai. And until I run a command, everything was nice.
>>> But
>>>> when I run this command, I get an error message.
>>>>
>>>> The command is :
>>>> linux-3.10.32$ /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh
>>>> --linux=. --adeos=/usr/src/ipipe-core-3.10.32-x86-2.patch
>>>>
>>>> The output şs :
>>>>
>>>> bash: /usr/src/xenomai-kernel-sources/scripts/prepare-kernel.sh: No such
>>>> file or directory
>>>
>>> Ok, got it. The package is named xenomai-kernel-source, not
>>> xenomai-kernel-sources. Will fix the documentation, thanks for the report.
>>>
>>>
>>> --
>>>
>>
>>
>>
>>>                                                                 Gilles.
>>>
>>
>>  You are right. Thanks for your care.
>>
> 
> Also, there is an error message
> "/usr/src/xenomai-kernel-source/scripts/prepare-kernel.sh: line 283:
> /usr/src/xenomai-kernel-source/config/config.guess: No such file or
> directory".
>  I look manually xenomai-kernel-source folder, there isn't config folder
> under it.

Ok, please use prepare-kernel.sh from the xenomai-2.6.4 directory then.
Or pass --arch=x86 or --arch=x86_64 (depending whether you are compiling
for x86 or x86_64) to prepare-kernel.sh

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-27 21:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-27 18:45 [Xenomai] error about patch Hasret Sarıyer
2014-09-27 18:50 ` Gilles Chanteperdrix
     [not found]   ` <CABVE6k2OdJ8X6DBsjpb18Wj+goAcSqtdHrsTGNLtYbJY1tDH8g@mail.gmail.com>
2014-09-27 19:45     ` Gilles Chanteperdrix
2014-09-27 20:03       ` Hasret Sarıyer
2014-09-27 20:13         ` Gilles Chanteperdrix
2014-09-27 20:57 ` Gilles Chanteperdrix
2014-09-27 21:06   ` Hasret Sarıyer
2014-09-27 21:10     ` Hasret Sarıyer
2014-09-27 21:24       ` Gilles Chanteperdrix

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.