Coder Social home page Coder Social logo

Question Regarding Installation about cava HOT 12 CLOSED

karlstav avatar karlstav commented on August 17, 2024
Question Regarding Installation

from cava.

Comments (12)

karlstav avatar karlstav commented on August 17, 2024 1

after installing all requirements:

sudo apt-get install libfftw3-dev libasound2-dev libncursesw5-dev libpulse-dev

cd in to cava folder and run these commands:

./autogen.sh
./configure
make

you should now be able to run cava with

./cava

if not, look for any error messages when running the three commands above.

If it works you can now install cava to your system:

sudo make install

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

Thanks! I'll give it a shot!

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

So when I attempt to ./autogen.sh I get the following errors:

root@tyler-Aspire-one:/home/tyler/Desktop/karlstav-cava-d654130# ./autogen.sh
./autogen.sh: 2: ./autogen.sh: libtoolize: not found
./autogen.sh: 3: ./autogen.sh: aclocal: not found
./autogen.sh: 4: ./autogen.sh: autoconf: not found
./autogen.sh: 5: ./autogen.sh: automake: not found

Any idea why?

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

Okay so I believe I ran into those issues because I was missing automake and libtool. I was able to install both following this:

sudo apt-get update
sudo apt-get install libtool

and

sudo apt-get install automake

Now I have an error that is directly from the cava.c code. So I think I was successful in making cava.c, but now I'm not sure why it's throwing this error:

Linux kernel module "snd_aloop" does not seem to be loaded.

Any idea on how to solve this issue?

Edit: Was able to solve the above issue by doing the following:

sudo modprobe snd_aloop

^Run the above after the error is thrown...

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

Also needed:

apt-get install git

I'm getting a bunch of git errors when executing ./autogen.hs. Fatal Head Error.

Edit: So I've made it to the point where I can run ./cava and I get bars to show up. I'm not sure if I'm making it correctly however since I get multiple "git errors" when running ./autogen.hs. I continued on with the install however just to see what other issues I might run into. I can't get any of the bars to move regardless of what input I try (Microphone, microphone input jack, etc.) In the folder titled example_files... should I move/edit that config file to use it (So that I can manipulate the input)? Is there any chance you making a quick video and uploading to youtube the installation process just so I have a visual aid? I'm inexperienced as I mentioned before so I apologize if it seems like I'm struggling with elementary operations. Thanks for all your help so far.

Current Issue: Run ./autogen.hs and I get the following:
fatal: Not a git repository (or any of the parent directories): .git

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

How do you ensure that changes made to the config file in example_files are made? Should you leave config in example_files or move it into the cava folder?

Edit: After running CAVA and wanting to customize some aspects. I alter the config file, but when I recompile the program I run into "error opening stream: Operation not permitted." Is this because my input device hw:0,0 is somehow busy in the background?

from cava.

karlstav avatar karlstav commented on August 17, 2024

I can see that you are struggling a lot here @TheWaveCarver, many of you problems could probably have been solved with a little more linux knowledge and thorougher reading of the manual. But you have stumbled upon one real issue, after I made the config script automake, libtool and git are actually build requirements. I'll add them to the list.

Now for the config file. Cava does not use the one stored under example files. This file is copied to i$XDG_CONFIG_HOME/cava/config or $HOME/.config/cava/config when cava is build. Look in the folder /home/"username"/.config/cava. Cava also looks in the same path when it is launched. So you should build it and run it with the same user.

I can see in one of your post that you might be trying to build cava as root. This shouldn't be necessary. But if you build cava as root your config file would be in /root/.configI think.

"error opening stream: Operation not permitted." Is this because my input device hw:0,0 is somehow busy in the background?

Yes, if you are using alsa only one application can use the device at a time. Your sound settings program might actually be grabbing the microphone

Using pulseaudio is by far the easiest method of capturing audio. Please refer to the manual or the comments in the config file.

fatal: Not a git repository (or any of the parent directories): .git

Download the sourcecode using git:

git clone https://github.com/karlstav/cava/

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

Thank you for taking the time to type this all out as I really really want
to use your program (And learn some Linux why Im at it haha). I believe
that everything you mentioned should cover all of my issues (Especially
with the config file); but if for some reason I have more, should I message
your through email or on the Github Issue Board? The reason I've been
posting on the Issue Board is so that anyone else who has been having
issues can see my own progression.
On Dec 30, 2015 3:03 AM, "karl" [email protected] wrote:

I can see that you are struggling a lot here @TheWaveCarver
https://github.com/TheWaveCarver, many of you problems could probably
have been solved with a little more linux knowledge and thorougher reading
of the manual. But you have stumbled upon one real issue, after I made the
config script automake, libtool and git are actually build requirements.
I'll add them to the list.

Now for the config file. Cava does not use the one stored under example
files. This file is copied to i$XDG_CONFIG_HOME/cava/config or
$HOME/.config/cava/config when cava is build. Look in the folder
/home/"username"/.config/cava. Cava also looks in the same path when it
is launched. So you should build it and run it with the same user.

I can see in one of your post that you might be trying to build cava as
root. This shouldn't be necessary. But if you build cava as root your
config file would be in /root/.configI think.

"error opening stream: Operation not permitted." Is this because my input
device hw:0,0 is somehow busy in the background?

Yes, if you are using alsa only one application can use the device at a
time. Your sound settings program might actually be grabbing the microphone

Using pulseaudio is by far the easiest method of capturing audio. Please
refer to the manual or the comments in the config file.

fatal: Not a git repository (or any of the parent directories): .git

Download the sourcecode using git:

git clone https://github.com/karlstav/cava/


Reply to this email directly or view it on GitHub
#88 (comment).

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

Once you perform:

sudo make install

Is there anyway to launch the program without using the Terminal? For
instance, double clicking an icon and then just modifying the config file
to adjust the characteristics of it? Thanks again.
On Dec 30, 2015 11:33 AM, "Tyler Carrara" [email protected] wrote:

Thank you for taking the time to type this all out as I really really want
to use your program (And learn some Linux why Im at it haha). I believe
that everything you mentioned should cover all of my issues (Especially
with the config file); but if for some reason I have more, should I message
your through email or on the Github Issue Board? The reason I've been
posting on the Issue Board is so that anyone else who has been having
issues can see my own progression.
On Dec 30, 2015 3:03 AM, "karl" [email protected] wrote:

I can see that you are struggling a lot here @TheWaveCarver
https://github.com/TheWaveCarver, many of you problems could probably
have been solved with a little more linux knowledge and thorougher reading
of the manual. But you have stumbled upon one real issue, after I made the
config script automake, libtool and git are actually build requirements.
I'll add them to the list.

Now for the config file. Cava does not use the one stored under example
files. This file is copied to i$XDG_CONFIG_HOME/cava/config or
$HOME/.config/cava/config when cava is build. Look in the folder
/home/"username"/.config/cava. Cava also looks in the same path when it
is launched. So you should build it and run it with the same user.

I can see in one of your post that you might be trying to build cava as
root. This shouldn't be necessary. But if you build cava as root your
config file would be in /root/.configI think.

"error opening stream: Operation not permitted." Is this because my input
device hw:0,0 is somehow busy in the background?

Yes, if you are using alsa only one application can use the device at a
time. Your sound settings program might actually be grabbing the microphone

Using pulseaudio is by far the easiest method of capturing audio. Please
refer to the manual or the comments in the config file.

fatal: Not a git repository (or any of the parent directories): .git

Download the sourcecode using git:

git clone https://github.com/karlstav/cava/


Reply to this email directly or view it on GitHub
#88 (comment).

from cava.

karlstav avatar karlstav commented on August 17, 2024

no problem

I guess the issue section on github should only be used if you are sure that there is something wrong with the program. Now in this case, it turned out that I had forgotten to add those things in the build requirement section. For some of the other questions maybe stackexchange or ubuntu forums could be used. But you could always send me an email also.

Is there anyway to launch the program without using the Terminal? For
instance, double clicking an icon and then just modifying the config file
to adjust the characteristics of it? Thanks again.

I think it's possible to create an icon, but I don't know how. Maybe a good question for something like ubuntu forums.

from cava.

TheWaveCarver avatar TheWaveCarver commented on August 17, 2024

Sounds good. Yes I'll move over to the forums for questions that really
only pertain to more fundamental operations. Just to be clear though...
when you personally use CAVA it is launched from the Terminal everytime?
On Dec 30, 2015 12:03 PM, "karl" [email protected] wrote:

no problem

I guess the issue section on github should only be used if you are sure
that there is something wrong with the program. Now in this case, it turned
out that I had forgotten to add those things in the build requirement
section. For some of the other questions maybe stackexchange or ubuntu
forums could be used. But you could always send me an email also.

Is there anyway to launch the program without using the Terminal? For
instance, double clicking an icon and then just modifying the config file
to adjust the characteristics of it? Thanks again.

I think it's possible to create an icon, but I don't know how. Maybe a
good question for something like ubuntu forums.


Reply to this email directly or view it on GitHub
#88 (comment).

from cava.

karlstav avatar karlstav commented on August 17, 2024

when you personally use CAVA it is launched from the Terminal everytime?

Yes, cava was created to be used in the terminal (or console which is what the c in CAVA stands for). There are not actually any graphics, it's all text. I use cava on a small monitor connected to a raspberry pi which does not even run a window manager.

from cava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.