Jetson Nano as LinuxCNC driver

More
6 years 4 months ago #171861 by hobbyno1
Thank you both for your replies. I saved the file as per the wget command line. When I tried sudo apt-get install it said it was selecting "linux-uspace:armhf" instead of "./linuxcnc-uspace_2.8.0~pre1.5968.g69df9c1ba_armhf.deb" and said "Some packages could not be installed. This may mean you have requested an impossible situation or if you are using the unstable distribution that some packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies." It the lists about 50 dependencies of linux-uspace:armhf, just about each of which it states is not installable.
I can post the terminal o/p if that helps, but it's long.
On the other hand, if I were to compile it from source, I would appreciate any pointers as to how to start that process.
thx

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #171877 by andypugh

hobbyno1 wrote: On the other hand, if I were to compile it from source, I would appreciate any pointers as to how to start that process.
thx


You would need to satisfy the same dependencies to compile, so it might be useful to see the list.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #171889 by hobbyno1
Hi andypugh,
thanks for taking a look at this.

user1@computer1:~$ uname -a
Linux computer1 4.9.140-rt93 #1 SMP PREEMPT RT Fri Jun 12 17:19:01 IST 2020 aarch64 aarch64 aarch64 GNU/Linux
user1@computer1:~$ wget buildbot.linuxcnc.org/dists/buster/2.8-r...g69df9c1ba_armhf.deb
--2020-06-16 16:14:28-- buildbot.linuxcnc.org/dists/buster/2.8-r...g69df9c1ba_armhf.deb
Resolving buildbot.linuxcnc.org (buildbot.linuxcnc.org)... 71.218.138.100
Connecting to buildbot.linuxcnc.org (buildbot.linuxcnc.org)|71.218.138.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10658176 (10M) [application/x-debian-package]
Saving to: ‘linuxcnc-uspace_2.8.0~pre1.5968.g69df9c1ba_armhf.deb’

linuxcnc-uspace_2.8 100%[===================>] 10.16M 948KB/s in 11s

2020-06-16 16:14:40 (946 KB/s) - ‘linuxcnc-uspace_2.8.0~pre1.5968.g69df9c1ba_armhf.deb’ saved [10658176/10658176]

user1@computer1:~$ sudo apt-get install ./linuxcnc-uspace_2.8.0~pre1.5968.g69df9c1ba_armhf.deb
[sudo] password for user1:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linuxcnc-uspace:armhf' instead of './linuxcnc-uspace_2.8.0~pre1.5968.g69df9c1ba_armhf.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
linuxcnc-uspace:armhf : Depends: libatk1.0-0:armhf (>= 1.12.4) but it is not installable
Depends: libboost-python1.67.0:armhf but it is not installable
Depends: libc6:armhf (>= 2.28) but it is not installable
Depends: libcairo2:armhf (>= 1.2.4) but it is not installable
Depends: libfontconfig1:armhf (>= 2.12.6) but it is not installable
Depends: libfreetype6:armhf (>= 2.2.1) but it is not installable
Depends: libgcc1:armhf (>= 1:3.5) but it is not installable
Depends: libgdk-pixbuf2.0-0:armhf (>= 2.22.0) but it is not installable
Depends: libgl1:armhf but it is not installable
Depends: libglib2.0-0:armhf (>= 2.16.0) but it is not installable
Depends: libglu1-mesa:armhf but it is not installable or
libglu1:armhf but it is not installable
Depends: libgtk2.0-0:armhf (>= 2.8.0) but it is not installable
Depends: libmodbus5:armhf (>= 3.1.4) but it is not installable
Depends: libpango-1.0-0:armhf (>= 1.14.0) but it is not installable
Depends: libpangocairo-1.0-0:armhf (>= 1.14.0) but it is not installable
Depends: libpangoft2-1.0-0:armhf (>= 1.14.0) but it is not installable
Depends: libpython2.7:armhf (>= 2.7) but it is not installable
Depends: libreadline5:armhf (>= 5.2) but it is not installable
Depends: libstdc++6:armhf (>= 5.2) but it is not installable
Depends: libtk8.6:armhf (>= 8.6.0) but it is not installable
Depends: libudev1:armhf (>= 183) but it is not installable
Depends: libusb-1.0-0:armhf (>= 2:1.0.22) but it is not installable
Depends: libx11-6:armhf but it is not installable
Depends: libxext6:armhf but it is not installable
Depends: libxft2:armhf (> 2.1.1) but it is not installable
Depends: libxinerama1:armhf but it is not installable
Depends: libxmu6:armhf but it is not installable
Depends: libxss1:armhf but it is not installable
Depends: zlib1g:armhf (>= 1:1.1.4) but it is not installable
Depends: libudev-dev:armhf but it is not installable
Depends: bwidget:armhf (>= 1.7) but it is not installable
Depends: libtk-img:armhf (>= 1.13) but it is not installable
Depends: python:armhf (>= 2.7) but it is not installable
Depends: python:armhf (< 2.8) but it is not installable
Depends: python2.7-tk:armhf but it is not installable
Depends: python2.7-glade2:armhf but it is not installable or
python-glade2:armhf but it is not installable
Depends: python2.7-numpy:armhf but it is not installable or
python-numpy:armhf but it is not installable
Depends: python2.7-imaging:armhf but it is not installable or
python-imaging:armhf but it is not installable or
python-pil:armhf but it is not installable
Depends: python2.7-imaging-tk:armhf but it is not installable or
python-imaging-tk:armhf but it is not installable or
python-pil.imagetk:armhf but it is not installable
Depends: python-gtksourceview2:armhf but it is not installable
Depends: python-vte:armhf but it is not installable or
gir1.2-vte-2.91:armhf but it is not installable
Depends: python-gst-1.0:armhf but it is not installable
Depends: gstreamer1.0-plugins-base:armhf but it is not installable
Depends: python-xlib:armhf but it is not installable
Depends: python-gtkglext1:armhf but it is not installable
Depends: python-configobj:armhf but it is not installable
Depends: tclreadline:armhf but it is not installable
Depends: tclx:armhf but it is not installable
Depends: mesa-utils:armhf but it is not installable
Depends: blt:armhf but it is not installable
Recommends: linuxcnc-doc-en:armhf but it is not installable or
linuxcnc-doc:armhf but it is not installable
Recommends: hostmot2-firmware-all:armhf but it is not installable
E: Unable to correct problems, you have held broken packages.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #171890 by andypugh
That is quite a list.

Do any of them exist in the package manager? Which Linux version are you running?

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #171898 by Cerna
Well, and have you tried adding the foreign architecture to your installation? Armhf sould be compatible with aarch64.

From Linux headers 4.9 it looks like you are using a Stretch. Any chance to upgrade to Buster? (Multi-Arch has better support on Buster. [But Stretch is OK too.])

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #171901 by hobbyno1
I ran a dpkg -s query and about half are not installed, see below. It is Unbuntu 18.04.3LTS

user1@computer1:~$ dpkg -s Libatk1.0-0 libboost-python1.67.0 libc6 libcairo2 libfontconfig1 libfreetype6 libgcc1 libgdk-pixbuf2.0-0 libgl1 libglib2.0-0 libglu1-mesa libglu1 libgtk2.0-0 libmodbus5 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpython2.7 libreadline5 libstdc++6 libtk8.6 libudev1 libusb-1.0-0 libx11-6 libxext6 libxft2 libxinerama1 libxmu6 libxss1 zlib1g libudev-dev bwidget libtk-img python python python2.7-tk python2.7-glade2 python-glade2 python2.7-numpy python-numpy python2.7-imaging python-imaging python-pil python2.7-imaging-tk python-imaging-tk python-pil.imagetk python-gtksourceview2 python-vte gir1.2-vte-2.91 python-gst-1.0 gstreamer1.0-plugins-base python-xlib python-gtkglext1 python-configobj tclreadline tclx mesa-utils blt linuxcnc-doc-en linuxcnc-doc hostmot2-firmware-all 1> installed.txt
dpkg-query: package 'libboost-python1.67.0' is not installed and no information is available
dpkg-query: package 'libglu1' is not installed and no information is available
dpkg-query: package 'libmodbus5' is not installed and no information is available
dpkg-query: package 'libreadline5' is not installed and no information is available
dpkg-query: package 'libtk8.6' is not installed and no information is available
dpkg-query: package 'libudev-dev' is not installed and no information is available
dpkg-query: package 'bwidget' is not installed and no information is available
dpkg-query: package 'libtk-img' is not installed and no information is available
dpkg-query: package 'python2.7-tk' is not installed and no information is available
dpkg-query: package 'python2.7-glade2' is not installed and no information is available
dpkg-query: package 'python-glade2' is not installed and no information is available
dpkg-query: package 'python2.7-numpy' is not installed and no information is available
dpkg-query: package 'python-numpy' is not installed and no information is available
dpkg-query: package 'python2.7-imaging' is not installed and no information is available
dpkg-query: package 'python-imaging' is not installed and no information is available
dpkg-query: package 'python-pil' is not installed and no information is available
dpkg-query: package 'python2.7-imaging-tk' is not installed and no information is available
dpkg-query: package 'python-imaging-tk' is not installed and no information is available
dpkg-query: package 'python-pil.imagetk' is not installed and no information is available
dpkg-query: package 'python-gtksourceview2' is not installed and no information is available
dpkg-query: package 'python-vte' is not installed and no information is available
dpkg-query: package 'python-gst-1.0' is not installed and no information is available
dpkg-query: package 'python-xlib' is not installed and no information is available
dpkg-query: package 'python-gtkglext1' is not installed and no information is available
dpkg-query: package 'python-configobj' is not installed and no information is available
dpkg-query: package 'tclreadline' is not installed and no information is available
dpkg-query: package 'tclx' is not installed and no information is available
dpkg-query: package 'mesa-utils' is not installed and no information is available
dpkg-query: package 'blt' is not installed and no information is available
dpkg-query: package 'linuxcnc-doc-en' is not installed and no information is available
dpkg-query: package 'linuxcnc-doc' is not installed and no information is available
dpkg-query: package 'hostmot2-firmware-all' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

user1@computer1:~$ hostnamectl
Static hostname: computer1
Icon name:
Machine ID:
Boot ID:
Operating System: Ubuntu 18.04.3 LTS
Kernel: Linux 4.9.140-rt93
Architecture: arm64
user1@computer1:~$

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum