Error on config startup : Package Require Linuxcnc (solved)
11 Oct 2020 00:59 - 11 Oct 2020 05:22 #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?
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?
Last edit: 11 Oct 2020 05:22 by rodw.
Please Log in or Create an account to join the conversation.
11 Oct 2020 05:24 #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 or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
11 Oct 2020 08:00 #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 or Create an account to join the conversation.
11 Oct 2020 08:06 #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 or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
11 Oct 2020 08:50 #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.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
11 Oct 2020 09:25 #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)
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 or Create an account to join the conversation.
29 Mar 2023 05:15 #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 or Create an account to join the conversation.
29 Mar 2023 05:26 #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 or Create an account to join the conversation.
Time to create page: 0.104 seconds