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

More
18 Feb 2017 21:13 #88186 by cut2cut

I don't want to hijack the thread, but now it appears I need to install drivers for the Mesa 7i76E and then I'm told to use pncconf to configure it.

www.linuxcnc.org/docs/html/drivers/hostmot2.html
and then
linuxcnc.org/docs/html/config/pncconf.html
Jake


You do not need drivers or anything, you need the second tutorial from this thread, after that you can run pcconfig to configure the card.


Hi Tommylight,
So I assume the drivers are included with LinuxCnc now ?

Second tutorial ? Using cncnoobs Post 1 tutorial I've installed the proper Kernel and linuxCNC seems to work. Is the second tutorial what RodW posted with regards to maintaining network settings (below) ?

#!/bin/bash
sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager start

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

More
18 Feb 2017 21:23 - 18 Feb 2017 21:30 #88187 by cncnoob1979
The first post is mainly for people wanting to test new linuxcnc updates via master branch. You should be fine with using the RIP build as you have it. However under a RIP linuxcnc is never actually installed in a traditional sense.. think of it more as a portability build. A RIP is for quick changes and testing.

Building a deb allows you to install linuxcnc as you would any traditional software. So files are in the location programs expect them to be, in a RIP they are under linuxcnc-dev.

For your card, you should be fine with a RIP but you may encounter issues when needing to point to different bit's/files dependent on linuxcnc's traditional file locations.

RodW is using a RIP and has his going. I am not familiar with that particular card since I use a 5i25/7i77 card.

I use a LinuxCNC RIP and a deb traditional install so I can test bleeding edge linuxcnc. As far as your card is concered and from memory You do not need any drivers.

7i76e is for steppers use forum.linuxcnc.org/16-stepconf-wizard to configure it.
Last edit: 18 Feb 2017 21:30 by cncnoob1979.
The following user(s) said Thank You: cut2cut

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

More
18 Feb 2017 21:27 - 18 Feb 2017 21:31 #88188 by cut2cut
Ah, I was wondering why I had to look around for it, seemingly hidden away.

I guess I'll see how things go and if needed rebuild from the "ground up" using post 2. I just assumed your tutorial was 3 different ways to do the exact same thing. Thanks for the clarification.

[edit... yes, I should have said, exact same way, except for the different Kernels]

Jake
Last edit: 18 Feb 2017 21:31 by cut2cut.

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

More
18 Feb 2017 21:29 #88189 by cncnoob1979
Tutorial 3 is for building a system using a RTAI kernel, another separate animal from the PREEMPT Kernel. PREEMPT RT Kernel is required for the "e" [Ethernet] series cards I do believe.
The following user(s) said Thank You: cut2cut

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

More
18 Feb 2017 21:33 #88190 by cncnoob1979
Also as a note you would not have to build from the ground up. Just start on post two with building linuxcnc as a .deb. You can build a deb from your rip installation directory. Then install the .deb and not use the RIP, or keep both if you'd like.

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

More
19 Feb 2017 07:05 - 19 Feb 2017 07:07 #88237 by cut2cut
Well, I'm stuck here. I went ahead and started from scratch with a fresh install of Mint 18.1 64bit. Then using the deb install (Post 2 ) I patched and compiled the prreemtive kernel etc. I'm stuck at the linuxcnc creating a deb to install section. I did make one mistake and used the apt get update command without a file name, so I assume it updated everything in the src directory ( I believe ) instead of the one file it asked to be updated ( libxenomai-dev ).

Here is the result. Any help is greatly appreciated!
( note, I had to remove a bunch of the h t t p 's because the forum bot told me I had too many external links in my message )

jake@cnc ~/linuxcnc-dev/debian $ sudo apt-get update
[sudo] password for jake:
Ign:1 htt/packages.linuxmint.com serena InRelease
Hit:2 htt//packages.linuxmint.com serena Release
Hit:3 htt//archive.ubuntu.com/ubuntu xenial InRelease
Get:5 ht://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:6 ht://archive.canonical.com/ubuntu xenial InRelease
Get:7 htt//archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:8 htt//packages.linuxmint.com serena/main Sources [16.2 kB]
Get:9 ht//archive.canonical.com/ubuntu xenial/partner Sources [2,316 B]
Get:10 h://packages.linuxmint.com serena/upstream Sources [12.3 kB]
Get:11 ht//packages.linuxmint.com serena/import Sources [1,546 B]
Get:12 h://packages.linuxmint.com serena/backport Sources [30.5 kB]
Get:13 htt//archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:14 ht//security.ubuntu.com/ubuntu xenial-security/main Sources [60.1 kB]
Get:15 htt/archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
Get:16 h://archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
Get:17://archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
Get:18 //security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,288 B]
Get:19 ://security.ubuntu.com/ubuntu xenial-security/universe Sources [20.0 kB]
Get:20 ://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,148 B]
Get:21 ://archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
Get:22 //archive.ubuntu.com/ubuntu xenial-updates/main Sources [231 kB]
Get:23 ://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,688 B]
Get:24 ://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [130 kB]
Get:25 //archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [4,556 B]
Get:26 //archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,200 B]
Get:27 ://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [1,868 B]
Fetched 9,606 kB in 10s (900 kB/s)
Reading package lists... Done
jake@cnc ~/linuxcnc-dev/debian $ sudo apt-get install libxenomai-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxenomai-dev is already the newest version (2.6.4+dfsg-0.2).
0 upgraded, 0 newly installed, 0 to remove and 141 not upgraded.
jake@cnc ~/linuxcnc-dev/debian $ cd ..
jake@cnc ~/linuxcnc-dev $ cd src
jake@cnc ~/linuxcnc-dev/src $ git checkout 2.7
Branch 2.7 set up to track remote branch 2.7 from origin.
Switched to a new branch '2.7'
jake@cnc ~/linuxcnc-dev/src $ debuild -uc -us
debuild: fatal error at line 679:
found debian/changelog in directory
/home/jake/linuxcnc-dev
but there's no debian/rules there! Are you in the source code tree?
jake@cnc ~/linuxcnc-dev/src $ git checkout 2.7
Already on '2.7'
Your branch is up-to-date with 'origin/2.7'.
jake@cnc ~/linuxcnc-dev/src $ ../debian/configure uspace ; debuild -uc -us
unknown distribution: LinuxMint-18.1
configuration may be wrong!
successfully configured for 'uspace-LinuxMint-18.1'-'uspace'..
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package linuxcnc
dpkg-buildpackage: source version 1:2.7.8
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Sebastian Kuzminsky <This email address is being protected from spambots. You need JavaScript enabled to view it.>
dpkg-source --before-build linuxcnc-dev
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: libgnomeprintui2.2-dev python-support tcl8.4-dev tk8.4-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed
jake@cnc ~/linuxcnc-dev/src $
Last edit: 19 Feb 2017 07:07 by cut2cut.

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

More
19 Feb 2017 07:56 - 19 Feb 2017 07:58 #88238 by cncnoob1979
Here's your error:

Did you check build dependencies first?

You should just need to install these.

dpkg-checkbuilddeps: error: Unmet build dependencies: libgnomeprintui2.2-dev python-support tcl8.4-dev tk8.4-dev
Last edit: 19 Feb 2017 07:58 by cncnoob1979.

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

More
19 Feb 2017 08:24 - 19 Feb 2017 08:26 #88239 by cut2cut

Here's your error:

Did you check build dependencies first?

You should just need to install these.

dpkg-checkbuilddeps: error: Unmet build dependencies: libgnomeprintui2.2-dev python-support tcl8.4-dev tk8.4-dev


yes, isn't dpkg-checkbuilddeps the command to check dependencies ?

I was able to correct two of the three, however libgnomeprintui2.2-dev python-support
remains @large ( by the way, a favorite book of mine is @Large , ever hear of it ? ) sadly, I can't use the excuse of having thick pizza grease on my glasses :-)

jake@cnc ~/linuxcnc-dev $ sudo apt-get install libgnomeprintui2.2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnomeprintui2.2-dev
E: Couldn't find any package by glob 'libgnomeprintui2.2-dev'
E: Couldn't find any package by regex 'libgnomeprintui2.2-dev'
jake@cnc ~/linuxcnc-dev $ dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: Unmet build dependencies: libgnomeprintui2.2-dev python-support
Last edit: 19 Feb 2017 08:26 by cut2cut.

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

More
19 Feb 2017 09:39 #88241 by rodw
The following user(s) said Thank You: cut2cut

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

More
19 Feb 2017 10:07 #88243 by cut2cut
thanks rodw but the libgnomeprintui2.2-dev file is still not available there either. Perhaps a server is down ?

Going to get some shut eye and tackle this again in the AM.

Jake

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

Time to create page: 0.343 seconds
Powered by Kunena Forum