ola
ola copied to clipboard
Can't install on Ubuntu 20.04
I'm getting the following error when trying to install
rshea0@studio:~$ sudo apt-get install ola
Reading package lists... Done
Building dependency tree
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:
ola : Depends: libmicrohttpd5 but it is not installable
Depends: libprotobuf7 but it is not installable
E: Unable to correct problems, you have held broken packages.
When I try to install libmicrohttpd5
I get the following error:
rshea0@studio:~$ sudo apt-get install libmicrohttpd5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmicrohttpd5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libmicrohttpd5' has no installation candidate
I've tried installing the latest version of libmicrohttpd
but it still doesn't work.
It seems all the installation instructions are very out of date.
I've also tried building from source instead, but I'm met with the following error when I get to the make step:
rshea0@studio:~/ola$ make
make: *** No targets specified and no makefile found. Stop.
The autoreconf
and ./configure
steps seemed to run fine though.
Hi @rshea0 ,
Unfortunately we were missed from 20.04 due to various issues, so you can't just apt install on there. I'm guessing apt-cache policy ola
lists our own ancient APT repo?
It seems all the installation instructions are very out of date.
Yes unfortunately keeping instructions up to date can be a near continuous job on it's own.
You don't mention which (of the unfortunately many) guides you're following.
I've also tried building from source instead, but I'm met with the following error when I get to the make step:
rshea0@studio:~/ola$ make make: *** No targets specified and no makefile found. Stop.
The
autoreconf
and./configure
steps seemed to run fine though.
That should work, did you try with autoreconf -i
? Can you share the output of the autoreconf
and ./configure
steps please.
There are some draft updated docs here you could try following: https://github.com/OpenLightingProject/website/blob/f68f1b08d5046f34a0cf0ffc14db51c5d5a3f925/download_and_install/compiling_from_source.md
If you find any issues with them, please leave a comment/suggestion in https://github.com/OpenLightingProject/website/pull/14 .