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.003510
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 »

GPereira commented on 2024-08-08 22:46 (UTC)

@FabioLolix aren't we missing an install directive to load linuxcnc.sh into profile.d that the prepare() script generates?

FabioLolix commented on 2024-08-08 22:35 (UTC)

configure: error: Unable to use rpc.h

Simona, not sure what is going on in your system, please have a look at building AUR packages with paru which seems the easiest way

simona commented on 2024-08-08 18:42 (UTC) (edited on 2024-08-08 19:00 (UTC) by simona)

checking for usability of rpc/rpc.h... no
configure: error: Unable to use rpc.h
I have:
LANG=C pacman -Qo /usr/include/tirpc/rpc/rpc.h
/usr/include/tirpc/rpc/rpc.h is owned by libtirpc 1.3.5-1
tryied to use:
[[ ":$TCLLIBPATH:" != ":/usr/lib/tcltk/linuxcnc:" ]] && export TCLLIBPATH="/usr/lib/tcltk/linuxcnc:$TCLLIBPATH"
but no change.

GPereira commented on 2024-08-08 18:30 (UTC)

After thinking about it better it has another problem. During package updates the variable would be set to

"/usr/lib/tcltk/linuxcnc:/usr/lib/tcltk/linuxcnc"

and in the next update to

"/usr/lib/tcltk/linuxcnc:/usr/lib/tcltk/linuxcnc:/usr/lib/tcltk/linuxcnc"

This, although it works would make no sense. So I propose to change to:

[[ ":$TCLLIBPATH:" != *":/usr/lib/tcltk/linuxcnc:"* ]] && export TCLLIBPATH="/usr/lib/tcltk/linuxcnc:$TCLLIBPATH"

GPereira commented on 2024-08-08 18:18 (UTC)

You have an issue while setting TCLLIBPATH. When the environment variable is empty prior to linuxcnc instalation your script sets the variable to ":/usr/lib/tcltk/linuxcnc" which produces an invalid result. Hence I suggest to change it to "/usr/lib/tcltk/linuxcnc:$TCLLIBPATH" which is safer since "/usr/lib/tcltk/linuxcnc:" would be valid.

Here it is the explanation: https://chatgpt.com/share/790d5a9c-cea7-47cb-a25d-3d76aea5d20a

Pull Request: https://github.com/FabioLolix/PKGBUILD-AUR_fix/pull/41

InnerBushman commented on 2024-05-30 21:37 (UTC)

While I've managed to figure out my previous issue (I was just missing the path in $PATH variable) I've encountered another issue. The python version changed so I wanted to rebuild the package linuxcnc. Unfortunately I get this error during building:

checking for python pango module... Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'gi'

From what i've googled i need to install PyGObject but pip refuses to install it and I can't find this package in the repo for python3. Any help will be greatly appreciated.

InnerBushman commented on 2024-05-29 23:01 (UTC) (edited on 2024-05-29 23:04 (UTC) by InnerBushman)

After one of the recent updates I started getting this error:

Debug file information:
Note: Using POSIX non-realtime
/usr/share/linuxcnc/hallib/axis_manualtoolchange.hal:1: execv(hal_manualtoolchange): No such file or directory

Any ideas how I can fix it? I've checked, the file is there:

-rwxr-xr-x 1 root root 2463 04-23 11:59 hal_manualtoolchange

FabioLolix commented on 2024-04-29 21:11 (UTC)

simona can't reproduce, this already depends on libtirpc

$ LANG=C pacman -Qo /usr/include/tirpc/rpc/rpc.h
/usr/include/tirpc/rpc/rpc.h is owned by libtirpc 1.3.4-1

Nebulosa GPereira PR welcome here at the moment https://github.com/FabioLolix/PKGBUILD-AUR_fix (update coming)


InnerBushman I'm not notified about modiifed comments FYI

simona commented on 2024-04-29 16:08 (UTC)

configure: error: Unable to use rpc.h

InnerBushman commented on 2024-04-23 10:16 (UTC) (edited on 2024-04-23 10:21 (UTC) by InnerBushman)

Hi. For some reason in /etc/profile.d/linuxcnc.sh the line is added as:

export TCLLIBPATH=/usr/lib/tcltk/linuxcnc:/usr/lib/tcltk/linuxcnc:/usr/lib/tcltk/linuxcnc:/usr/lib/tcltk/linuxcnc

Anyone have any idea what's causing it to get duplicated 4 times?

PS: @FabioLolix have you considered adding GPereira as co-maintainer yet?