-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No iniparser in debian #231
Comments
hi @SHGuy1 , can you post the output of If iniparser is not installed it is supposed to use a bundled version of iniparser. The config script should handle this, but maybe something has gone wrong. |
closing due to inactivity |
Same here... And
|
http://raspbian.raspberrypi.org/raspbian/pool/main/i/iniparser/ talks about libiniparser |
hi @arthurlutz , I recently removed the bundled version of iniparser, because i thought that it was available in the repos of all the major distros. But it seems that for debian it is only available from buster (10) and ubuntu from 18.04. So you must either upgrade your distro or build it from source: |
Hi Karl I am using MoodeAudio OS, which is based on Debian buster. Regarding the Cava install instructions, there is no package called 'iniparser', the package is called 'libiniparser-dev' [Edit: correct link] : https://packages.debian.org/search?searchon=names&keywords=iniparser Also, the libiniparser-dev package installs the iniparser header at '/usr/include/iniparser/iniparser.h', i.e. in an iniparser directory, and so the Cava configure script does not find it. I was able to build Cava by configuring with
Looking at the iniparser repository, it doesn't include an install option, and so I imagine that some people would find it difficult to build Cava against it without some extra instructions. This might also mean it is likeley to be installed differently when included in different OSs, in which case keeping the the iniparser library bundled with Cava might be a good idea. Adrian. |
Thanks @antiprism this solved it for me! Did a PR to update the docs. |
thanks @antiprism and @arthurlutz seems I was a bit trigger happy when wanting to get rid of the bundled iniparser. I will to some more testing on a debian/ubuntu environment as soon as I can get my hands on one. |
I am reviewing instructions to install Cava on Volumio OS, which is based on Debian jessie and doesn't have an iniparser package. Are you likely to restore the bundled iniparser? For now I have just provided instructions to build Cava at the last commit before the parser was removed |
Debian stretch LTS extends until June 2022 so I will keep the bundled version until then. |
Great, thanks! Builds and runs on Volumio (Debian jessie) and Moode (Debian buster, with libiniparser-dev installed, but library not detected by a plain ./configure). However, there seems to have been some change to Cava since 24 November 2019, as In both cases I am only seeing a peak in the low frequencies, while switching back to the version of a month ago there is a normal spectrum. I'll see if I can track down where the change occured. |
Thanks for the suggestions, it turned out to be the EQ commit. There appears to be an issue with the initialialistion of the default equalizer values. [Edit:] I am building on a Raspberry Pi, on a OS based on Raspbian. Here is my config file that shows only a bass peak
But if I add the following section then I get a normal spectrum
Also, I got a warning when installing Cava for having two versions of libiniparser installed. You could avoid installing the version bundled with Cava by building it as a libtool convenience library https://www.gnu.org/software/automake/manual/html_node/Libtool-Convenience-Libraries.html |
In config.c [Edit:] I guess, to avoid the issue in the future, this could be |
thanks, can't believe I missed that! |
but the bundled version should only be used when there is no system wide installation, or is this related to the inipraser library not detected by a plain ./configure in Buster? However the libtool convenience library sounds like the way to go with the bundled version, then we will probably also get rid of this annoying thing:
|
Yes, I ran a plain ./configure on buster, and this then led to two versions of the iniparser shared library being installed. |
@antiprism can you test the last commit? |
Looks good. Builds and runs fine on buster. The "Libraries have been installed in:..." message is gone. |
compiling cava with make gives the following error:
The text was updated successfully, but these errors were encountered: