LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-11-2006, 11:01 PM   #1
Muraii
Member
 
Registered: May 2006
Posts: 51

Rep: Reputation: 15
Runtime Error Installing Ruby 1.8.5


Hi there,

I'm trying to get amaroK installed on my minimalist Slackware 10.2 machine. I know: "minimalist" and "amaroK" might not be intuitively concurrent. Still, I thought I'd give it a whirl.

Of the three mandatory dependencies, I have two successfully installed: kdelibs (required installing qt) and taglib. Ruby, though, is giving me fits during installation.

Here's the error that kills things:

Code:
/home/muraii/temp/ruby-1.8.5-p2/lib/fileutils.rb:1239:in `copy': unknown file type: ./.ext/. (RuntimeError)
I've googled the hell out of it, but can only seem to find one person who's publicized having the problem and who fixed it. That person made readline and then copied a resultant readline.bundle file into the Ruby install directory. I suppose the installing architecture is a bit different on OS X, that person's machine, from Linux, as I only manage to make a readline.so file (or that's the only one that looks important), which I copied to /usr/local/lib/ alongside the ruby executable in /usr/local/bin. Nothing.

Ruby [I]installed into /usr/local/bin/, and responds to
Code:
$ ruby -v
but when I type only
Code:
$ ruby
, it hangs. I don't imagine it's properly installed.

I've already got some readline libraries installed, so I'm not sure what this one has to do with anything. I know I could likely just grab a package from linuxpackages, but I'd prefer to go manual here.

Anyone have any experience or thoughts?

Thanks,

Daniel
 
Old 01-11-2007, 11:59 PM   #2
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 30
can you post the code around

/home/muraii/temp/ruby-1.8.5-p2/lib/fileutils.rb:1239
 
Old 01-16-2007, 07:19 PM   #3
Muraii
Member
 
Registered: May 2006
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dombrowsky
can you post the code around

/home/muraii/temp/ruby-1.8.5-p2/lib/fileutils.rb:1239
Code:
def copy(dest)
   case
    .
    .
    .
   else
     raise "unknown file type: #{path()}"
   end
I tried parsing that intuitively, as I'm not a ruby hacker in the least, and I can understand the general jist of what it's doing; but I couldn't really do much with it.

For what it's worth, (a) it seems that I've got amaroK working as far as I can tell; and (b) I don't seem to have much need for it, as I have yet to actually use amaroK at all. I think it was one of those "wow, that's a cool app, I think I need it" moments that prompted me to make it harder to install things. That's partially I left Ubuntu and came to Slackware.

Last edited by Muraii; 01-16-2007 at 07:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby and Tk require error stash1071 Programming 6 06-23-2006 04:46 PM
Ruby Syntax Error StarLion Programming 1 12-10-2005 09:14 AM
Installing Ruby on RHEL 4 64bit Neruocomp Linux - Software 0 11-30-2005 03:18 PM
C++ Runtime Error, Need Some Help Please. InvisibleSniper Programming 3 10-10-2005 09:26 PM
installing java runtime davidlewis123 Linux - Software 4 04-14-2004 11:15 PM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration