Success: Install LinuxCNC-sim on debian butster?

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163108 by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
Try
Code:
debian/configure uspace noauto

Please Log in to join the conversation.

More
6 years 6 months ago #163377 by mane
./configure uspace noauto gives me an output, seems to nothing happened.
Code:
manfred@desktop-buero:~/linuxcnc-dev/debian$ ./configure uspace noauto configure: Set up debian/ files to build for a particular kernel Usage: configure uspace Build for a userspace realtime systems or simulator configure sim Deprecated synonym for 'configure uspace' configure [kernel-version] Build for the installed RTAI realtime kernel specified by [kernel-version], for example "3.4.9-rtai-686-pae" configure -r Build for the currently running kernel for RTAI realtime only configure -a If the currently running kernel has realtime extensions, use it. Otherwise use any available realtime kernel it can find. manfred@desktop-buero:~/linuxcnc-dev/debian$

If i try ./configure uspace it seems to be correct working.
Code:
manfred@desktop-buero:~/linuxcnc-dev/debian$ ./configure uspace successfully configured for 'uspace-Debian-10'-'uspace'.. manfred@desktop-buero:~/linuxcnc-dev/debian$

Then i check the dependencies
Code:
manfred@desktop-buero:~/linuxcnc-dev$ dpkg-checkbuilddeps manfred@desktop-buero:~/linuxcnc-dev$
Code:
Started the bulding process manfred@desktop-buero:~$ dpkg-buildpackage -b -uc

Got some deb packages and install with dpkg -i writes a not configured dependecy failure.
But linuxcnc did was install and the menu is there. Started again by terminal but after chosing a configuration i get a error message.
Code:
manfred@desktop-buero:~$ linuxcnc LINUXCNC - 2.7.15 Machine configuration directory is '/home/manfred/linuxcnc/configs/sim.axis' Machine configuration file is 'axis.ini' Starting LinuxCNC... /usr/bin/linuxcnc: Zeile 711: /etc/init.d/realtime: Datei oder Verzeichnis nicht gefunden Realtime system did not load Shutting down and cleaning up LinuxCNC... /usr/bin/linuxcnc: Zeile 606: /etc/init.d/realtime: Datei oder Verzeichnis nicht gefunden LinuxCNC terminated with an error. You can find more information in the log: /home/manfred/linuxcnc_debug.txt and /home/manfred/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

Again not successful.

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163380 by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
What dependency were you missing ?
I’ve built 2.9 for buster with no issues and it’s ran fine. Tho I can’t say if I’ve tried 2.7.

Please Log in to join the conversation.

More
6 years 6 months ago #163381 by mane
dpkg-checkbuilddeps shows nothing is missing. I assume the not existing realtime is the problem. But as simulation it should not be necessary. This is what i posted today.
I can try to build another version 2.8 or 2.9

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163399 by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
What are the messages from when you try to install linuxcnc ? You mentioned a dependency issue.

Please Log in to join the conversation.

More
6 years 6 months ago #163400 by PCW
Can you post the results of

linuxcnc_info

Please Log in to join the conversation.

More
6 years 6 months ago #163456 by mane
@BeagleBrainz
Message by installing linuxcnc deb package i posted here.
forum.linuxcnc.org/9-installing-linuxcnc...ster?start=10#163377

@PCW
I can find linuxcnc_info at /usr/bin/linuxcnc_info, content is
Code:
manfred@desktop-buero:~$ cat -A /usr/bin/linuxcnc_info #!/bin/bash$ $ # This script creates a file in /tmp and$ # opens it with first visual editor found in a search list for editors$ $ # Copyright: 2014$ # Author: Dewey Garrett <dgarrett@panix.com>$ #$ # This program is free software; you can redistribute it and/or modify$ # it under the terms of the GNU General Public License as published by$ # the Free Software Foundation; either version 2 of the License, or$ # (at your option) any later version.$ #$ # This program is distributed in the hope that it will be useful,$ # but WITHOUT ANY WARRANTY; without even the implied warranty of$ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the$ # GNU General Public License for more details.$ #$ # You should have received a copy of the GNU General Public License$ # along with this program; if not, write to the Free Software$ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA$ $ ofile=/tmp/linuxcnc.info$ # all output$ exec 1>$ofile$ exec 2>&1$ $ # try to find a visual editor to show created file$ # use list with existing preference first, then other common editors$ editors="$VISUAL gedit mousepad geany nedit gvim abiword"$ for e in $editors ; do$ if [ -x "$(which $e)" ] ; then$ VIEWER=$e$ break #use first editor found$ fi$ done$ $ function show () {$ if [ -z "$1" ] ; then$ echo$ return$ fi$ name=$1$ shift$ value=$*$ printf "%20s: %s\n" "$name" "$value"$ }$ $ function parse_cpuinfo () {$ cat /proc/cpuinfo|grep "$1"|head -1|cut -d: -f2-$ }$ $ function parse_after_colon () {$ echo "$*"|cut -d: -f2-$ }$ $ function tryversion () {$ prog="$1"$ if [ $(which "$prog") ] ; then$ ans=$($prog --version 2>/dev/null)$ if [ -z "$ans" ] ; then$ echo "?"$ else$ echo "$ans"$ fi$ else$ echo "not_in_PATH"$ fi$ }$ $ cat <<EOF$ This file can be posted to a web site like:$ http://pastebin.com$ in order to provide information about the linuxcnc$ system and configuration.$ $ EOF$ $ echo VIEWER=$VIEWER$ $ show " Date" $(date)$ show " UTC Date" $(date -u)$ show " this program" $0$ show " uptime" $(uptime)$ show " lsb_release -sa" $(lsb_release -sa 2>/dev/null)$ show " which linuxcnc" $(which linuxcnc)$ show " pwd" $(pwd -P)$ show " USER" $USER$ show " LOGNAME" $LOGNAME$ show " HOME" $HOME$ show " EDITOR" $EDITOR$ show " VISUAL" $VISUAL$ show " LANGUAGE" $LANGUAGE$ show " TERM" $TERM$ show " COLORTERM" $COLORTERM$ show " DISPLAY" $DISPLAY$ show " display size" $(parse_after_colon $(xdpyinfo|grep dimensions))$ echo$ echo "uname items:"$ show " nodename -n" $(uname -n)$ show " kernel-name -s" $(uname -s)$ show " kernel-vers -v" $(uname -v)$ show " machine -k" $(uname -n)$ show " processor -p" $(uname -p)$ show " platform -i" $(uname -i)$ show " oper system -o" $(uname -o)$ show ""$ echo "/proc items:"$ show " cmdline" $(< /proc/cmdline)$ show " model name" $(parse_cpuinfo "model name")$ show " cores" $(parse_cpuinfo "cpu cores")$ show " cpu MHz" $(parse_cpuinfo "cpu MHz")$ show " parport" $(cat /proc/ioports|grep parport)$ show " serial" $(cat /proc/ioports|grep serial)$ echo$ echo "Varsions:"$ show " gcc" $(gcc --version|head -1)$ show " python" $(python --version 2>&1)$ show " git" $(git --version)$ show " tcl" $(echo "puts $::tcl_version"|tclsh)$ show " tk" $(echo "puts $::tk_version;destroy ."|wish)$ show " glade" $(tryversion glade)$ show " glade-gtk2" $(tryversion glade-gtk2)$ echo$ echo "linuxcnc_var all:"$ echo$ for n in $(linuxcnc_var all) ; do$ show "${n%%=*}" ${n##*=}$ done$ $ [ -n $VIEWER ] && $VIEWER "$ofile"$ manfred@desktop-buero:~$

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163466 by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
I think what was requested was the output of linuxcnc_info

I was asking what was the dependency that was mentioned by dpkg -i .

If there are missing dependencies the installation of the package is incomplete.

Please Log in to join the conversation.

More
6 years 6 months ago #163480 by mane
Sorry, i did not knew exactly what was meant by providing the linuxcnc_info. Now i executed as command in terminal, see attachment.

And this is the message by installing the deb package. Sorry, most is in german language
It says some packages are missing:
- python-gtksourceview2, python-vte,(not availabe at debian buster
- python-gst-1.0 was missing, is now installed.

Maybe newer linuxcnc versions dont have these dependencies any more?
Code:
manfred@desktop-buero:~$ sudo dpkg -i linuxcnc-uspace_2.7.15_amd64.deb [sudo] Passwort für manfred: Vormals nicht ausgewähltes Paket linuxcnc-uspace wird gewählt. (Lese Datenbank ... 208567 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von linuxcnc-uspace_2.7.15_amd64.deb ... Entpacken von linuxcnc-uspace (1:2.7.15) ... dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linuxcnc-uspace: linuxcnc-uspace hängt ab von python-gtksourceview2; aber: Paket python-gtksourceview2 ist nicht installiert. linuxcnc-uspace hängt ab von python-vte; aber: Paket python-vte ist nicht installiert. linuxcnc-uspace hängt ab von python-gst-1.0; aber: Paket python-gst-1.0 ist nicht installiert. dpkg: Fehler beim Bearbeiten des Paketes linuxcnc-uspace (--install): Abhängigkeitsprobleme - verbleibt unkonfiguriert Trigger für libc-bin (2.28-10) werden verarbeitet ... Trigger für systemd (241-7~deb10u3) werden verarbeitet ... Trigger für bamfdaemon (0.5.4-1) werden verarbeitet ... Rebuilding /usr/share/applications/bamf-2.index... Trigger für desktop-file-utils (0.23-4) werden verarbeitet ... Trigger für mime-support (3.62) werden verarbeitet ... Trigger für man-db (2.8.5-2) werden verarbeitet ... Trigger für shared-mime-info (1.10-1) werden verarbeitet ... Fehler traten auf beim Bearbeiten von: linuxcnc-uspace manfred@desktop-buero:~

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163516 by BeagleBrainz
Replied by BeagleBrainz on topic Install LinuxCNC-sim on debian butster?
I just saw that there is a branch of 2.7 for buster on git.
Maybe that might be better to build from for buster.
Once it is morning here I will give it a go. And if it works I can share the packages with you.
Rob

Please Log in to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum