machinekit / EMCApplication

Machinekit Featured Application for Enhanced Motion Controller from LinuxCNC
GNU General Public License v2.0
14 stars 11 forks source link

RE: mk-build-deps... #11

Closed silver2row closed 3 years ago

silver2row commented 3 years ago

The issue tracker is not a support forum

The LinuxCNC issue tracker is to report bugs in the software. If you have a question about how to use the software, use one of the other methods detailed on our community support page: http://linuxcnc.org/community/

Here are the steps I follow to reproduce the issue:

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
git clone https://github.com/machinekit/emcapplication.git
cd emcapplication
sudo apt install build-essential fakeroot devscripts python apt-cudf
sudo apt-mark hold machinekit-hal
debian/configure machinekit-hal=0.4.20894-1.gitebe1344a0${debian} no-docs

I cannot make it past this command. So, I just use make and sudo make install w/out dependencies but I get
errors when I run the source on desktop/server w/ a vncserver.

This is what I expected to happen: I expected the build to make all dependencies.

This is what happened instead:

The following packages have unmet dependencies:
 emcapplication : Depends: machinekit-hal (= 0.4.20868-1.gitc2e248500~buster) but 0.4.21020-1.git941bffc90~buster is to b$
                  Recommends: linuxcnc-doc-en but it is not installable or
                              linuxcnc-doc but it is not installable
                  Recommends: machinekit-hal-dev (= 0.4.20868-1.gitc2e248500~buster) but 0.4.21020-1.git941bffc90~buster $
E: Unable to correct problems, you have held broken packages.

It worked properly before this:

(If the behavior changed after making a particular change in hardware or software, describe the change you think is responsible. E.g., "after upgrading from LinuxCNC 2.7.3 to 2.7.4")

Information about my hardware and software:

Seth

P.S. I have tried many different versions of machinekit-hal and all have failed me so far in relation to building emcapplication. Please provide assistance if you can find time.

silver2row commented 3 years ago

Hello Again,

I received some guidance on this issue. I think a docker image and a cross-compilation has done the trick. I will close this issue once the lib. works on a server or LCD. Sorry to post w/out any experience in the field here.

Seth

silver2row commented 3 years ago

Hello,

I had the wrong machinekit-hal items installed and corrected it via emcapplication cross-comp. Thank you if you read this plea.

Seth

P.S. Thank you @cerna .