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.071371
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 7 Next › Last »

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!

jkercher commented on 2022-01-17 19:24 (UTC)

@Tweety I think I got it. I added it to a shell script that gets put into /etc/profile.d. The shell script will set $TCLLIBPATH.

Tweety commented on 2022-01-17 16:50 (UTC) (edited on 2022-01-17 16:52 (UTC) by Tweety)

Hi jkercher

... you are my [code]-tag hero :)

Using the export within .bashrc is ok, allthough I modified the linuxcnc bin in the meantime to avoid systemwide path modifications. I guess that will be replaced when updating, but at the moment I am not able to build the package anymore. Didn't find the reason nor meaningfull error messages. Main difference is compiling the source with linux-rt. First build was with standard linux kernel.

Is it not possible to check whether TCLLIBPATH is empty or not and put the ':' accordingly as a separator?

jkercher commented on 2022-01-17 15:50 (UTC)

@Tweety, code blocks are done with backticks. 3 for a block, 1 for inline:

`

This may work, but it will only work in the current shell. You will need to add this to something like your .bashrc:

export TCLLIBPATH=/usr/lib/tcltk/linuxcnc

I don't know what the AUR policy is toward modifying the users environment like that in PKGBUILD. I just added python2-gobject as a dependency.

Tweety commented on 2022-01-09 12:39 (UTC) (edited on 2022-01-17 16:41 (UTC) by Tweety)

Hi all,

I was not able to run linuxcnc using a config-file (templates/self generated). For linuxcnc the error message was: "can't find package Linuxcnc while executing "package require Linuxcnc ... check_config.tcl" line 141)" I found a solution after hours, mentioned here: https://forum.linuxcnc.org/9-installing-linuxcnc/42143-solved-linuxcnc-on-arch

leading to change of Line 35 in PKGBUILD, prepare() section to echo "export TCLLIBPATH=/usr/lib/tcltk/linuxcnc" > ${pkgname}.sh Using the original syntax leads to:

# echo $TCLLIBPATH
:/usr/lib/tcltk/linuxcnc

Where the ":" is the error source. In case the TCLLIBPATH was not set by any other process before it stays empty. Therefor it should be checked before the echo-statement to avoid a misplaced : . Just found this issue and solution, but don't know how to apply the change after installation now.

Second issue is the use of stepconf wizard. I had to install the additional package python2-gobject before stepconf showed up. pacman -S python2-gobject

Dependency should be included.

Last one is about using Linuxcnc in LXQT Desktop. Unfortunately the menus are not nicely build in comparison to the official Debian build. Stepconf, docs and icons are not available. But that's a minor issue.

... and what the hack is the correct "code" tags here ?

jkercher commented on 2021-10-13 00:57 (UTC)

Now, you can use it for whatever reason you installed it for.

williamrm.ti commented on 2021-10-07 16:46 (UTC)

Yes, installed!! Version: python-setuptools 1:57.4.0-2

What to do now?