Package Details: linuxcnc 2.9.2-2

Git Clone URL: https://aur.archlinux.org/linuxcnc.git (read-only, click to copy)
Package Base: linuxcnc
Description: Controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more (formerly EMC2)
Upstream URL: https://linuxcnc.org/
Keywords: 3d cnc printing
Licenses: GPL2, custom: unredestributable
Submitter: GPereira
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 9
Popularity: 0.171305
First Submitted: 2018-11-24 01:49 (UTC)
Last Updated: 2024-03-04 22:44 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

InnerBushman commented on 2023-02-26 22:02 (UTC) (edited on 2023-02-26 22:07 (UTC) by InnerBushman)

The component for 6-axis wireless USB pendant is not being compiled:

gcc version 12.2.1 too old: skipping hal/user_comps/xhc-whb04b-6

The reason is GCC version is incorrectly checked with sort, which puts 12.x before 4.7 which is the minimal version. https://github.com/LinuxCNC/linuxcnc/blob/2.8/src/hal/user_comps/xhc-whb04b-6/Submakefile

I added this in line 49 of PKGBUILD to trick it to not skip it. Basically lied to it it needs version 10.

sed -i "2s|4.7|10.0|" hal/user_comps/xhc-whb04b-6/Submakefile

It's a dirty workaround before it gets fixed properly by someone more competent than me.

I also reported an issue on LinuxCNC github issue tracker: https://github.com/LinuxCNC/linuxcnc/issues/2364

Blazini36 commented on 2023-01-18 15:31 (UTC)

Bwidget package has permissions issues, had to add.. chmod -R 755 "${pkgdir}"/usr/lib/tcl8.6/* to PKGBUILD

Hydrated4431 commented on 2022-12-09 22:34 (UTC)

Even though I can see that Bwidget is clearly installed on my pc, it can't find it?

configure: error: BWidget not found! install with "sudo apt-get install bwidget"

Any ideas?

Blazini36 commented on 2022-10-17 02:14 (UTC)

Please update to 2.8.4

Also TCLLIBPATH is still a thing

InnerBushman commented on 2022-06-12 01:31 (UTC)

Hi everyone. Today, during the compilation it complained about missing libffi.so.7. Current version is 8. After manually installing version 7 of this lib the compilation continued until it failed on 'boost'. I've noticed i have two versions of boost installed. After removing the older one, the new one was rebuilt and the compilation finished.

The file /etc/profile.d/linuxcnc.sh contains ':' character that breaks the path for me. After removing it, everything works fine.

Cheers, Bushman

jkercher commented on 2022-04-29 14:08 (UTC)

@nmanarch That is the exact problem that the linuxcnc.sh script is supposed to fix. All it does is set an environment variable. See if setting that variable manually fixes your problem: export TCLLIBPATH=/usr/lib/tcltk/linuxcnc. If that works, then the linuxcnc.sh didn't wind up in /etc/profile.d as it should have.

@laserk3000 Applied your change, thank you!

nmanarch commented on 2022-04-22 02:20 (UTC) (edited on 2022-04-22 02:45 (UTC) by nmanarch)

Hi all. Many thanks to Laserk3000 for this trick that correct the end of the process for build/install

-Dm 644 "${srcdir}/${pkgname}-${pkgver}/src/linuxcnc.sh" -t "${pkgdir}/etc/profile.d/"

Thanks for maintaining the package.

But i have an error when starting linuxcnc:


can't find package Linuxcnc while executing "package require Linuxcnc " (file "/usr/share/linuxcnc/hallib/check_config.tcl" line 141) check_config validation failed LinuxCNC terminated with an error.


I have found this thread on linuxcnc saying blt-2.5 require .. i have test the package blt 2.4z-12 package of arch but nothing change / work..

https://forum.linuxcnc.org/51-ot-posts/39134-compiling-linuxcnc-on-slackware-some-warnings?start=10

Someone have solve this ? many thanks. have a nice day.

laserk3000 commented on 2022-02-05 23:43 (UTC)

Turned out I had libtirpc-compat installed. Removing it fixed the problem.

There were two more errors I encountered: 1) boost-python2 is outdated and didn't match the system's boost version (1.76.0 vs 1.78.0). After manually compiling 1.78.0 of boost-python2 it worked.

2) package() failed as linuxcnc.sh couldn't be found. The corresponding line in the PKGBUILD should read:

install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/src/linuxcnc.sh" -t "${pkgdir}/etc/profile.d/"

Thanks for maintaining the package!

laserk3000 commented on 2022-02-05 15:53 (UTC)

Hi, I am getting an error during prepare:

configure: error: Unable to use rpc.h
==> ERROR: A failure occurred in prepare().
    Aborting...

Can someone help?

Tweety commented on 2022-01-17 19:33 (UTC)

@jkercher: cool :) thanks for taking time for it!