Package Details: linuxcnc-sim 2.7.15-1

Git Clone URL: https://aur.archlinux.org/linuxcnc-sim.git (read-only, click to copy)
Package Base: linuxcnc-sim
Description: It can interpret G-code and simulate a CNC machine (formerly EMC2).
Upstream URL: http://linuxcnc.org/
Licenses: GPL2
Submitter: ivanovp
Maintainer: ivanovp
Last Packager: ivanovp
Votes: 13
Popularity: 0.005725
First Submitted: 2013-10-20 07:32
Last Updated: 2020-10-18 05:03

Latest Comments

1 2 3 4 5 Next › Last »

s218 commented on 2020-10-14 08:17

the program was downloaded, compiled and installed. Whenever I try to start, whatever I give the answer (yes. no.cansel), the program flies out and does not give any errors.

Three years ago, it was the same story -

https://archlinux.org.ru/forum/topic/17314/

linuxcnc LINUXCNC - 2.8.0 Machine configuration directory is '/home/u/linuxcnc/configs/sim.axis' Machine configuration file is 'axis.ini' 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. You can find more information in the log: /home/u/linuxcnc_debug.txt and /home/u/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

ls: You cannot access '/usr/share/linuxcnc/:q': There is no such file or directory

ve7it commented on 2020-10-14 05:57

Glad to see the update. It is not building on this generic arch box where the previous version was working fine.

[lg@Z77 Desktop]$ uname -a Linux Z77 5.8.14-arch1-1 #1 SMP PREEMPT Wed, 07 Oct 2020 23:59:46 +0000 x86_64 GNU/Linux


The build process follows:
Preparing...
Cloning linuxcnc-sim build files...
Checking linuxcnc-sim dependencies...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...

Building linuxcnc-sim...
==> Making package: linuxcnc-sim 2.8.0-1 (Tue 13 Oct 2020 10:44:59 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating linuxcnc git repo...
Fetching origin
  -> Found linuxcnc-sim.sh
  -> Found libtirpc.patch
==> Validating source files with md5sums...
    linuxcnc ... Skipped
    linuxcnc-sim.sh ... Passed
    libtirpc.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of linuxcnc git repo...
Cloning into 'linuxcnc'...
done.
Switched to a new branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
(Stripping trailing CRs from patch; use --binary to disable.)
patching file Makefile
Hunk #1 succeeded at 143 (offset 4 lines).
Hunk #2 succeeded at 206 with fuzz 1 (offset 3 lines).
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/lockfree/queue.hpp usability... yes
checking boost/lockfree/queue.hpp presence... yes
checking for boost/lockfree/queue.hpp... yes
checking whether g++ supports C++11 features by default... yes
checking build toplevel... /var/tmp/pamac-build-lg/linuxcnc-sim/src/linuxcnc
checking installation prefix... /usr
checking for grep... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... none
checking for xeno-config... none
checking for realtime API(s) to use... uspace
checking whether to enable userspace PCI access... yes
checking for libudev... yes - version 246
checking for cc version... not specified
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... no
configure: error: Unable to use rpc.h
==> ERROR: A failure occurred in build().
    Aborting...

The problem smells like the old rpc/tirpc problem, but it does see the libtirpc.patch.

/usr/include/tirpc/rpc exists on this box.

[lg@Z77 Desktop]$ ls  /usr/include/tirpc/rpc
auth_des.h   clnt_stat.h  pmap_prot.h  rpc_com.h       svc_auth.h  xdr.h
auth_gss.h   des_crypt.h  pmap_rmt.h   rpcent.h        svc_dg.h
auth.h       des.h        raw.h        rpc.h           svc.h
auth_unix.h  key_prot.h   rpcb_clnt.h  rpc_msg.h       svc_mt.h
clnt.h       nettype.h    rpcb_prot.h  rpcsec_gss.h    svc_soc.h
clnt_soc.h   pmap_clnt.h  rpcb_prot.x  svc_auth_gss.h  types.h

I am not well versed in the packaging details... perhaps someone could suggest tweaks I could try.

cheers Lawrence

archlute commented on 2020-06-24 19:55

same problem as with linuxcnc: error message:

Linking classicladder /usr/bin/ld: objects/hal/classicladder/files_project.o:/home/mike/AUR/linuxcnc/linuxcnc-sim/src/linuxcnc/src/hal/classicladder/files_project.c:159: multiple definition of `FileName'; objects/hal/classicladder/files.o:/home/mike/AUR/linuxcnc/linuxcnc-sim/src/linuxcnc/src/hal/classicladder/files.c:1298: first defined here collect2: Fehler: ld gab 1 als Ende-Status zurück make: *** [hal/classicladder/Submakefile:49: ../bin/classicladder] Fehler 1 ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

christianlupus commented on 2020-04-03 09:13

@AlexParkhomenko You need to drop the -i in the command. This will not work.

AlexParkhomenko commented on 2020-04-03 07:40

error: failed to commit transaction (conflicting files) linuxcnc-sim: /usr/bin/io exists in filesystem (owned by io)

FIX: sudo -i pacman -R io

s218 commented on 2020-01-23 18:33

On git upgrade to 2.7.15. Cheat installer by changing 14 to 15 does not get, falls, asks yapps2. And there is also version 2.8.

Floris commented on 2019-01-17 13:02

Hi guys, very nice work, but please can you release NativeCAM for Linuxcnc. I use Nativecam in combination with linuxcnc daily to make circular and square matrices, rotations, probe subroutines and other types of manipulations and all sort of 2D gcode creations, it is a promising conversational cam that is in constant development. Thank you! Floris note: my os is manjaro

ivanovp commented on 2018-12-31 06:40

@GPereira: yes, if you've got a realtime kernel (RTAI). But this PKGBUILD hasn't got dependency of an RTAI kernel (it works with the stock kernel), so this is only OK for simulation. That is the reason why I recommended to have linuxcnc (with RTAI dependency) and capability of control a real CNC and have linuxcnc-sim which uses the stock Linux kernel, but it can only simulate a machine. ~6 years ago there was a linux-rtai package, which extended the kernel with real-time API (https://www.rtai.org/). This package should be dependency of linuxcnc.

GPereira commented on 2018-12-31 02:42

The thing is this is not a simulator. It can send gcode to a CNC

ivanovp commented on 2018-11-24 05:52

@GPereira: In my opinion linuxnc should be the package which can control a real CNC machine, and the simulator should remain linuxcnc-sim.