linuxcnc-dev is missing?

More
2 years 2 weeks ago #312094 by marq_torque
linuxcnc-dev is missing? was created 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.
More
2 years 2 weeks ago #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
More
2 years 2 weeks ago - 2 years 2 weeks ago #312097 by marq_torque
Replied by marq_torque on topic linuxcnc-dev is missing?
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: 2 years 2 weeks ago by marq_torque.
More
2 years 2 weeks ago #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
More
2 years 2 weeks ago #312100 by marq_torque
Replied by marq_torque on topic linuxcnc-dev is missing?
I just downloaded comp file from github. Can you guide me exact steps? Thanks in advance
More
2 years 2 weeks ago #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
Time to create page: 1.389 seconds
Powered by Kunena Forum