How to install halcompile

More
6 years 2 months ago #179015 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 $

Please Log in to join the conversation.

More
6 years 2 months ago #179027 by tommylight
What does
uname -a
in a terminal say ?
What version of LinuxCNC, 2.8 or Master ?

Please Log in to join the conversation.

More
6 years 2 months ago #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

Please Log in to join the conversation.

More
6 years 2 months ago #179065 by tommylight
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 ?

Please Log in to join the conversation.

More
6 years 2 months ago #179091 by daidai
Replied by daidai on topic How to install halcompile
What is 4 digit number ?
I can’t find it.

Please Log in to join the conversation.

More
6 years 2 months ago #179110 by tommylight
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.

Please Log in to join the conversation.

More
6 years 2 months ago #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:/ $

Please Log in to join the conversation.

More
6 years 2 months ago #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

Please Log in to join the conversation.

More
5 years 9 months ago #194845 by dennis.lewis5
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.

Please Log in to join the conversation.

More
5 years 9 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum