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

More
25 Apr 2017 17:59 #92091 by andypugh
The simple way to get LinuxCNC version 8 (master) as an installed system is to use the buildbot.

buildbot.linuxcnc.org

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

More
25 Apr 2017 21:46 #92108 by rodw
Jake,

Each version of the software is a branch. The current up to date branch is called Master and as its the development branch its unstable. Developers hive off copies into their own branch and work on stuff and if it is approved, it gets merged back into master. Every now and again, master gives birth to a stable branch certified for production. The current stable release is version 2.7. Master is version 2.8. The version is displayed on the splash screen on startup.

Because you have the source installed, you can navigate to the ~/linuxcnc-dev/src folder and type something like the following:
git checkout master
make clean
make -j8
sudo make setuid

make clean clears all of the generated code away so it compiles everything othjerwise it only compiles what it has to but sometimes it gets stuffed up
The -j8 is optional but uses more CPU cores so compilation is meant to be faster

using git checkout you can swap between branches at will and just recompile. I'm using a development branch (dgarr/external_offsets) and often swap back to master as laid out here.

The source code lives here github.com/LinuxCNC/linuxcnc
and there is a drop down in the top left that allows you to look at various branches.

If you are running as run in place you need to type . ~/linux-dev/src/scripts/rip-environment (must include the initial DOT) and after that typing linuxcnc on the command line will start Linuxcnc.
The following user(s) said Thank You: cut2cut

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

More
27 Apr 2017 03:12 #92177 by cncnoob1979
Hey Jake!

If you want to build master follow everything as before. Just do not give this command
git checkout 2.7

The build process will default to 2.8Pre~

If you are using your currently downloaded linuxcnc issue inside of the folder ; linuxcnc/src ; this will reset you to the newest source code ready to compile. As rodw previously mentioned;
make clean
git pull
git checkout master

Then do the deb build per the instructions.
The following user(s) said Thank You: cut2cut

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

More
27 Apr 2017 06:01 - 27 Apr 2017 06:02 #92179 by cut2cut
You guys are awesome! I'll try this in the coming weeks...
to be continued :)

Jake
Last edit: 27 Apr 2017 06:02 by cut2cut.

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

More
27 Apr 2017 12:39 #92196 by PKM
Anyone can share the latest RT kernel debs? Thanks!

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

More
27 Apr 2017 14:05 #92210 by PKM

andypugh wrote: The simple way to get LinuxCNC version 8 (master) as an installed system is to use the buildbot.
buildbot.linuxcnc.org

I think it should be
deb buildbot.linuxcnc.org/ jessie master-sim
RIght?

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

More
27 Apr 2017 14:15 #92213 by andypugh
Looks right for sim or preempt-rt, yes.

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

More
28 Apr 2017 20:52 #92305 by jj89074
I am trying to follow the installation listed under "post 2", but I'm having problems at the point of downloading the kernel.

I can install Mint 18.1 and update, and remove ndiswrapper and virtual box, but the next step at the following line:

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

does not work. I get the following error: name or service no known. wget: unable to resolve host address 'ftp.kernel.org'

I have very little experience with Linux...what does this mean?

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

More
28 Apr 2017 21:56 #92308 by probamo

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

More
01 May 2017 08:43 #92414 by PKM

andypugh wrote: The simple way to get LinuxCNC version 8 (master) as an installed system is to use the buildbot.

buildbot.linuxcnc.org


I get this error:

The following packages have unmet dependencies:
linuxcnc-uspace : Depends: libboost-python1.55.0 but it is not installable

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

Time to create page: 0.146 seconds
Powered by Kunena Forum