- Posts: 12160
- Thank you received: 0
Error on config startup : Package Require Linuxcnc (solved)
6 years 2 weeks ago #185657
by rodw
Error on config startup : Package Require Linuxcnc (solved) was created 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
Any ideas?
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.
6 years 2 weeks ago #185665
by rodw
Replied by rodw on topic Error on config startup : Package Require Linuxcnc (solved)
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
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
-
Less
More
- Thank you received: 0
6 years 2 weeks ago #185676
by BeagleBrainz
Replied by BeagleBrainz on topic Error on config startup : Package Require Linuxcnc (solved)
That was a tricky one. Was that in the context of the same terminal ?
But one would think any variables would be overwritten.
But one would think any variables would be overwritten.
Please Log in to join the conversation.
6 years 2 weeks ago #185677
by rodw
Replied by rodw on topic Error on config startup : Package Require Linuxcnc (solved)
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
-
Less
More
- Thank you received: 0
6 years 2 weeks ago #185686
by BeagleBrainz
Replied by BeagleBrainz on topic Error on config startup : Package Require Linuxcnc (solved)
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.
6 years 2 weeks ago #185691
by rodw
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"
Replied by rodw on topic Error on config startup : Package Require Linuxcnc (solved)
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.
3 years 7 months ago #267771
by mor
Replied by mor on topic Error on config startup : Package Require Linuxcnc (solved)
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?
What should I delete to start from scratch?
Please Log in to join the conversation.
3 years 7 months ago #267772
by mor
Replied by mor on topic Error on config startup : Package Require Linuxcnc (solved)
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
