Jump to content
  • 0

MCC DAQHAT Library for Raspberry Pi


rajeev

Question

Hi,

I'm experimenting with daqhats and attempting to install the library.

I have raspberry pi 4b with raspberry os 64 bit with desktop.

When I run sudo ./install.sh I see below messages:
.......................

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 libgtk-3-dev : Depends: gir1.2-gtk-3.0 (= 3.24.38-2~deb12u1) but 1:3.24.38-2~deb12u2+rpt7+rpi1 is to be installed
                Depends: libatk-bridge2.0-dev (>= 2.15.1) but it is not going to be installed
                Depends: libatk1.0-dev (>= 2.35.1) but it is not going to be installed
                Depends: libcairo2-dev (>= 1.14.0) but it is not going to be installed
                Depends: libpango1.0-dev (>= 1.44.0) but it is not going to be installed
                Depends: libwayland-dev (>= 1.9.91) but it is not going to be installed
                Depends: libgtk-3-0 (= 3.24.38-2~deb12u1) but 1:3.24.38-2~deb12u2+rpt7+rpi1 is to be installed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gpiod is already the newest version (1.6.3-1+b3).
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:
 libgtk-3-dev : Depends: gir1.2-gtk-3.0 (= 3.24.38-2~deb12u1) but 1:3.24.38-2~deb12u2+rpt7+rpi1 is to be installed
                Depends: libatk-bridge2.0-dev (>= 2.15.1) but it is not going to be installed
                Depends: libatk1.0-dev (>= 2.35.1) but it is not going to be installed
                Depends: libcairo2-dev (>= 1.14.0) but it is not going to be installed
                Depends: libpango1.0-dev (>= 1.44.0) but it is not going to be installed
                Depends: libwayland-dev (>= 1.9.91) but it is not going to be installed
                Depends: libgtk-3-0 (= 3.24.38-2~deb12u1) but 1:3.24.38-2~deb12u2+rpt7+rpi1 is to be installed
E: Unable to correct problems, you have held broken packages.
Error installing required libraries
.....................................................

I need help in resolving this error. I have changed the pi and also the daqhats. That does not make a difference.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
25 minutes ago, Fausto said:

Hello @rajeev.

Which version of the RPi OS is running on your RPi 4B?

Did you install the latest version of the MCC DAQ HAT Library v1.5.0.0 and run all the installation steps including upgrading all installation packages on the system?

Regards,

Fausto

Hi @Fausto,

Thanks for your response. Yes, I'.m using the last good version:
1.5.0.0:
    - Added support for Raspberry Pi 5 by switching to libgpiod for the GPIO functions.
    - No longer install the Python library during install, allowing the user to install in 
      a venv if desired
    - Control panel apps were ported to C to remove dependency on system-wide Python library

And the OS details are as below:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

 

I can see a thread on raspberry pi forum that talks about problem with libgtk-3-dev. I intend to try that solution shortly. Let me know if that route is part of the existing knowledge-base or I'm supposed to do something more based on your experience. 

https://forums.raspberrypi.com/viewtopic.php?t=201616

I already did things like...following the steps at https://github.com/mccdaq/daqhats

sudo apt update

Optional: Update your installation packages and reboot:

sudo apt full-upgrade sudo reboot

Regards,

Rajeev

 

Link to comment
Share on other sites

  • 0
46 minutes ago, rajeev said:

Hi @Fausto,

Thanks for your response. Yes, I'.m using the last good version:
1.5.0.0:
    - Added support for Raspberry Pi 5 by switching to libgpiod for the GPIO functions.
    - No longer install the Python library during install, allowing the user to install in 
      a venv if desired
    - Control panel apps were ported to C to remove dependency on system-wide Python library

And the OS details are as below:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

 

I can see a thread on raspberry pi forum that talks about problem with libgtk-3-dev. I intend to try that solution shortly. Let me know if that route is part of the existing knowledge-base or I'm supposed to do something more based on your experience. 

https://forums.raspberrypi.com/viewtopic.php?t=201616

I already did things like...following the steps at https://github.com/mccdaq/daqhats

sudo apt update

Optional: Update your installation packages and reboot:

sudo apt full-upgrade sudo reboot

Regards,

Rajeev

 

Here is the solution that worked:

sudo apt-get update && sudo apt-get dist-upgrade -y
sudo apt-get install devscripts debhelper cmake libldap2-dev libgtkmm-3.0-dev libarchive-dev libcurl4-openssl-dev intltool

 

I'm able to run the MCC DAQ HAT MANAGER, cheers!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...