Package Details: linuxcnc 2.9.3-3

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.002381
First Submitted: 2018-11-24 01:49 (UTC)
Last Updated: 2024-08-09 08:09 (UTC)

Dependencies (47)

Required by (1)

Sources (3)

Latest Comments

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

jkercher commented on 2023-08-26 16:29 (UTC)

@chetanpm

Did you try this solution:

export TCLLIBPATH=/usr/lib/tcltk/linuxcnc

chetanpm commented on 2023-08-26 15:48 (UTC)

https://aur.archlinux.org/packages/linuxcnc#comment-914603 I'm getting the same error when starting axis. I tried with 2.10 pre aur package too with the same error. I tried on linux-rt-lts 6.1 as well as mainline kernel 6.4 Does anybody know the solution to make it run?

MarsSeed commented on 2023-07-10 14:56 (UTC) (edited on 2023-07-10 14:57 (UTC) by MarsSeed)

Please change depend python2-imaging to its drop-in continuation fork python2-pillow.

Imaging is dead since 2009.

jkercher commented on 2023-06-02 04:40 (UTC)

@Tweety

I just built this myself with no issues.

However, I don't see this having anything to do with the real-time kernel. I've seen these kind of errors popup due to weird ordering in the linking step. Unfortunately, the link ordering does matter.

Without being able to replicate the error, this is hard to track down. But, we can see that this is an error building milltask. In src/emc/task/Submakefile, try switching the order of the link step:

- $(CXX) -o $@ $^ $(LDFLAGS) $(BOOST_PYTHON_LIBS) -l$(LIBPYTHON)
+ $(CXX) -o $@ $^ $(LDFLAGS) -l$(LIBPYTHON) $(BOOST_PYTHON_LIBS)

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