Compiling LinuxCnc on Ubuntu 20.04 (focal)

More
11 Apr 2021 11:43 #205630 by kvKlaasThomas
11 april 2021,

Hello everybody,

I am trying to compile LinuxCnc on my Ubuntu 20.04 (focal) system.
But so far without success.

During ./configure --with-realtime=uspace the system gives hints
to install several libraries. But when it comes to python it all becomes
very unclear.

Questions :
1 - Can LinuxCnc work with python3 ?
2 - The message
configure: error: Python pango and cairo modules not found!\ninstall
with "sudo apt-get install python-gtk2"
doesnot really help because
the system gives E: Unable to locate package python-gtk2.
3 - Do I have to compile libboost-python for python2
4 - Is there a manual somewhere for compiling LinuxCnc on Ubuntu 20.04 (focal).

Regards from
Pier Simon Tilma
The Netherlands

Please Log in or Create an account to join the conversation.

More
11 Apr 2021 13:32 #205635 by tommylight
forum.linuxcnc.org/9-installing-linuxcnc...-nearly-easy-install
It did work on Ubuntu also at the time of writing that, no need to compile anything, unless you require so.
Welcome and regards from Kosovo.

Please Log in or Create an account to join the conversation.

More
11 Apr 2021 20:21 #205676 by andypugh

1 - Can LinuxCnc work with python3 ?


I believe that the Master branch is compatible with Python3.

2.8 isn't.

Please Log in or Create an account to join the conversation.

More
12 Apr 2021 07:27 - 12 Apr 2021 07:29 #205706 by Grotius
Hallo Pier,

Hierbij een aantal voorbeeld scripts die ik gebruik voor het compilen van linuxcnc. voorbeelden

Er zijn verschillende voorbeelden in diverse textbestanden. Je kunt deze bestuderen.

Het belangrijkste om the doen is de dpkg-checkbuilddeps en de ./configure --options invullen.

Hiermee heb je voldoende informatie om linuxcnc op de recentste kernels werkend te krijgen.

Als je python errors overhoud in de dpkg-checkbuilddeps, dat is niet erg als er bv. python-dh overblijft. Linuxcnc zal compileren met succes.

Verder moet je rekening houden dat je libreadline-gplv2-dev.deb en de libreadline5.deb als enige nodig hebt van de buster repository, de rest kan je plukken van de bullseye en of sid repositories, dit ter info.

Je kunt ook nog even hier snuffelen : snuffeldesnuffel
Last edit: 12 Apr 2021 07:29 by Grotius.

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum