Error on config startup : Package Require Linuxcnc (solved)

More
6 years 2 weeks ago #185657 by rodw
HI guys, I just pulled a new instance of Linux and compiled 2.8 as RIP. and I get this error when opening any config. I am running Linux mint which was installed before the release of 2.8
Code:
rod@rods-pc:~/linuxcnc-plasmac$ linuxcnc LINUXCNC - 2.9.0~pre0 Machine configuration directory is '/home/rod/linuxcnc/configs/sim.monokrom/plasma' Machine configuration file is 'xyz.ini' can't find package Linuxcnc while executing "package require Linuxcnc " (file "/home/rod/linuxcnc-plasmac/lib/hallib/check_config.tcl" line 160) check_config validation failed LinuxCNC terminated with an error. You can find more information in the log: /home/rod/linuxcnc_debug.txt and /home/rod/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

Any ideas?

Please Log in to join the conversation.

More
6 years 2 weeks ago #185665 by rodw
Solved, the path included another RIP instance so it was looking in the wrong folder for linuxcnc.so.
I thought rip-environment should overwite the path.... but it doesn't remove old paths

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 2 weeks ago #185676 by BeagleBrainz
That was a tricky one. Was that in the context of the same terminal ?

But one would think any variables would be overwritten.

Please Log in to join the conversation.

More
6 years 2 weeks ago #185677 by rodw
Yeh, I must look at the script. It is actually the path variable which does not have the old reference removed so it had paths to more than one version of the linuxcnc-dev folder... Thinking about it, the path might be hard to modify. The script would need to look at some of the other ENV variables and parse the path to find what needs to be removed...

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 2 weeks ago #185686 by BeagleBrainz
Yes, yes, yes, I get where you are coming from now. It adds to the path, rather than parses & modifies the path.

Please Log in to join the conversation.

More
6 years 2 weeks ago #185691 by rodw

BeagleBrainz wrote: Yes, yes, yes, I get where you are coming from now. It adds to the path, rather than parses & modifies the path.


A simpler alternative might be to provide more informative error messages. Maybe:
"Unable to locate the Linuxcnc package. Check your configuration and ensure no multiple entries in your path exist. Try rebooting which may resolve the error"

Please Log in to join the conversation.

More
3 years 7 months ago #267771 by mor
I went from a package installation to a RIP and it worked for a bit then just stopped with the same error you encountered.

What should I delete to start from scratch?

Please Log in to join the conversation.

More
3 years 7 months ago #267772 by mor
I just rebuilt and ran the rip-environment script and that seemed to work. I deleted the previous files installed by "make install".

Please Log in to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum