linuxcnc-dev is missing?
- marq_torque
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 2
14 Oct 2024 19:47 #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.
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19304
- Thank you received: 6463
14 Oct 2024 20:20 #312096
by tommylight
Should be something like:
sudo halcompile --install cia402.comp
But you need to be in the folder containing cia402.comp.
Replied by tommylight on topic linuxcnc-dev is missing?
It is already installed.cnc@cnc:~$ sudo apt-get install linuxcnc-uspace-dev
linuxcnc-uspace-dev is already the newest version (1:2.9.3).
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.
- marq_torque
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 2
14 Oct 2024 20:21 - 14 Oct 2024 20:36 #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$
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19304
- Thank you received: 6463
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.
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.
- marq_torque
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 2
14 Oct 2024 21:17 #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
Please Log in or Create an account to join the conversation.
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.
The following user(s) said Thank You: marq_torque
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19304
- Thank you received: 6463
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.
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.
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19304
- Thank you received: 6463
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.
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.
- marq_torque
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 162
- Thank you received: 2
15 Oct 2024 08:20 #312132
by marq_torque
Replied by marq_torque on topic linuxcnc-dev is missing?
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?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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds