LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2011, 07:23 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Amarok 1.4.10 and Ruby 1.8


I am not a Ruby programmer. I would not know where to start.

Yet I want to install Ruby 1.8.x in Slackware 13.1 to build Amarok 1.4.10.

I looked at the 1.8 package from 12.2 and the 1.9 package from 13.1. Different file trees and the /usr/bin files are named the same.

I've seen a few web pages that address concurrent version installations.

I can build a 1.8 package in 13.1, but then what should I do?

Uninstall 1.9, build Amarok, and reinstall 1.9? I don't know whether that would break Amarok 1.4.10 during run-time. Maybe, maybe not.

Just leave 1.8 installed since I don't do any Ruby programming?

Figure out how to modify the Amarok configure files to find ruby 1.9 header files?

I have tried some different sym links hoping to fool the Amarok configure. They all fail to help. I don't know exactly on what the Amarok configure file is looking for. My sym links ensure the configure file finds the ruby.h header file. There must be something else not right.

I think my preferred approach is to build a Ruby 1.8 package for 13.1 that will not conflict with 1.9 that the Amarok configure will find.

I have all the required dependency packages built and installed in 13.1. Just need to build Amarok.

Thanks much.

P.S. This is a technical question, not a question about which music player I should try.

P.P.S.: Yes, I've seen these threads :

http://www.linuxquestions.org/questi...figure-818128/
http://www.linuxquestions.org/questi...-3-4-a-791152/
 
Old 03-29-2011, 06:52 AM   #2
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 230

Rep: Reputation: 75
I guess there's no reason for downgrading. There were some changes in ruby between 1.8 and 1.9. Amarok needs to be patched. Take a look at 'kde3 for 13.1' thread. Patches should already be there ;-)

http://www.linuxquestions.org/questi...ml#post4307303

EDIT:

Wait a minute... I might have forgot about something... I have to refresh my memory...

Got it!
There is one thing I forgot to mention: you have to create a link in /usr/lib/ruby/1.9.1/i486-linux/ which points to /usr/include/ruby-1.9.1/ruby.h

Last edited by alekow; 03-29-2011 at 01:22 PM.
 
Old 03-29-2011, 04:14 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Solved. Refer to http://www.linuxquestions.org/questi...ml#post4307786.
 
Old 03-29-2011, 05:01 PM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
What happened to the "now im ready to adopt KDE4" plan?
 
Old 03-29-2011, 05:48 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
What happened to the "now im ready to adopt KDE4" plan?
Where did I write that?
 
Old 03-29-2011, 07:02 PM   #6
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Likely referring to this:
http://www.linuxquestions.org/questi...5/#post4275800
 
Old 03-29-2011, 08:04 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Ah. Well, a "serious run" is not adopting. I have been trying too.

Not that I refuse to migrate. I'll keep tinkering. Perhaps when the obnoxious tooltips disappear I might grow warmer toward KDE4. Or perhaps after the KDE developers stop presuming everybody has 3D capable hardware. Knowing I can keep KDE3/Trinity running for a few more years brings me comfort should I decide otherwise.

There is something rewarding when people pronounce something dead and obsolete yet other people continue finding ways to keep those items useful. Some people have told me my pick-up truck is obsolete. Still running well after 22 years.

I'm in no hurry to change just for the sake of change.
 
1 members found this post helpful.
Old 03-30-2011, 03:59 AM   #8
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by Woodsman View Post
There is something rewarding when people pronounce something dead and obsolete yet other people continue finding ways to keep those items useful. Some people have told me my pick-up truck is obsolete. Still running well after 22 years.

I'm in no hurry to change just for the sake of change.
Definitely
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any issues installing Ruby Gems and Ruby on Rails in Slackware? Lufbery Slackware 8 02-09-2011 07:22 PM
Ruby SDL/ Ruby OpenGL tutorials/reference? LinuxNoob75 Programming 0 12-30-2007 12:47 PM
[Ruby] Tar'ing or Zip'ing with ruby script lmcilwain Programming 2 01-19-2007 06:56 PM
amarok + ruby + lyrics koodoo Linux - Software 0 04-14-2006 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration