ruby 1.9 compilation - question

T

Tom Cloyd

Tom said:
I'm following the instructions at -
http://amerj.info/2009/03/19/howto-install-rails-23-and-ruby-19-on-ubuntu-for-mysql-and-sqlite3/


I don't know if I'm having a critical problem or not. Here's the
abbreviated CLI output:

...ruby-1.9.1-p243$ ./configure --prefix=/usr/local
--with-openssl-dir=/usr --with-readline-dir=/usr
--with-zlib-dir=/usr

configure: WARNING: unrecognized options: --with-openssl-dir,
--with-readline-dir, --with-zlib-dir
.
.
.
creating config.h
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --with-openssl-dir,
--with-readline-dir, --with-zlib-dir
tomc@tomc-desktop:~/software_archive/ruby-1.9.1/ruby-1.9.1-p243$

I look at "info configure", but what I got with that didn't look
helpful (not to me, anyway).

Can someone advise me as to what this means, and what I need to do
different, if anything?

Thanks very much,

t.
$ ruby19 -ropenssl -rzlib -rreadline -e "puts 'Happy new Ruby'"
Happy new Ruby

This looks rather confirming. Does it means my install is A-OK?

t.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< (e-mail address removed) >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
T

Tom Cloyd

<< PLEASE DISREGARD the request for help below. >>

This 1.9 install royally messed up by 1.8.7 install, among other things.
I've abandoned it completely. Don't have time for this nonsense.
Ah...but getting 1.8.7 working again was a nightmare in itself. Ruby 1.9
just won't disappear. Arrrrgh! Sad.

Back to normal now, though. Sigh.

t.

Tom said:
$ ruby19 -ropenssl -rzlib -rreadline -e "puts 'Happy new Ruby'"
Happy new Ruby

This looks rather confirming. Does it means my install is A-OK?

t.


--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< (e-mail address removed) >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
M

Marc Heiler

This 1.9 install royally messed up by 1.8.7 install, among other things.
I've abandoned it completely. Don't have time for this nonsense.

One strategy - out of possibly many - is to use versioned directories,
similar to how GoboLinux http://gobolinux.org/ does it. Then installs
like the one you mentioned have no chance to "mess" up anything at all.
Ah...but getting 1.8.7 working again was a nightmare in itself. Ruby 1.9
just won't disappear. Arrrrgh! Sad.

If you stick to solutions like the FHS, then the one to blame is not
ruby,
but FHS - or you, in this case. People who are not afraid to compile
from
source should not complain too loudly if their solution is crappy. ;)

On Gobolinux (or more generally AppDir strategy) all one does would be

rm -rf /Programs/Ruby/1.9.1

and gone it is (ok, on Gobolinux you need to remove the symlinks, but
this can be tied to an event-listener, so the above is still valid).

Most other strategies (such as using a package manager)
are less elegant than the above ideal of versioned "app dirs".
(But I do admit that there might be a few other problems, with the
biggest one possibly that not many people will use this setup, because
the FHS is ubiquitous and won't disappear. Personally however, I use it
since 5 years at least for ruby, and it works nicely.)
 
T

Tom Cloyd

Marc said:
One strategy - out of possibly many - is to use versioned directories,
similar to how GoboLinux http://gobolinux.org/ does it. Then installs
like the one you mentioned have no chance to "mess" up anything at all.
Yeah. Have looked a bit at this, before. Makes so much sense. I now
(today) moving toward getting a test install up and running. Life should
be easy(er). This traditional nix file system is simple insane. Why
don't people fix the problem? (Well, obvious some of them have...)I basically blew the whole day yesterday, working on this problem, only
to end up back where I started.
If you stick to solutions like the FHS, then the one to blame is not
ruby,
but FHS - or you, in this case. People who are not afraid to compile
from
source should not complain too loudly if their solution is crappy. ;)
Ouch. (long silence...)
On Gobolinux (or more generally AppDir strategy) all one does would be

rm -rf /Programs/Ruby/1.9.1

and gone it is (ok, on Gobolinux you need to remove the symlinks, but
this can be tied to an event-listener, so the above is still valid).
"event-listener" - please explain, if you have time. I roughly
understand the concept, but could you name one which might be used, say
on gobolinux?
Most other strategies (such as using a package manager)
are less elegant than the above ideal of versioned "app dirs".
(But I do admit that there might be a few other problems, with the
biggest one possibly that not many people will use this setup, because
the FHS is ubiquitous and won't disappear. Personally however, I use it
since 5 years at least for ruby, and it works nicely.)
"It" being gobolinux?

Thanks for your thoughts!

Tom



--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< (e-mail address removed) >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top