comp --install no such command
17 Apr 2018 14:55 #109194
by kor
comp --install no such command was created by kor
Hi I want to try to install a component for my lathe toolchanger.
I adapted the emcoturn one a little bit and wanted to test it.
when I run the sudo comp --install emcochanger
I get an error: comp no such command
what do I need to install to make that work?
I am running linux mint with linuxcnc 2.7.10 (if i remember correctly)
I adapted the emcoturn one a little bit and wanted to test it.
when I run the sudo comp --install emcochanger
I get an error: comp no such command
what do I need to install to make that work?
I am running linux mint with linuxcnc 2.7.10 (if i remember correctly)
Please Log in or Create an account to join the conversation.
17 Apr 2018 14:59 #109196
by PCW
Replied by PCW on topic comp --install no such command
The hal component compiler has been re-named halcompile
Please Log in or Create an account to join the conversation.
17 Apr 2018 15:23 #109199
by kor
Replied by kor on topic comp --install no such command
for sudo halcompile --install emcochanger
I get no such command aswell
I get no such command aswell
Please Log in or Create an account to join the conversation.
17 Apr 2018 15:49 #109200
by PCW
Replied by PCW on topic comp --install no such command
Did you install the LinuxCNC dev package?
Please Log in or Create an account to join the conversation.
17 Apr 2018 16:25 #109207
by kor
Replied by kor on topic comp --install no such command
yes just checked, and it seems I dont have it.
how do i install it apt-get install linuxcnc-dev does not exist
how do i install it apt-get install linuxcnc-dev does not exist
Please Log in or Create an account to join the conversation.
17 Apr 2018 17:02 #109210
by PCW
Replied by PCW on topic comp --install no such command
If you use the synaptics package manager do any LinuxCNC packages show up? (use search)
If you don't have a standard LinuxCNC installation it may not have the repositories setup properly
Another possibility, if this is a run-in-place installation, you would need to run the rip script to setup your search
paths to include the proper directories
If you don't have a standard LinuxCNC installation it may not have the repositories setup properly
Another possibility, if this is a run-in-place installation, you would need to run the rip script to setup your search
paths to include the proper directories
Please Log in or Create an account to join the conversation.
17 Apr 2018 17:11 - 17 Apr 2018 18:39 #109211
by kor
Replied by kor on topic comp --install no such command
I used this tutorial
LinuxMint Prempt
to install linuxmint, linuxcnc and prempt kernel.
Sry I got no clue what you mean by rip script
In synaptec two pckages show up: linuxcnc-doc-en and linuxcnc-uspace
Sry I got no clue what you mean by rip script
In synaptec two pckages show up: linuxcnc-doc-en and linuxcnc-uspace
Last edit: 17 Apr 2018 18:39 by kor.
Please Log in or Create an account to join the conversation.
17 Apr 2018 19:05 #109218
by kor
Replied by kor on topic comp --install no such command
on my pc there is a folder called linuxcnc-dev, from the tutorial I followed. I still can't use the halcompile command.
in the linuxcnc-dev folder under scripts there is a rip script but I didn't try to run it yet as I got no clue what it does.
in the linuxcnc-dev folder under scripts there is a rip script but I didn't try to run it yet as I got no clue what it does.
Please Log in or Create an account to join the conversation.
17 Apr 2018 19:37 - 17 Apr 2018 19:38 #109220
by PCW
Replied by PCW on topic comp --install no such command
RIP stands for Run In Place and it allows you to run a linuxCNC installation that is not installed in the normal system directories
Its handy for development since it allows easy access to multiple LinuxCNC versions on a single machine
One disadvantage is that neither LinuxCNC or any of its utilities will be found with the default executable search path
in your shell, so to setup the search paths (and manual paths etc) you need to source a script that sets up these paths
thats what
. rip-environment
does
Its handy for development since it allows easy access to multiple LinuxCNC versions on a single machine
One disadvantage is that neither LinuxCNC or any of its utilities will be found with the default executable search path
in your shell, so to setup the search paths (and manual paths etc) you need to source a script that sets up these paths
thats what
. rip-environment
does
Last edit: 17 Apr 2018 19:38 by PCW.
Please Log in or Create an account to join the conversation.
18 Apr 2018 09:46 #109237
by kor
Replied by kor on topic comp --install no such command
I ran the ./rip-environment command and this is what happened:
This script can be used in one of two ways.
It can be loaded in the context of your shell, by executing
. ./rip-environment
after this, commands like 'linuxcnc', 'halrun' and so on refer to the
version in this directory, instead of to an installed version of
linuxcnc (if any)
Second, it can be used to run a command in this directory without
modifying the environment of the calling shell:
./rip-environment command...
such as
./rip-environment halrun foo.hal
./rip-environment linuxcnc configs/.../foo.ini
Sry I am a complete linux noob. what do i need to do to make the halcompile permanently accessibile?
This script can be used in one of two ways.
It can be loaded in the context of your shell, by executing
. ./rip-environment
after this, commands like 'linuxcnc', 'halrun' and so on refer to the
version in this directory, instead of to an installed version of
linuxcnc (if any)
Second, it can be used to run a command in this directory without
modifying the environment of the calling shell:
./rip-environment command...
such as
./rip-environment halrun foo.hal
./rip-environment linuxcnc configs/.../foo.ini
Sry I am a complete linux noob. what do i need to do to make the halcompile permanently accessibile?
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds