tim@tim:~$ cd linuxcnc-dev/src tim@tim:~/linuxcnc-dev/src$ ./autogen.sh tim@tim:~/linuxcnc-dev/src$ ./configure --with-realtime=uspace 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 for a BSD-compatible install... /usr/bin/install -c checking whether g++ supports C++11 features by default... yes checking build toplevel... /home/tim/linuxcnc-dev checking installation prefix... run in place checking for grep... /usr/bin/grep checking for egrep... /usr/bin/egrep 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 for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 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 241 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... yes checking for libmodbus3... yes - version 3.1.4 checking for libusb-1.0... yes checking for module installation directory... configuring for run-in-place /home/tim/linuxcnc-dev/rtlib checking for glib... yes - 2.58.3 checking for GTK 3.22.4 or above... yes - 3.24.5 checking for GTK 2.4.0 or above... yes - 2.24.32 checking for libgnomeprintui-2.2... no -- printing from classicladder will not be possible checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for install... /usr/bin/install -c checking for sed... /usr/bin/sed checking for ps... /usr/bin/ps checking for kill... /usr/bin/kill checking for whoami... /usr/bin/whoami checking for awk... /usr/bin/awk checking for pidof... /usr/bin/pidof checking for ipcs... /usr/bin/ipcs checking for fuser... /usr/bin/fuser checking for yapps... no checking for yapps2... /usr/bin/yapps2 checking for mandb... /usr/bin/mandb checking for intltool-extract... /usr/bin/intltool-extract checking for yapps... (cached) /usr/bin/yapps2 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for boostlib >= (102000)... yes checking for python build information... checking for python3.10... no checking for python3.9... no checking for python3.8... no checking for python3.7... python3.7 checking for main in -lpython3.7... no checking for main in -lpython3.7m... yes results of the Python check: Binary: python3.7 Library: python3.7m Include Dir: /usr/include/python3.7m checking for python3.7... /usr/bin/python3.7 checking for python... (cached) /usr/bin/python3.7 checking for a version of Python >= '2.1.0'... yes checking for the sysconfig Python package... yes checking for Python include path... -I/usr/include/python3.7m checking for Python library path... -L/usr/lib -lpython3.7m checking for Python site-packages path... /usr/lib/python3.7/site-packages checking for Python platform specific site-packages path... checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions checking consistency of all components of python development environment... yes checking whether the Boost::Python library is available... yes checking whether boost_python is the correct library... no checking whether boost_python is the correct library... (cached) no checking whether boost_python is the correct library... (cached) no checking whether boost_python27 is the correct library... no checking whether boost_python27 is the correct library... (cached) no checking whether boost_python27 is the correct library... (cached) no checking whether boost_python3-py37 is the correct library... yes checking whether to build documentation... no checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for semtimedop... yes checking for optreset... no checking for library containing dlopen... -ldl checking for library containing clock_nanosleep... none required checking for tcl... /usr/lib/x86_64-linux-gnu/tclConfig.sh found checking for tk... /usr/lib/x86_64-linux-gnu/tkConfig.sh found checking whether to check for runtime dependencies... yes checking for BWidget using /usr/bin/tclsh8.6... found checking for BLT using /usr/bin/tclsh8.6... found checking for img::png using /usr/bin/tclsh8.6... found checking for tclX using /usr/bin/tclsh8.6... found checking for python pango module... found checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking X11/extensions/Xinerama.h usability... yes checking X11/extensions/Xinerama.h presence... yes checking for X11/extensions/Xinerama.h... yes checking for XineramaQueryExtension in -lXinerama... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes Trying readline without -ltermcap checking for readline in -lreadline... yes Trying readline with -ltermcap checking for readline in -lreadline... yes Readline does not require -ltermcap checking whether readline license is compatible with GPL-2... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for setlocale... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in -lintl... no checking for xgettext... /usr/bin/xgettext checking for msgfmt... /usr/bin/msgfmt checking python version... OK checking match between tk and Tkinter versions... 8.6 checking for site-package location... /usr/lib/python3/dist-packages checking for working GLU quadrics... yes checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes checking X11/Xmu/Xmu.h presence... yes checking for X11/Xmu/Xmu.h... yes configure: creating ./config.status config.status: creating ../scripts/rtapi.conf config.status: creating ../scripts/linuxcnc config.status: creating ../scripts/linuxcnc_info config.status: creating ../scripts/halrun config.status: creating ../scripts/rip-environment config.status: creating ../scripts/haltcl config.status: creating ../scripts/halcmd_twopass config.status: creating ../scripts/realtime config.status: creating ../scripts/runtests config.status: creating ../scripts/linuxcnc_var config.status: creating ../scripts/linuxcnc-checklink config.status: creating Makefile.inc config.status: creating Makefile.modinc config.status: creating ../tcl/linuxcnc.tcl config.status: creating ../lib/python/nf.py config.status: creating ../scripts/linuxcncmkdesktop config.status: creating ../share/applications/linuxcnc-latency.desktop config.status: creating ../share/applications/linuxcnc.desktop config.status: creating ../share/desktop-directories/linuxcnc-cnc.directory config.status: creating ../share/desktop-directories/linuxcnc-ref.directory config.status: creating ../share/desktop-directories/linuxcnc-doc.directory config.status: creating ../share/menus/CNC.menu config.status: creating config.h config.status: config.h is unchanged ###################################################################### # LinuxCNC - Enhanced Machine Controller # ###################################################################### # # # LinuxCNC is a software system for computer control of machine # # tools such as milling machines. LinuxCNC is released under the # # GPL. Check out http://www.linuxcnc.org/ for more details. # # # # # # It seems that ./configure completed successfully. # # This means that RT is properly installed # # If things don't work check config.log for errors & warnings # # # # Next compile by typing # # make # # sudo make setuid # # (if realtime behavior and hardware access are required) # # # # Before running the software, set the environment: # # . (top dir)/scripts/rip-environment # # # # To run the software type # # linuxcnc # # # ###################################################################### tim@tim:~/linuxcnc-dev/src$ make emc/Submakefile:4: Warnung: Die Befehle für das Ziel „../include/linuxcnc.h“ werden überschrieben emc/Submakefile:4: Warnung: Alte Befehle für das Ziel „../include/linuxcnc.h“ werden ignoriert Reading 205/205 dependency files Done reading dependencies Reading 230/230 realtime dependency files Done reading realtime dependencies cp ../scripts/rtapi.conf ../tests/uspace/spawnv-root/rtapi.conf Compiling hal/user_comps/mb2hal/mb2hal.c Compiling hal/user_comps/mb2hal/mb2hal_init.c hal/user_comps/mb2hal/mb2hal_init.c: In function ‘init_mb_links’: hal/user_comps/mb2hal/mb2hal_init.c:716:17: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] strncpy(this_mb_link->lp_tcp_ip, this_mb_tx->cfg_tcp_ip, sizeof(this_mb_tx->cfg_tcp_ip)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hal/user_comps/mb2hal/mb2hal_init.c:689:17: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] strncpy(this_mb_link->lp_serial_device, this_mb_tx->cfg_serial_device, MB2HAL_MAX_DEVICE_LENGTH-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling hal/user_comps/mb2hal/mb2hal_modbus.c Compiling hal/user_comps/mb2hal/mb2hal_hal.c Linking mb2hal Compiling hal/classicladder/arithm_eval.c Compiling hal/classicladder/arrays.c Compiling hal/classicladder/calc.c Compiling hal/classicladder/calc_sequential.c Compiling hal/classicladder/classicladder.c Compiling hal/classicladder/classicladder_gtk.c Compiling hal/classicladder/config.c Compiling hal/classicladder/config_gtk.c Compiling hal/classicladder/drawing.c Compiling hal/classicladder/drawing_sequential.c Compiling hal/classicladder/edit.c Compiling hal/classicladder/edit_gtk.c Compiling hal/classicladder/edit_sequential.c Compiling hal/classicladder/editproperties_gtk.c Compiling hal/classicladder/emc_mods.c Compiling hal/classicladder/files.c Compiling hal/classicladder/files_project.c Compiling hal/classicladder/files_sequential.c Compiling hal/classicladder/manager.c Compiling hal/classicladder/manager_gtk.c Compiling hal/classicladder/protocol_modbus_master.c Compiling hal/classicladder/protocol_modbus_slave.c Compiling hal/classicladder/serial_linux.c Compiling hal/classicladder/socket_modbus_master.c Compiling hal/classicladder/socket_server.c Compiling hal/classicladder/spy_vars_gtk.c Compiling hal/classicladder/symbols.c Compiling hal/classicladder/symbols_gtk.c Compiling hal/classicladder/vars_names.c Compiling hal/classicladder/vars_access.c Linking classicladder Compiling hal/utils/meter.c Compiling hal/utils/miscgtk.c hal/utils/miscgtk.c: In function ‘gtk_label_size_to_fit’: hal/utils/miscgtk.c:176:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(text_buf, current_text, text_len + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hal/utils/miscgtk.c:168:16: note: length computed here text_len = strlen(current_text); ^~~~~~~~~~~~~~~~~~~~ Linking halmeter Compiling hal/utils/scope.c Compiling hal/utils/scope_horiz.c Compiling hal/utils/scope_vert.c hal/utils/scope_vert.c: In function ‘offset_changed’: hal/utils/scope_vert.c:781:5: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] strncpy(data->buf, text, BUFLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling hal/utils/scope_trig.c Compiling hal/utils/scope_disp.c Compiling hal/utils/scope_files.c Linking halscope Compiling emc/usr_intf/axis/extensions/emcmodule.cc Linking python module linuxcnc.so Compiling realtime emc/kinematics/userkfuncs.c Linking ../rtlib/genhexkins.so Linking ../rtlib/genserkins.so Compiling realtime emc/kinematics/trtfuncs.c emc/kinematics/trtfuncs.c: In function ‘xyzacKinematicsForward’: emc/kinematics/trtfuncs.c:159:18: warning: unused variable ‘c_rad’ [-Wunused-variable] double c_rad = joints[JC]*TO_RAD; ^~~~~ emc/kinematics/trtfuncs.c:157:21: warning: unused variable ‘dz’ [-Wunused-variable] double dz = *(haldata->z_offset); ^~ emc/kinematics/trtfuncs.c:154:12: warning: unused variable ‘z_rot_point’ [-Wunused-variable] double z_rot_point = *(haldata->z_rot_point); ^~~~~~~~~~~ emc/kinematics/trtfuncs.c:153:12: warning: unused variable ‘y_rot_point’ [-Wunused-variable] double y_rot_point = *(haldata->y_rot_point); ^~~~~~~~~~~ emc/kinematics/trtfuncs.c:152:12: warning: unused variable ‘x_rot_point’ [-Wunused-variable] double x_rot_point = *(haldata->x_rot_point); ^~~~~~~~~~~ emc/kinematics/trtfuncs.c: In function ‘xyzacKinematicsInverse’: emc/kinematics/trtfuncs.c:190:17: warning: unused variable ‘c_rad’ [-Wunused-variable] double c_rad = pos->c*TO_RAD; ^~~~~ emc/kinematics/trtfuncs.c:187:20: warning: unused variable ‘dz’ [-Wunused-variable] double dz = *(haldata->z_offset); ^~ emc/kinematics/trtfuncs.c:185:12: warning: unused variable ‘z_rot_point’ [-Wunused-variable] double z_rot_point = *(haldata->z_rot_point); ^~~~~~~~~~~ emc/kinematics/trtfuncs.c:184:12: warning: unused variable ‘y_rot_point’ [-Wunused-variable] double y_rot_point = *(haldata->y_rot_point); ^~~~~~~~~~~ emc/kinematics/trtfuncs.c:183:12: warning: unused variable ‘x_rot_point’ [-Wunused-variable] double x_rot_point = *(haldata->x_rot_point); ^~~~~~~~~~~ Linking ../rtlib/xyzac-trt-kins.so Linking ../rtlib/xyzbc-trt-kins.so Linking ../rtlib/scarakins.so Linking ../rtlib/pumakins.so Linking ../rtlib/5axiskins.so ./config.status --file=../docs/man/man1/linuxcnc.1:../docs/src/man/man1/linuxcnc.1.in config.status: creating ../docs/man/man1/linuxcnc.1 Updating 'whatis' database Alte Datenbankeinträge in /home/tim/linuxcnc-dev/src/../docs/man werden gelöscht ... Handbuchseiten unter /home/tim/linuxcnc-dev/src/../docs/man werden verarbeitet ... Indexcache des Pfades »/home/tim/linuxcnc-dev/src/../docs/man/man1« wird aktualisiert. Bitte warten ...fertig. Handbuchseiten ohne »cat«-Dateien in /home/tim/linuxcnc-dev/src/../docs/man werden gesucht ... Handbuchseiten unter /home/tim/linuxcnc-dev/src/../docs/man/images werden verarbeitet ... Handbuchseiten unter /home/tim/linuxcnc-dev/src/../docs/man/cat3 werden verarbeitet ... Handbuchseiten unter /home/tim/linuxcnc-dev/src/../docs/man/cat1 werden verarbeitet ... Handbuchseiten unter /home/tim/linuxcnc-dev/src/../docs/man/cat9 werden verarbeitet ... 1 Handbuchverzeichnis enthielt neuere Handbuchseiten. 1 Handbuchseite wurde hinzugefügt. 0 herrenlose »cat«-Dateien wurden hinzugefügt. 0 alte Datenbankeinträge wurden entfernt. You now need to run 'sudo make setuid' in order to run in place with access to hardware. tim@tim:~/linuxcnc-dev/src$ sudo make setuid [sudo] Passwort für tim: emc/Submakefile:4: Warnung: Die Befehle für das Ziel „../include/linuxcnc.h“ werden überschrieben emc/Submakefile:4: Warnung: Alte Befehle für das Ziel „../include/linuxcnc.h“ werden ignoriert chown root ../bin/rtapi_app chmod 4750 ../bin/rtapi_app chown root ../bin/linuxcnc_module_helper chmod 4750 ../bin/linuxcnc_module_helper tim@tim:~/linuxcnc-dev/src$