LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Amarok 1.4.10 and Ruby 1.8 (https://www.linuxquestions.org/questions/slackware-14/amarok-1-4-10-and-ruby-1-8-a-871577/)

Woodsman 03-28-2011 07:23 PM

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/

alekow 03-29-2011 06:52 AM

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

Woodsman 03-29-2011 04:14 PM

Solved. Refer to http://www.linuxquestions.org/questi...ml#post4307786.

sahko 03-29-2011 05:01 PM

What happened to the "now im ready to adopt KDE4" plan?

Woodsman 03-29-2011 05:48 PM

Quote:

What happened to the "now im ready to adopt KDE4" plan?
Where did I write that?

mRgOBLIN 03-29-2011 07:02 PM

Likely referring to this:
http://www.linuxquestions.org/questi...5/#post4275800

Woodsman 03-29-2011 08:04 PM

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. ;)

sahko 03-30-2011 03:59 AM

Quote:

Originally Posted by Woodsman (Post 4308033)
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 :)


All times are GMT -5. The time now is 03:42 PM.