Re: [Machinekit] executing from source, pango problems
I messed with the RPi so I had to redo that part, I run also the ./configure --with-platform-raspberry and it gave no error Il giorno domenica 23 settembre 2018 10:29:58 UTC+2, mngr ha scritto: > > Now it works: > The missing packages were those > > libpth-dev libpth20 tcl-dev tk-dev > libusb-dev > #here was still not working > automake1.11 avahi-discover cmake cmake-data libarchive13 > libavahi-compat-libdnssd-dev libavahi-compat-libdnssd1 libblas-common > libblas3 libdbus-glib-1-2 libgfortran3 libglade2-0 libjsoncpp1 liblapack3 > libtool-bin python-avahi python-dbus python-gdbm python-glade2 > python-gobject-2 python-gtk2 python-netifaces python-numpy > > before installing I re-run > > debian/configure -prx > sudo mk-build-deps -ir > > and no missing package was reported > maybe I had to rerun ./configure too... > > Thank again Schooner > > Il giorno sabato 22 settembre 2018 21:20:14 UTC+2, mngr ha scritto: > >> Thanks for the answer, I will try to install those packages tomorrow. >> Yes I am on stretch. >> >> >> Il giorno sabato 22 settembre 2018 20:10:58 UTC+2, Schooner ha scritto: >>> >>> Copy this to a file, make executable and run it. I am assuming you are >>> running Stretch from the kernel version? You haven't said. >>> >>> I have never seen this problem before and you are probably missing >>> something basic. >>> >>> >>> ~~~ >>> #!/bin/bash >>> >>> apt-get install -y build-essential debhelper libpth-dev libgtk2.0-dev >>> tcl-dev tk-dev bwidget python-tk python-dev libglu1-mesa-dev \ >>> libncurses5-dev libxaw7-dev gettext libmodbus-dev; >>> >>> apt-get install -y libudev-dev git 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-dev >>> python-protobuf ; >>> >>> >>> apt-get install -y libjansson-dev pkg-config libwebsockets-dev >>> python-pyftpdlib cython bwidget lsb-release gtk+2.0-dev tk8.6-dev >>> tcl8.6-dev libreadline-dev python-tk libglu1-mesa-dev; >>> >>> apt-get install -y libczmq-dev python-zmq ; >>> >>> >>> >>> >>> On 22/09/18 18:11, mngr wrote: >>> >>> Hi everybody, >>> I have compiled from source, and now I am trying to execute, machinekit >>> stars, but axis does not: >>> >>> >>> MACHINEKIT - 0.1 >>> Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' >>> Machine configuration file is 'CRAMPS.ini' >>> Starting Machinekit... >>> rtapi_msgd command: /home/pi/machinekit/libexec/rtapi_msgd --instance=0 >>> --rtmsglevel=1 --usrmsglevel=1 --halsize=524288 >>> rtapi_app command: /home/pi/machinekit/libexec/rtapi_app_rt-preempt -- >>> instance=0 >>> io started >>> halcmd loadusr io started >>> task pid=25915 >>> emcTaskInit: using builtin interpreter >>> Traceback (most recent call last): >>> File "/home/pi/machinekit/bin/axis", line 3362, in >>> get_coordinate_font(vars.dro_large_font.get()) >>> File "/home/pi/machinekit/bin/axis", line 3259, in get_coordinate_font >>> glnav.use_pango_font(coordinate_font, 0, 128) >>> File "/home/pi/machinekit/lib/python/glnav.py", line 6, in >>> use_pango_font >>> import cairo, pango, pangocairo >>> ImportError: No module named pango >>> Shutting down and cleaning up Machinekit... >>> Cleanup done >>> Machinekit terminated with an error. You can find more information in >>> the log: >>> /home/pi/linuxcnc_debug.txt >>> and >>> /home/pi/linuxcnc_print.txt >>> as well as in the output of the shell command 'dmesg' and in the >>> terminal >>> >>> there is some problem with pango... >>> I found this >>> https://github.com/251/shaape/commit/bc8e07fb4235a7cc6401ab4f8159466ec29cdf67 >>> >>> but gi.repository PangoCairo has some function defined differently from >>> pangocairo >>> >>> pi@realtimepi:~/machinekit/configs/CRAMPS $ uname -a >>> Linux realtimepi 4.14.66-rt40-v7 #2 SMP PREEMPT RT Mon Sep 17 21:15:46 >>> UTC 2018 armv7l GNU/Linux >>> >>> I tryed installing pango, but I have found problem while compiling, and >>> the site is from 2012... >>> >>> any opinion about that? >>> >>> >>> -- >>> website: http://www.machinekit.io blog: http://blog.machinekit.io >>> github: https://github.
Re: [Machinekit] executing from source, pango problems
Now it works: The missing packages were those libpth-dev libpth20 tcl-dev tk-dev libusb-dev #here was still not working automake1.11 avahi-discover cmake cmake-data libarchive13 libavahi-compat-libdnssd-dev libavahi-compat-libdnssd1 libblas-common libblas3 libdbus-glib-1-2 libgfortran3 libglade2-0 libjsoncpp1 liblapack3 libtool-bin python-avahi python-dbus python-gdbm python-glade2 python-gobject-2 python-gtk2 python-netifaces python-numpy before installing I re-run debian/configure -prx sudo mk-build-deps -ir and no missing package was reported maybe I had to rerun ./configure too... Thank again Schooner Il giorno sabato 22 settembre 2018 21:20:14 UTC+2, mngr ha scritto: > Thanks for the answer, I will try to install those packages tomorrow. > Yes I am on stretch. > > > Il giorno sabato 22 settembre 2018 20:10:58 UTC+2, Schooner ha scritto: >> >> Copy this to a file, make executable and run it. I am assuming you are >> running Stretch from the kernel version? You haven't said. >> >> I have never seen this problem before and you are probably missing >> something basic. >> >> >> ~~~ >> #!/bin/bash >> >> apt-get install -y build-essential debhelper libpth-dev libgtk2.0-dev >> tcl-dev tk-dev bwidget python-tk python-dev libglu1-mesa-dev \ >> libncurses5-dev libxaw7-dev gettext libmodbus-dev; >> >> apt-get install -y libudev-dev git 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-dev >> python-protobuf ; >> >> >> apt-get install -y libjansson-dev pkg-config libwebsockets-dev >> python-pyftpdlib cython bwidget lsb-release gtk+2.0-dev tk8.6-dev >> tcl8.6-dev libreadline-dev python-tk libglu1-mesa-dev; >> >> apt-get install -y libczmq-dev python-zmq ; >> >> >> >> >> On 22/09/18 18:11, mngr wrote: >> >> Hi everybody, >> I have compiled from source, and now I am trying to execute, machinekit >> stars, but axis does not: >> >> >> MACHINEKIT - 0.1 >> Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' >> Machine configuration file is 'CRAMPS.ini' >> Starting Machinekit... >> rtapi_msgd command: /home/pi/machinekit/libexec/rtapi_msgd --instance=0 >> --rtmsglevel=1 --usrmsglevel=1 --halsize=524288 >> rtapi_app command: /home/pi/machinekit/libexec/rtapi_app_rt-preempt -- >> instance=0 >> io started >> halcmd loadusr io started >> task pid=25915 >> emcTaskInit: using builtin interpreter >> Traceback (most recent call last): >> File "/home/pi/machinekit/bin/axis", line 3362, in >> get_coordinate_font(vars.dro_large_font.get()) >> File "/home/pi/machinekit/bin/axis", line 3259, in get_coordinate_font >> glnav.use_pango_font(coordinate_font, 0, 128) >> File "/home/pi/machinekit/lib/python/glnav.py", line 6, in >> use_pango_font >> import cairo, pango, pangocairo >> ImportError: No module named pango >> Shutting down and cleaning up Machinekit... >> Cleanup done >> Machinekit terminated with an error. You can find more information in >> the log: >> /home/pi/linuxcnc_debug.txt >> and >> /home/pi/linuxcnc_print.txt >> as well as in the output of the shell command 'dmesg' and in the terminal >> >> there is some problem with pango... >> I found this >> https://github.com/251/shaape/commit/bc8e07fb4235a7cc6401ab4f8159466ec29cdf67 >> >> but gi.repository PangoCairo has some function defined differently from >> pangocairo >> >> pi@realtimepi:~/machinekit/configs/CRAMPS $ uname -a >> Linux realtimepi 4.14.66-rt40-v7 #2 SMP PREEMPT RT Mon Sep 17 21:15:46 >> UTC 2018 armv7l GNU/Linux >> >> I tryed installing pango, but I have found problem while compiling, and >> the site is from 2012... >> >> any opinion about that? >> >> >> -- >> 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 machinekit+...@googlegroups.com. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https:/
Re: [Machinekit] executing from source, pango problems
Thanks for the answer, I will try to install those packages tomorrow. Yes I am on stretch. Il giorno sabato 22 settembre 2018 20:10:58 UTC+2, Schooner ha scritto: > > Copy this to a file, make executable and run it. I am assuming you are > running Stretch from the kernel version? You haven't said. > > I have never seen this problem before and you are probably missing > something basic. > > > ~~~ > #!/bin/bash > > apt-get install -y build-essential debhelper libpth-dev libgtk2.0-dev > tcl-dev tk-dev bwidget python-tk python-dev libglu1-mesa-dev \ > libncurses5-dev libxaw7-dev gettext libmodbus-dev; > > apt-get install -y libudev-dev git 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-dev > python-protobuf ; > > > apt-get install -y libjansson-dev pkg-config libwebsockets-dev > python-pyftpdlib cython bwidget lsb-release gtk+2.0-dev tk8.6-dev > tcl8.6-dev libreadline-dev python-tk libglu1-mesa-dev; > > apt-get install -y libczmq-dev python-zmq ; > > > > > On 22/09/18 18:11, mngr wrote: > > Hi everybody, > I have compiled from source, and now I am trying to execute, machinekit > stars, but axis does not: > > > MACHINEKIT - 0.1 > Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' > Machine configuration file is 'CRAMPS.ini' > Starting Machinekit... > rtapi_msgd command: /home/pi/machinekit/libexec/rtapi_msgd --instance=0 > --rtmsglevel=1 --usrmsglevel=1 --halsize=524288 > rtapi_app command: /home/pi/machinekit/libexec/rtapi_app_rt-preempt -- > instance=0 > io started > halcmd loadusr io started > task pid=25915 > emcTaskInit: using builtin interpreter > Traceback (most recent call last): > File "/home/pi/machinekit/bin/axis", line 3362, in > get_coordinate_font(vars.dro_large_font.get()) > File "/home/pi/machinekit/bin/axis", line 3259, in get_coordinate_font > glnav.use_pango_font(coordinate_font, 0, 128) > File "/home/pi/machinekit/lib/python/glnav.py", line 6, in > use_pango_font > import cairo, pango, pangocairo > ImportError: No module named pango > Shutting down and cleaning up Machinekit... > Cleanup done > Machinekit terminated with an error. You can find more information in > the log: > /home/pi/linuxcnc_debug.txt > and > /home/pi/linuxcnc_print.txt > as well as in the output of the shell command 'dmesg' and in the terminal > > there is some problem with pango... > I found this > https://github.com/251/shaape/commit/bc8e07fb4235a7cc6401ab4f8159466ec29cdf67 > > but gi.repository PangoCairo has some function defined differently from > pangocairo > > pi@realtimepi:~/machinekit/configs/CRAMPS $ uname -a > Linux realtimepi 4.14.66-rt40-v7 #2 SMP PREEMPT RT Mon Sep 17 21:15:46 > UTC 2018 armv7l GNU/Linux > > I tryed installing pango, but I have found problem while compiling, and > the site is from 2012... > > any opinion about that? > > > -- > 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 machinekit+...@googlegroups.com . > 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 machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
Re: [Machinekit] executing from source, pango problems
Copy this to a file, make executable and run it. I am assuming you are running Stretch from the kernel version? You haven't said. I have never seen this problem before and you are probably missing something basic. ~~~ #!/bin/bash apt-get install -y build-essential debhelper libpth-dev libgtk2.0-dev tcl-dev tk-dev bwidget python-tk python-dev libglu1-mesa-dev \ libncurses5-dev libxaw7-dev gettext libmodbus-dev; apt-get install -y libudev-dev git 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-dev python-protobuf ; apt-get install -y libjansson-dev pkg-config libwebsockets-dev python-pyftpdlib cython bwidget lsb-release gtk+2.0-dev tk8.6-dev tcl8.6-dev libreadline-dev python-tk libglu1-mesa-dev; apt-get install -y libczmq-dev python-zmq ; On 22/09/18 18:11, mngr wrote: Hi everybody, I have compiled from source, and now I am trying to execute, machinekit stars, but axis does not: MACHINEKIT - 0.1 Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' Machine configuration file is 'CRAMPS.ini' Starting Machinekit... rtapi_msgd command: /home/pi/machinekit/libexec/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288 rtapi_app command: /home/pi/machinekit/libexec/rtapi_app_rt-preempt --instance=0 io started halcmd loadusr io started task pid=25915 emcTaskInit: using builtin interpreter Traceback (most recent call last): File "/home/pi/machinekit/bin/axis", line 3362, in get_coordinate_font(vars.dro_large_font.get()) File "/home/pi/machinekit/bin/axis", line 3259, in get_coordinate_font glnav.use_pango_font(coordinate_font, 0, 128) File "/home/pi/machinekit/lib/python/glnav.py", line 6, in use_pango_font import cairo, pango, pangocairo ImportError: No module named pango Shutting down and cleaning up Machinekit... Cleanup done Machinekit terminated with an error. You can find more information in the log: /home/pi/linuxcnc_debug.txt and /home/pi/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal there is some problem with pango... I found this https://github.com/251/shaape/commit/bc8e07fb4235a7cc6401ab4f8159466ec29cdf67 but gi.repository PangoCairo has some function defined differently from pangocairo pi@realtimepi:~/machinekit/configs/CRAMPS $ uname -a Linux realtimepi 4.14.66-rt40-v7 #2 SMP PREEMPT RT Mon Sep 17 21:15:46 UTC 2018 armv7l GNU/Linux I tryed installing pango, but I have found problem while compiling, and the site is from 2012... any opinion about that? -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
Re: [Machinekit] executing from source, pango problems
> On 22 Sep 2018, at 19:11, mngr wrote: > > Hi everybody, > I have compiled from source, and now I am trying to execute, machinekit > stars, but axis does not: > > > MACHINEKIT - 0.1 > Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' > Machine configuration file is 'CRAMPS.ini' > Starting Machinekit... > rtapi_msgd command: /home/pi/machinekit/libexec/rtapi_msgd --instance=0 > --rtmsglevel=1 --usrmsglevel=1 --halsize=524288 > rtapi_app command: /home/pi/machinekit/libexec/rtapi_app_rt-preempt > --instance=0 > io started > halcmd loadusr io started > task pid=25915 > emcTaskInit: using builtin interpreter > Traceback (most recent call last): > File "/home/pi/machinekit/bin/axis", line 3362, in > get_coordinate_font(vars.dro_large_font.get()) > File "/home/pi/machinekit/bin/axis", line 3259, in get_coordinate_font > glnav.use_pango_font(coordinate_font, 0, 128) > File "/home/pi/machinekit/lib/python/glnav.py", line 6, in use_pango_font > import cairo, pango, pangocairo > ImportError: No module named pango Looks like you have a missing Python module. > Shutting down and cleaning up Machinekit... > Cleanup done > Machinekit terminated with an error. You can find more information in the > log: > /home/pi/linuxcnc_debug.txt > and > /home/pi/linuxcnc_print.txt > as well as in the output of the shell command 'dmesg' and in the terminal > > there is some problem with pango... > I found this > https://github.com/251/shaape/commit/bc8e07fb4235a7cc6401ab4f8159466ec29cdf67 > > but gi.repository PangoCairo has some function defined differently from > pangocairo > > pi@realtimepi:~/machinekit/configs/CRAMPS $ uname -a > Linux realtimepi 4.14.66-rt40-v7 #2 SMP PREEMPT RT Mon Sep 17 21:15:46 UTC > 2018 armv7l GNU/Linux > > I tryed installing pango, but I have found problem while compiling, and the > site is from 2012... > > any opinion about that? > > > -- > 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 machinekit+unsubscr...@googlegroups.com. > 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 machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
[Machinekit] executing from source, pango problems
Hi everybody, I have compiled from source, and now I am trying to execute, machinekit stars, but axis does not: MACHINEKIT - 0.1 Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' Machine configuration file is 'CRAMPS.ini' Starting Machinekit... rtapi_msgd command: /home/pi/machinekit/libexec/rtapi_msgd --instance=0 -- rtmsglevel=1 --usrmsglevel=1 --halsize=524288 rtapi_app command: /home/pi/machinekit/libexec/rtapi_app_rt-preempt -- instance=0 io started halcmd loadusr io started task pid=25915 emcTaskInit: using builtin interpreter Traceback (most recent call last): File "/home/pi/machinekit/bin/axis", line 3362, in get_coordinate_font(vars.dro_large_font.get()) File "/home/pi/machinekit/bin/axis", line 3259, in get_coordinate_font glnav.use_pango_font(coordinate_font, 0, 128) File "/home/pi/machinekit/lib/python/glnav.py", line 6, in use_pango_font import cairo, pango, pangocairo ImportError: No module named pango Shutting down and cleaning up Machinekit... Cleanup done Machinekit terminated with an error. You can find more information in the log: /home/pi/linuxcnc_debug.txt and /home/pi/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal there is some problem with pango... I found this https://github.com/251/shaape/commit/bc8e07fb4235a7cc6401ab4f8159466ec29cdf67 but gi.repository PangoCairo has some function defined differently from pangocairo pi@realtimepi:~/machinekit/configs/CRAMPS $ uname -a Linux realtimepi 4.14.66-rt40-v7 #2 SMP PREEMPT RT Mon Sep 17 21:15:46 UTC 2018 armv7l GNU/Linux I tryed installing pango, but I have found problem while compiling, and the site is from 2012... any opinion about that? -- 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 machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.