machinekit-cnc debian package build error

65 views
Skip to first unread message

Bryan

unread,
Sep 29, 2019, 1:34:31 AM9/29/19
to Machinekit
Hi,

    I built machinekit-hal debian package successfull on Ubuntu 18.04,
and try to build machinekit-cnc

with following commands:

        debian/configure -cr

        dpkg-checkbuilddeps

        dpkg-buildpackage -b -uc -us

and got an error:

        fatal error: rtapi_math.h: no such file or directory

Did I do some thing wrong ? Is there a compile guidance ?

Thanks



schoo...@gmail.com

unread,
Sep 29, 2019, 4:59:39 AM9/29/19
to machi...@googlegroups.com
You cannot build the machinekit-cnc package without machinekit-hal.
The error is on the first file from machinekit-hal that cannot be found.

Take a look at the script for the RIP build to see what is required.

When we build the packages, machinekit-hal is built first and the
required files and libs are
copied over before trying to build machinekit-cnc.

If you are version number chasing, you will come to grief in other ways
soon.
Kernel 5.2 has problems, including not containing files required by
dkms to build virtualbox drivers.
Python 2.7 is already deprecated in sid and looks like Ubuntu will
follow shortly,
then none of the legacy GUIs will work.

Michael Brown

unread,
Sep 29, 2019, 9:29:58 AM9/29/19
to Machinekit
To build the machinekit-cnc debs you first need to build machinekit-hal like you have done
then look in the hidden .jenkins folder in machinekit-cnc

Run the 2 scripts:
copy_includes <path to machinekit-cnc> <path to machinekit-hal>
copy_libs <path to machinekit-cnc> <path to machinekit-hal>

Michael

Bryan

unread,
Sep 29, 2019, 10:15:05 PM9/29/19
to machi...@googlegroups.com

schooner30,

  • Does RIP mean Run In Place ?
  • I downloaded machinekit-cnc package fromt http://deb.machinekit.io/, and changed kernel depends, and it works.
  • I will try to copy the includes and libs by shell scripts that Michael Brown wrote.

Thanks.

Bryan

unread,
Sep 29, 2019, 10:37:02 PM9/29/19
to machi...@googlegroups.com

Hi Michael,

    It works, using the 2 scripts. And the path should be absolute path, relative path would report stat error.

Thanks

--
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/bf25b7dd-9707-47cf-843f-d3b79a36273b%40googlegroups.com.

Michael Brown

unread,
Sep 30, 2019, 11:35:49 AM9/30/19
to Machinekit
Ok :-)
To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages