Package Details: linuxcnc 2.8.4-1

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: http://linuxcnc.org
Keywords: 3d cnc printing
Licenses: GPL2
Conflicts: linuxcnc-bin, linuxcnc-git
Submitter: GPereira
Maintainer: jkercher
Last Packager: jkercher
Votes: 6
Popularity: 0.84
First Submitted: 2018-11-24 01:49 (UTC)
Last Updated: 2022-11-17 12:43 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Tweety commented on 2023-05-14 15:29 (UTC)

Hi jkercher,

thanks for your reply.

I did a yay -Syu and tons of time went by since then. Result is a running 2.8.4.

As for khvalera I added the export line into /usr/bin/linuxcnc and everything is ok now.

... how dare you not having arch installed ...

greez2all Tweety

jkercher commented on 2023-05-13 13:51 (UTC)

@khvalera There is a file in the repo that is supposed to get put into /etc/profile.d that doesn't appear to work. Unfortunately, I don't have an Arch Linux installation running to investigate why that is. There is an environment variable you need to set. For now, I would recommend just adding this to ~/.profile:

export TCLLIBPATH=/usr/lib/tcltk/linuxcnc

@tweety Is that the only linker error you are getting? It got to the linking step which would imply that you have boost python dependency installed. If that is the only error, either your package needs to be updated or something recently got deprecated. If there are actually a whole slew of errors like this, then make never found the library in the first place. In that case, you may need to go hunt down the libboost-python*.so library and add that to the Makefile manually.

Tweety commented on 2023-05-13 10:01 (UTC) (edited on 2023-05-13 10:02 (UTC) by Tweety)

Hi there,

tried to get it running with linux-6.2.0.3.realtime1-4-rt Kernel. But it stops during make with that message. No clue how to handle that error. Any hints?

/usr/bin/ld: objects/emc/task/taskmodule.o: in function `boost::python::objects::make_holder<0>::apply<boost::python::objects::pointer_holder<boost::shared_ptr<TaskWrap>, TaskWrap>, boost::mpl::vector0<mpl_::na> >::execute(_object*)':
/usr/include/boost/python/object/make_holder.hpp:92: undefined reference to `boost::python::instance_holder::allocate(_object*, unsigned long, unsigned long, unsigned long)'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make: *** [emc/task/Submakefile:35: ../bin/milltask] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
 -> error making: linuxcnc

Greez2all Tweety

khvalera commented on 2023-05-12 17:13 (UTC) (edited on 2023-05-12 17:18 (UTC) by khvalera)

On startup I get the following error:


 LINUXCNC - 2.8.4 
 Machine configuration directory is '/home/user/linuxcnc/configs/my-mill' 
 Machine configuration file is 'my-mill.ini' 
 can't find package Linuxcnc 
    while executing 
 "package require Linuxcnc " 
    (file "/usr/share/linuxcnc/hallib/check_config.tcl" line 168) 
 check_config validation failed 
 LinuxCNC terminated with an error.  You can find more information in the log: 
    /home/user/linuxcnc_debug.txt 
 and 
    /home/user/linuxcnc_print.txt 
 as well as in the output of the shell command 'dmesg' and in the terminal

jkercher commented on 2023-04-26 15:15 (UTC)

@InnerBushman It looks like that issue is resolved on the 2.9 release. Your hack works for 2.8.x branches. Unfortunately, I currently do not have an Arch based system up so I cannot make that change. I will when I get my system back up.

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