How to install halcompile
22 Aug 2020 17:02 #179015
by daidai
How to install halcompile was created by daidai
I installed linuxcnc on my Raspberry Pi 4 and it works fine using mesa 7c81.
It seems that halcompile is not installed, so I am trying to install it, but it does not work.
I found some similar writings so I tried them but it doesn't work.
I have little knowledge about programming, so I don't know if it's difficult to say, but I'd like to make my own hal component.
Please tell me the solution as clearly as possible.
Below is the error I am facing
pi@raspberrypi:~ $ sudo apt-get install linuxcnc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linuxcnc-uspace-dev
pi@raspberrypi:~ $
pi@raspberrypi:~ $ cd usr/realtime-3.4-9-rtai-686-pae/
bash: cd: usr/realtime-3.4-9-rtai-686-pae/: No such file or directory
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo apt-get install libgnomeprintui2.2-deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnomeprintui2.2-deb
E: Couldn't find any package by glob 'libgnomeprintui2.2-deb'
E: Couldn't find any package by regex 'libgnomeprintui2.2-deb'
pi@raspberrypi:~ $
pi@raspberrypi:~/linuxcnc-dev $
It seems that halcompile is not installed, so I am trying to install it, but it does not work.
I found some similar writings so I tried them but it doesn't work.
I have little knowledge about programming, so I don't know if it's difficult to say, but I'd like to make my own hal component.
Please tell me the solution as clearly as possible.
Below is the error I am facing
pi@raspberrypi:~ $ sudo apt-get install linuxcnc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linuxcnc-uspace-dev
pi@raspberrypi:~ $
pi@raspberrypi:~ $ cd usr/realtime-3.4-9-rtai-686-pae/
bash: cd: usr/realtime-3.4-9-rtai-686-pae/: No such file or directory
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo apt-get install libgnomeprintui2.2-deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnomeprintui2.2-deb
E: Couldn't find any package by glob 'libgnomeprintui2.2-deb'
E: Couldn't find any package by regex 'libgnomeprintui2.2-deb'
pi@raspberrypi:~ $
pi@raspberrypi:~/linuxcnc-dev $
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
22 Aug 2020 20:34 #179027
by tommylight
Replied by tommylight on topic How to install halcompile
What does
uname -a
in a terminal say ?
What version of LinuxCNC, 2.8 or Master ?
uname -a
in a terminal say ?
What version of LinuxCNC, 2.8 or Master ?
The following user(s) said Thank You: daidai
Please Log in or Create an account to join the conversation.
22 Aug 2020 23:44 #179048
by daidai
Replied by daidai on topic How to install halcompile
Thank you for your reply
pi@raspberrypi:~/linuxcnc-dev $ uname -a
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~/linuxcnc-dev $
LINUXCNC - 2.8.0~pre1
pi@raspberrypi:~/linuxcnc-dev $ uname -a
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~/linuxcnc-dev $
LINUXCNC - 2.8.0~pre1
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
23 Aug 2020 06:24 #179065
by tommylight
Replied by tommylight on topic How to install halcompile
When you start LinuxCNC at the top border there is the version of it and a 4 digit number after pre1,
Try to find that same number here something like
linuxcnc-uspace-dev_2.8.0~pre1.XXXX.................._armhf.deb
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-armhf/
And use gdebi to install.
This might not work as you are using a non real time kernel with ARMV and this is made for ARMHF architecture.
What Raspberry ?
Try to find that same number here something like
linuxcnc-uspace-dev_2.8.0~pre1.XXXX.................._armhf.deb
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-armhf/
And use gdebi to install.
This might not work as you are using a non real time kernel with ARMV and this is made for ARMHF architecture.
What Raspberry ?
The following user(s) said Thank You: daidai
Please Log in or Create an account to join the conversation.
23 Aug 2020 11:05 - 23 Aug 2020 11:12 #179091
by daidai
Replied by daidai on topic How to install halcompile
What is 4 digit number ?
I can’t find it.
I can’t find it.
Last edit: 23 Aug 2020 11:12 by daidai.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
23 Aug 2020 15:42 - 23 Aug 2020 15:44 #179110
by tommylight
Replied by tommylight on topic How to install halcompile
Ooops, it seems you have a compiled version from git and that does not show the build number.
But that also means you should be able to install the dev version the same way.
But that also means you should be able to install the dev version the same way.
Last edit: 23 Aug 2020 15:44 by tommylight. Reason: more info
The following user(s) said Thank You: daidai
Please Log in or Create an account to join the conversation.
24 Aug 2020 15:34 #179252
by daidai
Replied by daidai on topic How to install halcompile
I'm not sure which dev version is correct, but I just tried installing some.
but I can not install linuxcnc-dev.
Which dev version need to install ?
pi@raspberrypi:~/linuxcnc $ sudo gdebi /home/pi/Downloads/linuxcnc-uspace-dev_2.8.0_pre1.6129.gf5b699979_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: linuxcnc-uspace (= 1:2.8.0~pre1.6129.gf5b699979)
pi@raspberrypi:~/linuxcnc $
pi@raspberrypi:/ $ sudo apt-get install linuxcnc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linuxcnc-dev
pi@raspberrypi:/ $
pi@raspberrypi:/ $ sudo apt-get install halcompile
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package halcompile
pi@raspberrypi:/ $
but I can not install linuxcnc-dev.
Which dev version need to install ?
pi@raspberrypi:~/linuxcnc $ sudo gdebi /home/pi/Downloads/linuxcnc-uspace-dev_2.8.0_pre1.6129.gf5b699979_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: linuxcnc-uspace (= 1:2.8.0~pre1.6129.gf5b699979)
pi@raspberrypi:~/linuxcnc $
pi@raspberrypi:/ $ sudo apt-get install linuxcnc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linuxcnc-dev
pi@raspberrypi:/ $
pi@raspberrypi:/ $ sudo apt-get install halcompile
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package halcompile
pi@raspberrypi:/ $
Please Log in or Create an account to join the conversation.
29 Aug 2020 07:11 #179919
by daidai
Replied by daidai on topic How to install halcompile
Finally done
It took a very long time due to lack of knowledge.
I can use halcompile .
cd /home/pi/
sudo apt-get install python-serial
sudo dpkg -i linuxcnc-uspace-dev_2.8.0~pre1_armhf.deb
Thank you
It took a very long time due to lack of knowledge.
I can use halcompile .
cd /home/pi/
sudo apt-get install python-serial
sudo dpkg -i linuxcnc-uspace-dev_2.8.0~pre1_armhf.deb
Thank you
Please Log in or Create an account to join the conversation.
- dennis.lewis5
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 5
11 Jan 2021 04:49 #194845
by dennis.lewis5
Replied by dennis.lewis5 on topic How to install halcompile
I have been trying to install halcompile as well. Pi 4, with Linuxcnc preempt rt 2.8.0 Debian 10 from linuxcnc.org/iso/linuxcnc-2.8.0-pi4.zip
Following the above example fails with: "dpkg: error: cannot access archive 'linuxcnc-uspace-dev_2.8.0~pre1_armhf.deb': No such file or directory"
same problem with sudo dpkg -i linuxcnc-uspace-dev_2.8.0_armhf.deb.
any help would be appreciated.
Following the above example fails with: "dpkg: error: cannot access archive 'linuxcnc-uspace-dev_2.8.0~pre1_armhf.deb': No such file or directory"
same problem with sudo dpkg -i linuxcnc-uspace-dev_2.8.0_armhf.deb.
any help would be appreciated.
Please Log in or Create an account to join the conversation.
11 Jan 2021 13:38 #194902
by andypugh
Replied by andypugh on topic How to install halcompile
I would expect halcompile to already be installed.
If not:
sudo apt-get install linuxcnc-uspace-dev
Should download and install it.
If not:
sudo apt-get install linuxcnc-uspace-dev
Should download and install it.
The following user(s) said Thank You: dennis.lewis5, aerocub
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds