Notices


Reply
Thread Tools
Posts: 15 | Thanked: 3 times | Joined on Jan 2010
#451
I know that the instructions are for debian based linux but has anyone got the server running on PCLinuxOS?
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#452
I am running it on gentoo - it doesn't depend on anything distro specific as far as I can see.
 

The Following User Says Thank You to paulkoan For This Useful Post:
Posts: 15 | Thanked: 3 times | Joined on Jan 2010
#453
I was trying to follow the wiki on installing it and there were a few packages it apparently needs (aswell vlc and the usual codecs).

"apt-get install ruby1.8 ruby rubygems libsqlite3-ruby libopenssl-ruby vlc ffmpeg"

I have ffmpeg, vlc, and ruby installed

But there are no libsqlite3-ruby or libopenssl-ruby packages in the repos.

When I try and run the server I get an error about something to do with sqlite3 (I am at work so can't post it at the moment)

Would love to get this up and running.

I use PS3mediaserver normally which I can browse with the built in file manager and media player but when trying to play videos I only have sound. This is a known bug and will hopefully be fixed in an update but Knots 2 looks better for my N900 anyway.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#454
I don't know PCLinuxOS, but openssl package could be bundled with ruby so you may not need it. Sqlite3 could be just named differently, try searching for sqlite3 and try to find something like ruby-sqlite3 or sqlite3-ruby. If you can find the correct packages, could you update the wiki and add install instructions?
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 35 | Thanked: 2 times | Joined on Dec 2009 @ sweden
#455
when i type./knots.rb i get this:
/usr/bin/env: ruby: File or map does not exist
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#456
Originally Posted by salle74 View Post
when i type./knots.rb i get this:
/usr/bin/env: ruby: File or map does not exist
What operating system? If it's Windows, start it with
Code:
ruby\bin\ruby knots.rb
If not, you need to install ruby and the rest of the dependencies.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 15 | Thanked: 3 times | Joined on Jan 2010
#457
Originally Posted by ukki View Post
I don't know PCLinuxOS, but openssl package could be bundled with ruby so you may not need it. Sqlite3 could be just named differently, try searching for sqlite3 and try to find something like ruby-sqlite3 or sqlite3-ruby. If you can find the correct packages, could you update the wiki and add install instructions?
Not a problem, I will have a play and see what I can find
 
Posts: 35 | Thanked: 2 times | Joined on Dec 2009 @ sweden
#458
Originally Posted by ukki View Post
What operating system? If it's Windows, start it with
Code:
ruby\bin\ruby knots.rb
If not, you need to install ruby and the rest of the dependencies.

I have installed all of the things from beginning to end. OS Ubuntu 9.10
 
Posts: 15 | Thanked: 3 times | Joined on Jan 2010
#459
This is the output I get when trying to start the server:

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- sqlite3 (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./lib/db.rb:3
from ./knots.rb:70:in `require'
from ./knots.rb:70:in `load_libs'
from ./knots.rb:12:in `initialize'
from ./knots.rb:369:in `new'
from ./knots.rb:369
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#460
Originally Posted by salle74 View Post
I have installed all of the things from beginning to end. OS Ubuntu 9.10
Ok, be sure to
Code:
apt-get install ruby
if you have ruby1.8 installed or start it with
Code:
ruby1.8 knots.rb
.
 

The Following User Says Thank You to ukki For This Useful Post:
Reply

Tags
knots, music, streaming, video

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:00.