Where is scripts/rip-environment on linuxcnc-2.7-wheezy

More
12 Dec 2017 21:54 #103042 by AndrewHsasku
I am fed up with lack of documentation and sense in LinuxCNC.
Where is ./scripts/rip-environment located on linuxcnc-2.7-wheezy?

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

More
12 Dec 2017 22:27 - 12 Dec 2017 22:29 #103043 by Todd Zuercher
That depends on where you saved your git pull. There in the scripts dir.
Last edit: 12 Dec 2017 22:29 by Todd Zuercher.

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

More
12 Dec 2017 22:53 #103044 by InMyDarkestHour
If you have compiled run-in-place in will be in:

/path-to-some-directory-you-chose/linuxcnc/scripts

If you haven't yet compiled it wont be there.

If you are running form the live image or installed form the live image there is no need for it.

The wiki & docs are full of information, then there is also the source code to browse through, you wont garner a solid understanding after a few days, it takes a while, the more you use Linuxcnc to control a machine the better the understanding gets.

As for a "lack of sense" can you provide some examples ?

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

More
15 Dec 2017 00:50 #103129 by AndrewHsasku
Its pure copy installed from iso. Nothing added from git.
Starting linuxcnc, there is a lot of error like "Module xxx is in use by xxx". Some posts suggests using rip-environment to fix this error, but I cant find rip-environment anywhere.

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

More
15 Dec 2017 03:19 - 15 Dec 2017 03:23 #103130 by InMyDarkestHour
The rip-environment script sets up the environment variables for linuxcnc when it's compiled for run-in-place and installed via make setuid. You "source" this script before launching linuxcnc.

I think the best course of action would be to upload any logs relating to this issue, along with your hal files and any other files related to the config you are trying to run.

Does this issue appear when you run one of the supplied configs ?

What conditions are you seeing this error ?
Last edit: 15 Dec 2017 03:23 by InMyDarkestHour.

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

More
15 Dec 2017 23:18 #103148 by BigJohnT
The . ./scripts/rip-environment is only for a RIP (Run In Place) which means you downloaded a clone not for an installed LinuxCNC.

The exact error message is a big help...

JT

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

More
17 Dec 2017 02:30 #103181 by andypugh

I am fed up with lack of documentation and sense in LinuxCNC.


A more common complaint is that there is too much documentation, so perhaps you haven't found it?

linuxcnc.org/docs/2.7/html/

The Wiki is user-generated and a lot if it was generated by users 10 years ago. I would take _everything_ on the Wiki with caution.

The docs in the link above are maintained, and should be correct.

You almost certainly don't need, or want, rip-environment on a typical installation.

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

More
17 Dec 2017 15:52 #103222 by AndrewHsasku
Yes andypugh, you probably got a point.
Finally it turned out that there was some problem in .c that I compiled.
Halcompile didn't printed any error message. Starting linuxcnc resulted in error. Recompiling .c didn't fixed this error until a few reset of a whole computer. Error ("Module is in use") was printed for any configuration not matter if it was mine or simulation configuration.
Sad, but it would save a lot of time if I was not looking for rip-environment, because it mention in some post that I read, but focused on compilation itself.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum