issue is upstream, however the following diff allows this to build fine
--- PKGBUILD 2017-08-05 21:12:00.990439872 +1000
+++ PKGBUILD2 2017-08-05 21:12:50.050440504 +1000
@@ -13,7 +13,6 @@
build() {
cd $pkgname-$pkgver
- sed -i 's;/usr/local;/usr;g' Makefile.am
./autogen.sh
./configure --prefix=/usr
make
Search Criteria
Package Details: cava 0.10.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/cava.git (read-only, click to copy) |
---|---|
Package Base: | cava |
Description: | Console-based Audio Visualizer for Alsa |
Upstream URL: | https://github.com/karlstav/cava |
Licenses: | MIT |
Submitter: | CelestialWalrus |
Maintainer: | funilrys |
Last Packager: | funilrys |
Votes: | 158 |
Popularity: | 3.14 |
First Submitted: | 2015-05-05 22:15 (UTC) |
Last Updated: | 2024-02-08 18:50 (UTC) |
Dependencies (13)
- alsa-lib
- fftw (fftw-amdAUR)
- iniparser (iniparser-gitAUR)
- ncurses (ncurses-gitAUR)
- portaudio
- sndio (sndio-gitAUR)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- m4 (m4-gitAUR) (make)
- portaudio (make)
- sndio (sndio-gitAUR) (make)
- pulseaudio (pulseaudio-dummyAUR, pulseaudio-gitAUR, pipewire-full-pulse-gitAUR, pipewire-pulse-gitAUR, pipewire-pulse) (optional)
Required by (8)
- cavalcade-git
- cavalier
- cavalier-git
- cavasik
- cavasik-git
- cava_cmmk-git
- fmui-git (optional)
- tori-bin (optional)
Sources (1)
ibrokemypie commented on 2017-08-05 11:16 (UTC)
ibrokemypie commented on 2017-07-29 09:19 (UTC)
mv -f .deps/cava-cava.Tpo .deps/cava-cava.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -L/usr/local/lib -Wl,-rpath /usr/local/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -o cava cava-cava.o -liniparser -liniparser -lpthread -lasound -lpulse-simple -lpulse -lm -lfftw3 -lncursesw
libtool: link: gcc -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-rpath /usr/local/lib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o cava cava-cava.o -L/usr/local/lib -liniparser -lpthread -lasound -lpulse-simple -lpulse -lm -lfftw3 -lncursesw
gcc: error: /usr/local/lib: No such file or directory
make[1]: *** [Makefile:492: cava] Error 1
make[1]: Leaving directory '/tmp/makepkg/cava/src/cava-0.4.3'
make: *** [Makefile:577: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build cava package(s)
funilrys commented on 2017-02-10 07:28 (UTC)
@marcin thanks + fixed
marcin commented on 2017-02-05 04:21 (UTC) (edited on 2017-02-05 04:36 (UTC) by marcin)
Before installing, install this
sudo pacman -S iniparser
Without this, the following errors occur
/usr/bin/cava: line 202: cd: /tmp/yaourt-tmp-mwo/aur-cava/src/cava-0.4.2: No such file or directory
gcc: error: cava-cava.o: No such file or directory
gcc: error: /tmp/yaourt-tmp-mwo/aur-cava/src/cava-0.4.2/iniparser/.libs/libiniparser.so: No such file or directory
Also its worth installing pulseaudio as cava works with it by default. With only alsa, there is some teawking to do.
Brottweiler commented on 2017-01-04 14:44 (UTC)
==> WARNING: Package contains reference to $srcdir
apolih commented on 2016-11-29 18:03 (UTC)
cava is not working for me after install:
$ cava
mkdir: cannot create directory ‘/usr/bin/.libs’: Permission denied
/usr/bin/ld: cannot open output file /usr/bin/.libs/10890-lt-cava: No such file or directory
collect2: error: ld returned 1 exit status
Perhaps related to this warning during the build?
$ makepkg
...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> WARNING: Package contains reference to $srcdir
==> Creating package "cava"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cava 0.4.2-1 (Tue Nov 29 11:58:22 CST 2016)
hillz commented on 2016-11-17 12:20 (UTC) (edited on 2016-11-17 12:24 (UTC) by hillz)
For those having problem where the visualizer doesn't start after you play a song, change autosens to 0 and sensitivity to 10, don't forget to uncomment those options
<deleted-account> commented on 2015-11-29 04:47 (UTC)
updated pkgbuild, https://gist.github.com/shaggytwodope/73dbe7a98fb860d2af77
tho can prolly do without --prefix bit... but yeah lazy.
addisonamiri commented on 2015-11-19 19:32 (UTC)
Awesome! Build works perfectly.
Pinned Comments
funilrys commented on 2021-02-06 01:01 (UTC)
Hello, World! :-)
This AUR package is now managed on GitHub. Feel free to submit your package/installation issues as long as PR in the GitHub repository.
From now on, every change made inside the GitHub repository will be automatically synchronized here.
As of now, every 15th of the month around 12:45 (UTC); this package would be updated automatically - if a new version is available.
Stay safe and healthy.
Links: