linuxcnc-dev is missing?

More
14 Oct 2024 19:47 #312094 by marq_torque
Hello Everyone, I tried to compile cia402.comp Homing.comp and for that Linuxcnc-Dev is necessary. i tried to install but got following errors

cnc@cnc:~$ sudo apt-get install linuxcnc-uspace-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linuxcnc-uspace-dev is already the newest version (1:2.9.3).
The following packages were automatically installed and are no longer required:
  libwpe-1.0-1 libwpebackend-fdo-1.0-1 linux-headers-6.1.0-18-amd64
  linux-headers-6.1.0-18-common linux-headers-6.1.0-18-common-rt
  linux-headers-6.1.0-18-rt-amd64 linux-headers-6.1.0-22-amd64
  linux-headers-6.1.0-22-common linux-image-6.1.0-18-rt-amd64
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cnc@cnc:~$




cnc@cnc:~$ sudo apt-get install linuxcnc-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linuxcnc-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linuxcnc-dev' has no installation candidate
cnc@cnc:~$


cnc@cnc:~$ git clone github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
bash: git: command not found
cnc@cnc:~$


Pl ignore my mistakes, i'm not understanding how linuxcnc-dev installation works.

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 20:20 #312096 by tommylight
Replied by tommylight on topic linuxcnc-dev is missing?

cnc@cnc:~$ sudo apt-get install linuxcnc-uspace-dev

linuxcnc-uspace-dev is already the newest version (1:2.9.3).

It is already installed.
Should be something like:
sudo halcompile --install cia402.comp
But you need to be in the folder containing cia402.comp.
The following user(s) said Thank You: marq_torque

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 20:21 - 14 Oct 2024 20:36 #312097 by marq_torque
i'm not able to locate linuxcnc-dev folder as older version was available in same Home/linuxcnc-dev

Any ideas?

:Edit:
Received following error

cnc@cnc:~/Downloads$ sudo halcompile --install el8_homecomp.comp
[sudo] password for cnc:
Compiling realtime el8_homecomp.c
el8_homecomp.comp:80:10: fatal error: /home/cnc/linuxcnc-dev/src/emc/motion/homing.c: No such file or directory
compilation terminated.
make: *** [/usr/share/linuxcnc/Makefile.modinc:117: el8_homecomp.o] Error 1
cnc@cnc:~/Downloads$
Last edit: 14 Oct 2024 20:36 by marq_torque.

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 20:38 #312098 by tommylight
Replied by tommylight on topic linuxcnc-dev is missing?
el8_homecomp.comp:80:10: fatal error: /home/cnc/linuxcnc-dev/src/emc/motion/homing.c: No such file or directory
Seems to need homing.c file and it is not there, where and how did you get the files?
Good thing is the install command is working, proving LinuxCNC-dev is installed and working.
The following user(s) said Thank You: marq_torque

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 21:17 #312100 by marq_torque
I just downloaded comp file from github. Can you guide me exact steps? Thanks in advance

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 22:12 #312102 by Benb
Replied by Benb on topic linuxcnc-dev is missing?
Attached is a step by step pdf file that I use to install linuxcnc rip, The procedure assumes you have installed clean Debian 12 in your computer.
 
Attachments:
The following user(s) said Thank You: marq_torque

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 22:49 - 15 Oct 2024 00:10 #312106 by tommylight
Replied by tommylight on topic linuxcnc-dev is missing?
EDIT:
Ignore this post, Benb pointed to info i missed, sorry.

This is not about installing RIP, it is about installing EtherCAT modules.
-
Download the whole project, not just the file you need, and try again.
Last edit: 15 Oct 2024 00:10 by tommylight.
The following user(s) said Thank You: marq_torque

Please Log in or Create an account to join the conversation.

More
14 Oct 2024 23:30 #312113 by Benb
Replied by Benb on topic linuxcnc-dev is missing?
Hey Tom, I am complete dummy when it comes to Linux OS. ?However, since I started using RIP I know where all pieces of the programs I loaded reside. For non linux savey it makes it easy to troubleshoot. As marq_torque indicated he does not know the location of hos files. marq_torque Once you install rip all your linux files will reside in Linuxcnc directory. If you follow the procedure all your linuxcnc files will reside in /dev/linuxcnc.
The following user(s) said Thank You: tommylight, marq_torque

Please Log in or Create an account to join the conversation.

More
15 Oct 2024 00:08 #312116 by tommylight
Replied by tommylight on topic linuxcnc-dev is missing?
Sorry Benb, my bad, i just noticed it is looking for the homing.c file in the dev folder.
Thank you for bringing that to my attention, very much appreciated.
The following user(s) said Thank You: marq_torque

Please Log in or Create an account to join the conversation.

More
15 Oct 2024 08:20 #312132 by marq_torque

Attached is a step by step pdf file that I use to install linuxcnc rip, The procedure assumes you have installed clean Debian 12 in your computer.
 

 

Much thanks Benb, I have installed "LinuxCNC_2.9.2-amd64.hybrid" updated to 2.9.3 thru synaptic package. Can i follow the steps in PDF for this install?

Please Log in or Create an account to join the conversation.

Time to create page: 0.144 seconds
Powered by Kunena Forum