On 21/07/17 20:08, [email protected] wrote:

Machinekit did not run after it finished building.  I whent though all the steps a second time to make sure That all had gone well but with the same results.
This is what what was retured.

machkit@deb9-B:~/machinekit$ source scripts/rip-environment
machkit@deb9-B:~/machinekit$ machinekit
MACHINEKIT - 0.1
Machine configuration directory is '/home/machkit/machinekit/configs/sim/axis'
Machine configuration file is 'axis.ini'
Starting Machinekit...
io started
halcmd loadusr io started
task pid=16679
emcTaskInit: using builtin interpreter
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xffffffff
  Serial number of failed request:  719
  Current serial number in output stream:  720
Shutting down and cleaning up Machinekit...
Cleanup done
Machinekit terminated with an error.  You can find more information in the log:
    /home/machkit/linuxcnc_debug.txt
and
    /home/machkit/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
machkit@deb9-B:~/machinekit$

Have I missed some required file?

If the error is coming from the running of the axis window, as opposed to it being an error because you are ssh'ing into it, without X forwarding set correctly, possibly.
bwidget springs to mind

This is from the contents of a build deps file I run for new Stretch installs.
Cut and paste it onto the command line and see if any packages are missing and try again

#!/bin/bash
apt-get install -y  build-essential debhelper kernel-package libpth-dev libgtk2.0-dev tcl-dev tk-dev bwidget python-tk python-dev libglu1-mesa-dev \
            libncurses5-dev libxaw7-dev gettext libreadline-gplv2-dev lyx texlive-extra-utils imagemagick texinfo groff libmodbus-dev;
apt-get install -y  libudev-dev libmodbus-dev libboost-python-dev libboost-serialization-dev libboost-thread-dev libtk-img automake autoconf libtool libusb-dev;
apt-get install -y  automake1.11 libtool libtool-bin liburiparser-dev cmake libssl-dev  openssl python-setuptools  libusb-1.0-0-dev libudev-dev  uuid-dev libavahi-client-dev libavahi-compat-libdnssd-dev \
             avahi-daemon libprotobuf-dev protobuf-compiler python-protobuf libprotoc-dev uuid-runtime python-avahi python-netifaces avahi-discover;
apt-get install -y  libssl-dev uuid-dev libavahi-client-dev libavahi-common-dev libdbus-1-dev python-pyftpdlib libmodbus-dev libudev-dev libglib2.0-dev \
            libgl1-mesa-dev libxmu-dev python-netifaces liburiparser python-protobuf ;

med
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.



--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to