OK,
let's get the high ground overview and get the EMCApplication installed first on AMD64 system. Only after this is done and working, we will attack these other issues.
I will use a Docker container, as it is easy to spin up and clean after, but feel free to try it on a normal install (Debian) too:
First start Docker container with passed X11 socket and DISPLAY environment and DBUS socket for announcement:
docker run -it --rm -e DISPLAY=${DISPLAY} -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/dri:/dev/dri debian:buster bash -i
In it prepare basic setup and test it with firefox:
apt-get update
apt-get -y upgrade
apt-get install -y sudo
echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
adduser mk
sudo apt-get install -y firefox-esr
test with 'firefox' and you should see a firefox window appear of application running in Docker. Then install the prerequisites for Machinekit-HAL and EMCApplication:
sudo apt-get install -y curl
curl -1sLf \
'
https://dl.cloudsmith.io/public/machinekit/machinekit/cfg/setup/bash.deb.sh' \
| sudo -E bash
curl -1sLf \
'
https://dl.cloudsmith.io/public/machinekit/machinekit-hal/cfg/setup/bash.deb.sh' \
| sudo -E bash
curl -1sLf \
'
https://dl.cloudsmith.io/public/machinekit/emcapplication/cfg/setup/bash.deb.sh' \
| sudo -E bash
Now we need to install that special solver we were talking about as standard Debian APT cannot solve the dependencies:
sudo apt-get install -y apt-cudf
and install EMCApplication:
sudo apt-cudf-get --solver aspcud -o APT::Get::Assume-Yes=1 -o Debug::pkgProblemResolver=0 -o APT::Install-Recommends=0 install emcapplication
and then run:
linuxcnc
You then should be able to see a configuration selection window, select AXIS sim and run. You should see a basic simulation.
Please confirm you can get it running.
Cern.
Feb 27, 2021, 00:54 by
fun...@gmail.com:
> Hello,
>
> I few, quick references here...
>
> Would it be easier to make emcapplication once LinuxCNC is installed?
>
> Oh and...
>
> Is there a cure all outside of building the binaries from scratch?
>
> Seth
> On Wednesday, February 24, 2021 at 7:36:28 PM UTC-6 Mala Dies wrote:
>
>> Hello,
>>
>> I have been trying to install machinekit-hal and emcapplication. I got some pointers here and there...
>>
>> The issue is that emcapplication does not work in my eyes yet.
>>
>> I have been unable to install it, compile it, and/or compile plus install it from Cloudsmith repositories.
>>
>> So, machinekit-hal is done. I can run halcmd and halrun. This is not an issue.
>>
>> Does emcapplication work yet or still? I am in the middle of a build right now.
>>
>> I am installing the python2 libs. right now to handle the emcapplication dependencies.
>>
>> ...
>>
>> Also, I have quickly gotten the Cloudsmith repo. items for machinekit-hal and emcapplication if this will help. I can easily install the .deb packages w/:
>>
>> sudo apt install ./*.deb.
>>
>> But...
>>
>> Will it work? Have you seen anything online about it working? I started an issue or error source for the emcapplication online on the >>
github.com <
http://github.com>>> repo. but deleted it (as I am too way unfamiliar with this process so far).
>>
>> If you have any pointers for this: linuxcnc-build-deps_2.9.0~pre0.23585.git42bf973af~buster_all.deb
>>
>> Please let me know. It seems I keep getting this repo. .deb and it is not allowing me, the machine/internet/machinekit compilation, to access the updated version of machinekit-hal that is current.
>>
>> Also:
>>
>> Adding a new item to changelog:
>> =================================================================
>> linuxcnc (2.9.0~pre0.23585.git42bf973af~buster) Buster; urgency=low
>>
>> * Machinekit EMCApplication is build from LinuxCNC code, but is not part of
>> LinuxCNC and as such the lower entries are NOT accurate
>> * Commit: 42bf973af68d1ee4f18a3c43af15d49c0ea4bf54
>> * Merge pull request #7 from cerna/merge-21-october-2020
>> * Build as an 23585th rebuild for Debian Buster armhf
>>
>> -- xxxx xxxxxxx <>>
xx...@xxxxxxx.com <>>> > Thu, 25 Feb 2021 01:04:49 +0000
>> New package version number added to changelog
>> successfully configured for 'ext-hal-Debian-10'-'machinekit-hal'..
>>
>> The above pops up when I have a 'valid' install of this command:
>>
>> debian/configure machinekit-hal=${WANTED_VERSION_OF_MACHINEKIT_HAL_PACKAGES} no-docs
>>
>> Then, when I apply the next command for the compilation, I receive a bunch of issues/errors.
>>
>> This one:
>>
>> mk-build-deps \ --install \ --remove \ --root-cmd sudo \ --tool \ 'apt-cudf-get --solver aspcud -o APT::Get::Assume-Yes=1 -o Debug::pkgProblemResolver=0 -o APT::Install-Recommends=0' \ debian/control
>>
>> Seth
>>
>> P.S. I will report the errors soon. I will run the source again once compiled (if I can get it compiled) and then return service. Also, I started a small set up of instructions here:
>>
>>
https://gist.github.com/silver2row/8d5b8ee4d1917d896c24c24bd56ba5f4
>>
>
>
>
> --
> website: >
http://www.machinekit.io> blog: >
http://blog.machinekit.io> github: >
https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to >
machinekit+...@googlegroups.com> .
> To view this discussion on the web visit >
https://groups.google.com/d/msgid/machinekit/0444aa99-4a23-4c29-b55d-df15de57b36fn%40googlegroups.com <
https://groups.google.com/d/msgid/machinekit/0444aa99-4a23-4c29-b55d-df15de57b36fn%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>