antiprism / mpd_oled

MPD, Volumio, RuneAudio and Moode OLED status and spectrum display for Raspberry Pi (and similar)
Other
168 stars 45 forks source link

Cannot build Cava #30

Closed antiprism closed 4 years ago

antiprism commented 4 years ago

Cava used to bundle a copy of the iniparser library, which was used when following the build instructions provided with mpd_oled.

This library is no longer bundled with Cava, and the mpd_oled instructions to build Cava will fail unless the iniparser library is installed. This was reported through https://github.com/antiprism/mpd_oled/pull/28

For now, the OS instructions are as follows

MOODE (DEBIAN BUSTER)

sudo apt-get update
sudo apt-get install libfftw3-dev libasound2-dev libiniparser-dev
git clone https://github.com/karlstav/cava
cd cava
./autogen.sh
CPPFLAGS=-I/usr/include/iniparser ./configure
make
sudo make install

VOLUMIO (DEBIAN VERSION BEFORE BUSTER)

sudo apt-get update
sudo apt-get install git-core autoconf make libtool libfftw3-dev libasound2-dev
git clone https://github.com/karlstav/cava
cd cava
git checkout -b pre_iniparser_removal 3cc2f9f
./autogen.sh
./configure
make
sudo make install

RUNEAUDIO I cannot test, but try the following to install the current version of Cava. Install the iniparser library package: pacman -Sy iniparser When configuring the Cava build, If the usual plain './configure' fails then try: CPPFLAGS=-I/usr/include/iniparser ./configure

Alternatively, install an older version of Cava

cd ~
git clone https://github.com/karlstav/cava
cd cava
git checkout -b pre_iniparser_removal 3cc2f9f
./autogen.sh
CC=clang ./configure
make
make install

Adrian.

antiprism commented 4 years ago

The bundled iniparser library has been added back into Cava, and so special install instructions are no longer needed.