Issue with Installing Spot on Linux Machine in Google Colab
Hi! I am trying to install Spot on a Linux machine hosted by Google Colab, following the guidelines provided on the Spot website under the "Installing the Debian packages" section.
Machine Details:
> uname -a
Linux 575938318cea 5.15.120+ #1 SMP Wed Aug 30 11:19:59 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Installation Command:
> !wget -q -O - https://www.lrde.epita.fr/repo/debian.gpg | apt-key add -
> !echo 'deb http://www.lrde.epita.fr/repo/debian/ stable/' >> /etc/apt/sources.list
> !apt-get update
> !apt-get install spot libspot-dev spot-doc python3-spot
Problem Description: The installation process encountered an issue, and I received the following output:
...
...
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:
python3-spot : Depends: python3 (< 3.10) but 3.10.6-1~22.04 is to be installed
E: Unable to correct problems, you have held broken packages.
It seems that there is a dependency issue with the python3-spot package, which requires a version of Python less than 3.10, but my system has Python 3.10.12 installed.
I am unable to proceed with the installation due to this dependency problem. To address this, I also tried building from the source. It used to work before, but autoreconf
on the latest code fails with following error.
> autoreconf -vfi
configure.ac:169: error: unknown libltdl build type: _LTDL_TYPE
/usr/share/aclocal/ltdl.m4:226: LTDL_INIT is expanded from...
configure.ac:169: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
Would you have any example or suggestion on how to build spot library on Google Colab?
Thank you!