Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
8 years 4 months ago #112461 by tecno

tecno wrote: Hi guys,

Trying to follow STEP 2 but it all stops here on the first line marked below.
There must have been a change in file location as wget cannot open that link.

-Kernel creating a .deb to install

Copy / Paste these commands in sequence.

>>>>>>>>> wget ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.8.11.tar.xz

wget www.kernel.org/pub/linux/kernel/projects...-4.8.11-rt7.patch.gz
tar -xpf linux-4.8.11.tar.xz
gunzip patch-4.8.11-rt7.patch.gz
cp patch-4.8.11-rt7.patch linux-4.8.11
cd linux-4.8.11
cat patch-4.8.11-rt7.patch | patch -p1
make xconfig
make -j4 deb-pkg


Any hints on how to proceed? Or is there any easier way to get LinuxCNC with RT Preempt on Mint 18.3 ?


Changed line to wget kernel.org/pub/linux/kernel/v4.x/linux-4.8.11.tar.xz and I am on my way now make -j4 deb-pkg

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #112465 by tecno
so far so good but it all stops here, HELP

bengt@CNC3000 ~/linuxcnc-dev/debian $ ./configure uspace
Package libxenomai-dev exists, but information about its source package
is not available. This most likely means that you do not have the
right deb-src lines in /etc/apt, or that you need to "apt-get update".
bengt@CNC3000 ~/linuxcnc-dev/debian $

what is missing?

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #112466 by tecno
this pops up after sudo apt-get update

W: The repository 'cdrom://Linux Mint 18.3 _Sylvia_ - Release amd64 20171124 xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Misslyckades med att hämta cdrom://Linux Mint 18.3 _Sylvia_ - Release amd64 20171124/dists/xenial/contrib/binary-amd64/Packages Använd apt-cdrom för att APT ska känna igen denna cd. apt-get update kan inte användas för att lägga till skivor
E: Vissa indexfiler kunde inte hämtas. De har ignorerats eller så har de gamla använts istället.
bengt@CNC3000 ~ $

Where does that cdrom come from??

Please Log in or Create an account to join the conversation.

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago - 8 years 4 months ago #112467 by ozzyrob
if you edit as sudo /etc/apt/sources.list comment out the line that starts with deb cdrom

Open Menu->Package Manager
Goto Settings -> Repositories
At the bottom of "Official Repositories" check Enable source code repositories
Then get out of there and close Package Manager, do not click Update-cache
Open a Terminal then run
Code:
sudo apt-get update
Then in ~/linuxcnc-dev/debian run
Code:
./configure uspace noauto
if that fails or gives an error just run
Code:
./configure uspace
Last edit: 8 years 4 months ago by ozzyrob.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #112468 by tecno
./configure uspace noauto = no go

only
official-package-repositories.list

Please Log in or Create an account to join the conversation.

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago #112469 by ozzyrob
Sorry mate, recheck my post, I edited to be a bit more correct.

The noauto option might only work on the master branch, ie: 2.8.

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum