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.001347
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 .. 3 4 5 6 7 8 9 Next › Last »

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?

jkercher commented on 2021-10-07 13:31 (UTC)

@williamrm.ti Do you have python-setuptools installed? To check:

pacman -Q python-setuptools

williamrm.ti commented on 2021-10-07 13:02 (UTC) (edited on 2021-10-07 13:10 (UTC) by williamrm.ti)

Error to compile LINUXCNC. Help-me please.

Reading 0/214 realtime dependency files Done reading realtime dependencies Compiling libnml/inifile/inifile.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Creating shared library liblinuxcncini.so.0 ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so Compiling libnml/inifile/inivar.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Linking inivar Compiling libnml/posemath/_posemath.c Compiling libnml/posemath/posemath.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/posemath/gomath.c Compiling libnml/posemath/sincos.c Creating shared library libposemath.so.0 ln -sf libposemath.so.0 ../lib/libposemath.so Compiling libnml/rcs/rcs_print.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/rcs/rcs_exit.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/os_intf/_sem.c Compiling libnml/os_intf/_shm.c Compiling libnml/os_intf/_timer.c Compiling libnml/os_intf/sem.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/os_intf/shm.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/os_intf/timer.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/buffer/locmem.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/buffer/memsem.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/buffer/phantom.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/buffer/physmem.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/buffer/recvn.c Compiling libnml/buffer/sendn.c Compiling libnml/buffer/shmem.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/buffer/tcpmem.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_aup.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_cfg.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ In function ‘char get_buffer_line(const char, const char)’: cc1plus: warning: function may return address of local variable [-Wreturn-> > > local-addr] libnml/cms/cms_cfg.cc:308:10: note: declared here 308 | char linebuf[CMS_CONFIG_LINELEN]; / Temporary buffer for line > from | ^~~~~~~ Compiling libnml/cms/cms_in.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_dup.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_pm.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_srv.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_up.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cms_xup.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/cmsdiag.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/tcp_opts.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/cms/tcp_srv.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/cmd_msg.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/nml_mod.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/nml_oi.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/nml_srv.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/nml.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/nmldiag.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/nmlmsg.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/nml/stat_msg.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling libnml/linklist/linklist.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling hal/hal_lib.c Compiling rtapi/uspace_ulapi.c Creating shared library liblinuxcnchal.so.0 ln -sf liblinuxcnchal.so.0 ../lib/liblinuxcnchal.so Creating shared library libnml.so.0 ln -sf libnml.so.0 ../lib/libnml.so Compiling rtapi/uspace_rtapi_app.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling rtapi/uspace_rtapi_parport.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Compiling rtapi/uspace_rtapi_string.c Compiling rtapi/rtapi_pci.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Linking rtapi_app Compiling rtapi/test_rtapi_vsnprintf.c Linking test_rtapi_vsnprintf Compiling hal/components/streamer_usr.c Linking halstreamer Compiling hal/components/sampler_usr.c Linking halsampler Compiling hal/components/panelui.c Linking panelui Compiling hal/user_comps/shuttle.c Linking shuttle Compiling hal/user_comps/xhc-hb04.cc cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ > is not valid for C++ Linking xhc-hb04 Compiling hal/user_comps/sendkeys.c Linking sendkeys Traceback (most recent call last): File "/usr/bin/yapps2", line 6, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources make: *** [hal/utils/Submakefile:102: objects/hal/utils/halcompile.py] Error > 1 ==> ERROR: A failure occurred in build(). Aborting... error making: linuxcnc

Lehmeier commented on 2021-05-19 14:13 (UTC)

Good day!

Since 2.12.2020 is the new 2.81 ( http://linuxcnc.org/downloads/ ) ready. Can you say when they will offer it for update ?

Sincerely

UweSauter commented on 2021-02-04 16:56 (UTC) (edited on 2021-02-04 17:40 (UTC) by UweSauter)

Would you mind extending the description of the various linuxcnc packages to include whether they are for use with a realtime kernel or with uspace?

EDIT: I can confirm that installing boost-python2 allows LinuxCNC to build successfully.

Fehlrersturm commented on 2021-01-31 14:17 (UTC)

@tellmi Installing https://aur.archlinux.org/packages/boost-python2/ fixed it for me @ragouel python2-boost seems to be a dependency