Skip to content

Installation Error #16

Description

@OJthe123

I want to try out your S-Curve Planner, but ./build_cmake shows errors...
Set up a new VM with the latest official LCNC Image. Debian 12 with LCNC 2.9
I followed the 3 installation steps and I got this:

r@debian:~/linuxcnc/cmake$ ./build_cmake
current folder:
/home/mr/linuxcnc/cmake


removing rtapi_app & linuxcnc_module_helper to overwrite. 

Building linuxcnc with cmake. 

CMake Warning (dev) at /usr/share/cmake-3.25/Modules/FindPython/Support.cmake:3248 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "PROJECT" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  /usr/share/cmake-3.25/Modules/FindPython3.cmake:490 (include)
  CMakeLists.txt:49 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.25/Modules/FindOpenGL.cmake:315 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  projects/qt_occ_draw/CMakeLists.txt:29 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at projects/qt_occ_draw/CMakeLists.txt:36 (find_package):
  By not providing "FindOpenCASCADE.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "OpenCASCADE", but CMake did not find one.

  Could not find a package configuration file provided by "OpenCASCADE" with
  any of the following names:

    OpenCASCADEConfig.cmake
    opencascade-config.cmake

  Add the installation prefix of "OpenCASCADE" to CMAKE_PREFIX_PATH or set
  "OpenCASCADE_DIR" to a directory containing one of the above files.  If
  "OpenCASCADE" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/mr/linuxcnc/cmake/build/CMakeFiles/CMakeOutput.log".
make: *** Es wurden keine Ziele angegeben und keine „make“-Steuerdatei gefunden.  Schluss.
make: *** Keine Regel, um „install“ zu erstellen.  Schluss.
current folder:
/home/mr/linuxcnc


Running equivalent of Sudo Make Setuid. 

chown: Zugriff auf 'bin/rtapi_app' nicht möglich: Datei oder Verzeichnis nicht gefunden
chown: Zugriff auf 'bin/linuxcnc_module_helper' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf 'bin/rtapi_app' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf 'bin/linuxcnc_module_helper' nicht möglich: Datei oder Verzeichnis nicht gefunden
Start linuxcnc. 

LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/mr/linuxcnc/scripts/../configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
Starting LinuxCNC...
(time=1722810888.100637,pid=28979): Registering server on TCP port 5005.
(time=1722810888.102031,pid=28979): running server for TCP port 5005 (connection_socket = 3).
linuxcnc TPMOD=tpmod_scurve_skynet HOMEMOD=homemod EMCMOT=motmod_scurve
<commandline>:0: execv(/home/mr/linuxcnc/bin/rtapi_app): No such file or directory
<commandline>:0: waitpid failed /home/mr/linuxcnc/bin/rtapi_app tpmod_scurve_skynet
<commandline>:0: /home/mr/linuxcnc/bin/rtapi_app exited without becoming ready
<commandline>:0: insmod for tpmod_scurve_skynet failed, returned -1
<commandline>:0: execv(/home/mr/linuxcnc/bin/rtapi_app): No such file or directory
<commandline>:0: waitpid failed /home/mr/linuxcnc/bin/rtapi_app homemod
<commandline>:0: /home/mr/linuxcnc/bin/rtapi_app exited without becoming ready
<commandline>:0: insmod for homemod failed, returned -1
task: machine: 'LinuxCNC-HAL-SIM-AXIS'  version 'unknown'
Found file(lib): /home/mr/linuxcnc/lib/hallib/core_sim.hal
/home/mr/linuxcnc/lib/hallib/core_sim.hal:5: execv(/home/mr/linuxcnc/bin/rtapi_app): No such file or directory
/home/mr/linuxcnc/lib/hallib/core_sim.hal:5: waitpid failed /home/mr/linuxcnc/bin/rtapi_app trivkins
/home/mr/linuxcnc/lib/hallib/core_sim.hal:5: /home/mr/linuxcnc/bin/rtapi_app exited without becoming ready
/home/mr/linuxcnc/lib/hallib/core_sim.hal:5: insmod for trivkins failed, returned -1
Shutting down and cleaning up LinuxCNC...
/home/mr/linuxcnc/scripts/linuxcnc: Zeile 668: /home/mr/linuxcnc/scripts/axis-remote: cannot execute: required file not found
(time=1722810888.481236,pid=28979): Deleting 3 channels from the NML_Main_Channel_List.
(time=1722810888.481255,pid=28979): Deleting emcCommand NML channel from NML_Main_Channel_List.
(time=1722810888.481259,pid=28979): deleting NML (1)
(time=1722810888.481262,pid=28979):  delete (CMS *) 0x558bfc4f2300;
(time=1722810888.481274,pid=28979): rcs_shm_close(shm->key=1001(0x3E9),shm->size=8192(0x2000),shm->addr=0x7fe22d35f000)
(time=1722810888.481298,pid=28979): deleting CMS (emcCommand)
(time=1722810888.481305,pid=28979): free( data = 0x558bfc4f3030);
(time=1722810888.481311,pid=28979): Leaving ~CMS()
(time=1722810888.481314,pid=28979):  CMS::delete(0x558bfc4f2300)
(time=1722810888.481317,pid=28979):  CMS::delete successful.
(time=1722810888.481320,pid=28979): Leaving ~NML()
(time=1722810888.481322,pid=28979): NML channel deleted from NML_Main_Channel_List
(time=1722810888.481325,pid=28979): Deleting emcStatus NML channel from NML_Main_Channel_List.
(time=1722810888.481328,pid=28979): deleting NML (2)
(time=1722810888.481330,pid=28979):  delete (CMS *) 0x558bfc4f8510;
(time=1722810888.481334,pid=28979): rcs_shm_close(shm->key=1002(0x3EA),shm->size=20480(0x5000),shm->addr=0x7fe22d35a000)
(time=1722810888.481344,pid=28979): deleting CMS (emcStatus)
(time=1722810888.481348,pid=28979): free( data = 0x558bfc4f9220);
(time=1722810888.481350,pid=28979): Leaving ~CMS()
(time=1722810888.481352,pid=28979):  CMS::delete(0x558bfc4f8510)
(time=1722810888.481355,pid=28979):  CMS::delete successful.
(time=1722810888.481357,pid=28979): Leaving ~NML()
(time=1722810888.481359,pid=28979): NML channel deleted from NML_Main_Channel_List
(time=1722810888.481361,pid=28979): Deleting emcError NML channel from NML_Main_Channel_List.
(time=1722810888.481364,pid=28979): deleting NML (3)
(time=1722810888.481366,pid=28979):  delete (CMS *) 0x558bfc4fe900;
(time=1722810888.481369,pid=28979): rcs_shm_close(shm->key=1003(0x3EB),shm->size=8192(0x2000),shm->addr=0x7fe22d358000)
(time=1722810888.481382,pid=28979): deleting CMS (emcError)
(time=1722810888.481386,pid=28979): free( data = 0x558bfc4ff620);
(time=1722810888.481388,pid=28979): Leaving ~CMS()
(time=1722810888.481390,pid=28979):  CMS::delete(0x558bfc4fe900)
(time=1722810888.481392,pid=28979):  CMS::delete successful.
(time=1722810888.481395,pid=28979): Leaving ~NML()
(time=1722810888.481397,pid=28979): NML channel deleted from NML_Main_Channel_List
(time=1722810888.481403,pid=28979): deleting NML (1)
(time=1722810888.481406,pid=28979): Leaving ~NML()
(time=1722810888.481408,pid=28979): NML::operator delete(0x558bfc4f2090)
(time=1722810888.481410,pid=28979): NML channel deleted from Dynamically_Allocated_NML_Objects
(time=1722810888.481414,pid=28979): deleting NML (2)
(time=1722810888.481416,pid=28979): Leaving ~NML()
(time=1722810888.481418,pid=28979): NML::operator delete(0x558bfc4f8340)
(time=1722810888.481421,pid=28979): NML channel deleted from Dynamically_Allocated_NML_Objects
(time=1722810888.481424,pid=28979): deleting NML (3)
(time=1722810888.481426,pid=28979): Leaving ~NML()
(time=1722810888.481428,pid=28979): NML::operator delete(0x558bfc4fe6d0)
(time=1722810888.481431,pid=28979): NML channel deleted from Dynamically_Allocated_NML_Objects
USRMOT: ERROR: command 31 timeout
emcTrajSetJoints(3) returned -2
emcMotionInit: emcTrajInit failed
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/mr/linuxcnc_debug.txt
and
    /home/mr/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions