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 or Create an account 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 ?
The following user(s) said Thank You: daidai

Please Log in or Create an account 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 or Create an account 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 ?
The following user(s) said Thank You: daidai

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

More
6 years 2 months ago - 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.
Last edit: 6 years 2 months ago by daidai.

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

More
6 years 2 months ago - 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.
Last edit: 6 years 2 months ago by tommylight. Reason: more info
The following user(s) said Thank You: daidai

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

Time to create page: 0.418 seconds
Powered by Kunena Forum