Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMCApplication packages for new Machinekit-hal releases #15

Open
RVillatore opened this issue Jan 14, 2022 · 10 comments
Open

EMCApplication packages for new Machinekit-hal releases #15

RVillatore opened this issue Jan 14, 2022 · 10 comments

Comments

@RVillatore
Copy link

I was attempting to isntall EMCApplication on my DE10 nano running debian 11 and I was surprised to see that there are packages for machinekit-hal but there are no updates to EMCApplication.

Am I missing something?

@ebo
Copy link
Contributor

ebo commented Jan 18, 2022

I was just about to ask the same thing. Does anyone have updates they are willing to point us to and share?

@jallwine
Copy link

I'm also looking into this. What is necessary to get EMCApplication going with the latest CMake built machinekit-hal packages? I'm specifically looking into getting it working on Bullseye if that matters.

@ebo
Copy link
Contributor

ebo commented Jan 19, 2022

According to both what I have read, and looing at what is being built on cloudsmith, EMCApplication is not being built for Bullseye, and as far as I can tell, machinekit-hal is not stable at the moment on buster. I have no idea what needs to be done to get EMCA to work on bullseye. Maybe someone else will comment.

@RVillatore
Copy link
Author

When you try to build the emcapplication as a RIP, it will complain about not being able to install the package "pru-assembler".
I've edited the bootstrap file to not require this package.
Now it complains that there is no "machinekit-hal.pc" file when running the command "./configure --with-hal=machinekit-hal"
I'm compiling machinekit-hal to see if I can make this file, but it takes some time when running that on a de10 nano.

@ebo
Copy link
Contributor

ebo commented Jan 21, 2022

@RVillatore yea... If I do much of this type of stuff I'll work on getting distcc working again. I'll try to poke at this again this weekend if I get a chance.

@RVillatore
Copy link
Author

@ebo I've managed to compile emcapplication for Bullseye using the latest machinekit-hal, now I'm fixing the package generation.
I'll upload the packages and my changes to a fork when I'm done (should take 1 or 2 weeks, since I'm not able to work on it very often)
For those interested in the solution:
First of all, you should hard code the path to machinekit hal in the configure.ac file or create a machineki-hal.pc file.
Next, you will need to fix the dependencies (this will take some time)
and then fix the submake files to solve linking problems.
This dhould be enough to compile.
I'll update this with my solution for the package build when I'm done

@RVillatore
Copy link
Author

@ebo I 've managed to finish my very bad fix to compile emcapplication for the newest machinekit-hal releaso (bullseye).
Please see my git repo: https://github.com/RVillatore/EMCApplication/tree/machinekit-hal-last-update
You just need to follow the instructions under docker to create a container and build the packages.
Just to let you know, I've only compiled the application, but haven't tested it.

@ebo
Copy link
Contributor

ebo commented Jul 18, 2022

Thanks. I will have to check this out. As a note, I have been sick for awhile (non-COVID related) and it will be awhile before I can make time to pick this back up again.

@RVillatore
Copy link
Author

@ebo Hi, man... take care. I hope that you are doing well.
Please contact me when you start messing with this again, I'll be glad to help you if you need =)

@ebo
Copy link
Contributor

ebo commented Jul 18, 2022

@RVillatore thank you for the well wishing, and for the offer. I am sure I will get back in contact when I pick this back up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants