Building MK from source for beaglebone black

77 views
Skip to first unread message

Klemen Zhivko

unread,
Aug 19, 2019, 4:09:39 PM8/19/19
to Machinekit
I follow instruction from official documentation of machinekit building fom source:

and I get:
...
./configure --with-platform-beaglebone
returns:
...
configure: error: Package requirements (libczmq > 4.0) were not met:

I am on:
machinekit@beaglebone:~/git/machinekitOff/src$ cat /proc/version
Linux version 3.8.13-xenomai-r79 (root@a3-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 Wed Jun 15 22:12:09 UTC 2016

what is fast track to upgrade to latest machinekit on beaglebone black?

ce...@tuta.io

unread,
Aug 19, 2019, 4:15:24 PM8/19/19
to Klemen Zhivko, Machinekit
Aug 19, 2019, 22:09 by klemenz...@gmail.com:

> I follow instruction from official documentation of machinekit building fom source:
> http://www.machinekit.io/docs/developing/machinekit-developing/ <http://www.machinekit.io/docs/developing/machinekit-developing/>
>
> and I get:
> ...
> ./configure --with-platform-beaglebone
> returns:
> ...
> configure: error: Package requirements (libczmq > 4.0) were not met:
>
> I am on:
> machinekit@beaglebone:~/git/machinekitOff/src$ cat /proc/version
> Linux version 3.8.13-xenomai-r79 (root@a3-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 Wed Jun 15 22:12:09 UTC 2016
>
> what is fast track to upgrade to latest machinekit on beaglebone black?
>
The fastest track to upgrade to Latest Machinekit is to use packages install and not the Run-in-Place build. More: http://www.machinekit.io/docs/getting-started/installing-packages/ <http://www.machinekit.io/docs/getting-started/installing-packages/>

Cern.

Klemen Zhivko

unread,
Aug 20, 2019, 4:23:31 AM8/20/19
to Machinekit
Thanks Cern,

installing machinekit images fixed my libczmq dependency error. I still need to build MK on BeagleBone black, since I have some custom code.

Now I am stucked at this point while issuing command:

machinekit@beaglebone:~/git/machinekitOff/src$ ./configure --with-platform-beaglebone
checking for cython... /usr/bin/cython
checking cython version... 0.21.1
checking build toplevel... /home/machinekit/git/machinekitOff
checking installation prefix... run in place
...
checking for python2... /usr/bin/python2
checking whether pydot capability required... not checking for python-pydot and xdot
checking whether to build documentation... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for clock_getres... yes
checking for sincos function... yes
checking for __sincos... no
configure: Building rtapi.ini generator script
checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions. Use --with-tcl to specify a directory containing fig.sh


Can somebody shed a light what to do to fix this problem? I cannot find any similar issues in machinekit github and google reveals not much to overcome this problem.

Regards

Klemen Zhivko

unread,
Aug 20, 2019, 7:35:33 AM8/20/19
to Machinekit
OK I managed to end ./configure with installing missing libraries.
Some of them needed lib prefix, another one again -dev when issuing sudo apt-get install [lib name]
Thanks

Klemen Zhivko

unread,
Aug 20, 2019, 7:36:14 AM8/20/19
to Machinekit
./configure ended succesfully after I installed missing libraries.
thx


On Tuesday, 20 August 2019 10:23:31 UTC+2, Klemen Zhivko wrote:
Reply all
Reply to author
Forward
0 new messages