New ethercat / probe basic control for minimonster

More
1 year 7 months ago #323230 by ihavenofish
So now I'm stuck at this step. it says git command not found....

If you are using cia402 compatible drives:

cd ~/dev
git clone github.com/dbraun1981/hal-cia402
cd hal-cia402
sudo halcompile --install cia402.comp

Please Log in to join the conversation.

More
1 year 7 months ago #323231 by rodw
try 
sudo apt install linuxcnc-uspace-dev

halcompile is part of the dev package.

Please Log in to join the conversation.

More
1 year 7 months ago #323232 by rodw
also you may need
sudo apt install git

Please Log in to join the conversation.

More
1 year 7 months ago #323233 by ihavenofish
thanks

now i get
fatal: could not create work tree dir 'hal-cia402': Permission denied

Please Log in to join the conversation.

More
1 year 7 months ago #323234 by rodw
not sure on what program?

Please Log in to join the conversation.

More
1 year 7 months ago #323235 by ihavenofish
thats after this line
git clone github.com/dbraun1981/hal-cia402

Please Log in to join the conversation.

More
1 year 7 months ago #323236 by rodw
I think you are in the /dev folder, not ~/dev
note the ~ for home folder.
 

Please Log in to join the conversation.

More
1 year 7 months ago #323237 by ihavenofish
i see. cause i tried ~/dev and it says no such folder

Please Log in to join the conversation.

More
1 year 7 months ago #323253 by rodw
git clone puts the folder with the same name as the repository in the folder you run the command in. have a look in the file explorer
I tend to create a new folder ~/devel and put all my cloned repos in it. I used to use ~/dev under my home folder but it is easy to get mixed up with the system folder as you found out

Please Log in to join the conversation.

More
1 year 7 months ago #323276 by ihavenofish
so to be clear, I need to make this folder. it is not one that should already exist?

Please Log in to join the conversation.

Time to create page: 0.202 seconds
Powered by Kunena Forum