Advertisement
LAIR82

Lair82 Build

Sep 10th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Installing a fresh build on Debian to use a 7i80 Ethernet card
  2.  
  3. From the terminal,
  4.  
  5. cd ~
  6.  
  7. sudo apt-get install git-core gitk git-gui
  8.  
  9. sudo apt-get build-dep linuxcnc
  10.  
  11. sudo apt-get install linux-image-3.2.0-4-rt-686-pae
  12.  
  13. sudo apt-get install libudev-dev
  14.  
  15. sudo apt-get install iptables-persistent
  16.  
  17. git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
  18.  
  19. THEN
  20.  
  21. cd linuxcnc-dev
  22.  
  23. Then, to make sure current
  24.  
  25. git pull
  26.  
  27. Then to run master,
  28.  
  29. git checkout master
  30.  
  31. Or to run a release,
  32.  
  33. git branch --track 2.6_branch
  34. git checkout 2.6
  35.  
  36. to resolve outstanding build dependencies
  37.  
  38. cd debian
  39. ./configure -a
  40. cd .."
  41. dpkg-checkbuilddeps
  42.  
  43. Then
  44.  
  45. sudo apt-get install --- to install each of the missing build dependencies
  46.  
  47. Then run these commands in the directory created by git above (e.g., linuxcnc-dev):
  48.  
  49.  
  50. cd src
  51.  
  52. ./autogen.sh
  53.  
  54. ./configure --with-realtime=uspace --enable-run-in-place
  55.  
  56. make
  57.  
  58. sudo make setuid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement