RPI4 Raspbian 64 bit & LinuxCNC

More
05 May 2021 14:19 #207974 by elovalvo
The message highlights the fact that some libraries are missing.

Run these commands, one at a time, and then redo dpkg-checkbuilddeps:


sudo apt-get install debhelper libudev-dev tcl8.6-dev tk8.6-dev libreadline-gplv2-dev asciidoc
sudo apt-get install dblatex docbook-xsl dvipng ghostscript graphviz groff imagemagick inkscape
sudo apt-get install python-lxml source-highlight w3c-linkchecker xsltproc texlive-extra-utils
sudo apt-get install texlive-font-utils texlive-fonts-recommended asciidoc-dblatex libxmu-dev
sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev intltool autoconf
sudo apt-get install libboost-python-dev netcat libtirpc-dev

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

More
05 May 2021 14:33 #207975 by Craig E
I am getting closer. I went back and rebuilt and it fixed some issues and used Andy's file but now I am stuck here.
dpkg-checkbuilddeps

debuild -uc -us
cd ..
I am getting this response

i@raspberrypi:~/linuxcnc-dev $ debian/configure uspace
successfully configured for 'uspace-Debian-10'-'uspace'..
pi@raspberrypi:~/linuxcnc-dev $ dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: Unmet build dependencies: libglu1-mesa-dev libgl1-mesa-dev | libgl1-mesa-swx11-dev libgtk2.0-dev intltool libboost-python-dev netcat libtirpc-dev
pi@raspberrypi:~/linuxcnc-dev $ debuild -uc -us
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package linuxcnc
dpkg-buildpackage: info: source version 1:2.9.0~pre0
dpkg-buildpackage: info: source distribution stretch
dpkg-buildpackage: info: source changed by Sebastian Kuzminsky <This email address is being protected from spambots. You need JavaScript enabled to view it.>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-checkbuilddeps: error: Unmet build dependencies: libglu1-mesa-dev libgl1-mesa-dev | libgl1-mesa-swx11-dev libgtk2.0-dev intltool libboost-python-dev netcat libtirpc-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed

Any thoughts on where I am going wrong?

Thank again for everyone help on this.

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

More
05 May 2021 14:39 #207976 by Craig E
when I run
udo apt-get install debhelper libudev-dev tcl8.6-dev tk8.6-dev libreadline-gplv2-dev asciidoc

i get this response is it okay?

pi@raspberrypi:~ $ sudo apt-get install debhelper libudev-dev tcl8.6-dev tk8.6-dev libreadline-gplv2-dev asciidoc
Reading package lists... Done
Building dependency tree
Reading state information... Done
asciidoc is already the newest version (8.6.10-3).
libreadline-gplv2-dev is already the newest version (5.2+dfsg-3+b13).
libudev-dev is already the newest version (241-7~deb10u7).
tcl8.6-dev is already the newest version (8.6.9+dfsg-2).
tk8.6-dev is already the newest version (8.6.9-2).
debhelper is already the newest version (13.2~bpo10+1).
debhelper set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: libgl-dev
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

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

More
05 May 2021 14:44 - 05 May 2021 14:47 #207977 by elovalvo
as you see from the message:
dpkg-checkbuilddeps: error: Unmet build dependencies: libglu1-mesa-dev libgl1-mesa-dev | libgl1-mesa-swx11-dev libgtk2.0-dev intltool libboost-python-dev netcat libtirpc-dev

you must have forgotten to execute the last two commands (one at a time) that I had indicated to you:

sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev intltool autoconf

sudo apt-get install libboost-python-dev netcat libtirpc-dev

then rerun

dpkg-checkbuilddeps

and possibly install what's missing

sudo apt --fix-broken install
Last edit: 05 May 2021 14:47 by elovalvo.

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

More
05 May 2021 14:49 #207978 by Craig E
I tried all of the run all of the commands and I get a similar error and a
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
comment at the end of each.

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

More
05 May 2021 15:23 #207981 by Craig E
sorry for needing so much help but I cannot seem to get the files to load. I get the same error. I tried sudo apt full-upgrade and Sudo apt --fix broken install
and I still cannot get the two files to load?

pi@raspberrypi:~ $ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: libgl-dev
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
pi@raspberrypi:~ $

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

More
05 May 2021 15:50 - 05 May 2021 15:51 #207985 by elovalvo
try

sudo apt-get install libgl-dev

and then

sudo apt --fix-broken install
Last edit: 05 May 2021 15:51 by elovalvo.

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

More
05 May 2021 16:49 #207988 by Craig E
Sorry that did not work
I still get this error

npacking libgl-dev:arm64 (1.3.0-7~bpo10+1) ...
dpkg: error processing archive /var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb (--unpack):
trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package libraspberrypi-dev 2+git20200520~143707+2fe4ca3-1
Errors were encountered while processing:
/var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $

Sorry I am sure I must be doing or have done something wrong. I have downloaded the .deb file but cant install them ether.

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

More
05 May 2021 17:04 - 05 May 2021 17:06 #207993 by Aciera
This seems to be a known issue:

github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/14

so maybe try:

sudo apt update
sudo apt full-upgrade

and then the above suggested

sudo apt install libgl-dev
sudo apt --fix-broken install
Last edit: 05 May 2021 17:06 by Aciera.

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

More
05 May 2021 17:14 #207995 by Craig E
I have tried everyone of these in every way I can think of and I always get the same error.

dpkg: error processing archive /var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb (--unpack):
trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package libraspberrypi-dev 2+git20200520~143707+2fe4ca3-1
Errors were encountered while processing:
/var/cache/apt/archives/libgl-dev_1.3.0-7~bpo10+1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $

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

Time to create page: 0.202 seconds
Powered by Kunena Forum