elliottwilliams / mumbletune

A Mumble VOIP bot that plays Spotify.
MIT License
21 stars 7 forks source link

Errors #12

Open lskitto opened 9 years ago

lskitto commented 9 years ago

Hi I've installed via "gem install mumbletune" but got this error: ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: mumbletune requires ffi (~> 1.3.0); hallon requires ffi (~> 1.8); spotify requires ffi (>= 1.0.11, ~> 1.0); opus-ruby requires ffi (>= 0)

elliottwilliams commented 9 years ago

Hm, it looks like a dependency error where different gems within mumbletune are requesting different versions of FFI. I can't get a chance to look in depth at this until the weekend, but for reference, on my mumbletune server I'm using FFI v1.8.1.

Are you sure you're trying the most recent version of the mumbletune gem?

You could also try git cloning this repository and building manually with bundle install. If this works, let me know.

Hope this helps!

lskitto commented 9 years ago

Ok.. lets start on a fresh install of Tails in VirtualBox (Macs don't support apt-get)

1) sudo apt-get update && sudo apt-get install build-essential git ruby1.9.3 1) = Success (Fails without first preforming sudo apt-get update) 2) sudo apt-get install libcelt-dev libsamplerate0-dev 2) = Failed (Unable to locate package libcelt-dev)

mkBlaze commented 9 years ago

Here you go, http://packages.ubuntu.com/lucid/amd64/libcelt0-0/download

In there it tells you the line to add to your apt sources. Add it and run apt-get update again.

lskitto commented 9 years ago

Thanks, that worked.. BUT! 1) I get errors about not enough space on this device (How? My Virtual Hard Drive is 40GB) 2) gem install bundler / sudo gem install bundler gives me permission denied and 404 like errors respectively Terminal Screenshot

lskitto commented 9 years ago

I've started Ubuntu 14.10 (Desktop Version) in VirtualBox and it all worked correctly!! gem install bundler still gave a permission denied so I had to sudo it (I suspect the 404 like error when I sudo'd it was because Tails was running through Tor as opposed to Ubuntu not) But! When I execute 'bundle install' then this happens bundle install error

lskitto commented 9 years ago

Got a slightly different error when I ran Ubuntu from it's Virtual Hard Drive as opposed to the Live CD slightly different error And here's what happens when I attempt the command it suggests error suggested command

lskitto commented 9 years ago

After some googling of the "cannot find header files" error I've found out that I ALSO need to do 'sudo apt-get install ruby-dev' Might be worth updating the installation page to include the package 'ruby-dev' and using sudo for all gem installs and 'bundle install' which asked me for the root password :)

lskitto commented 9 years ago

One last error... luke@virtual-box-ub69:~/mumbletune$ mumbletune: command not found

mkBlaze commented 9 years ago

cd into the bin file and run the mumbletune.rb file in there. For example ~/mumbletune/bin ./mumbletune.rb -c config.yaml