ruby 1.9 compilation - question

by Tom Cloydon 2009-08-31T06:54:30+00:00
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.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
> (email)
> (website)
> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: ruby 1.9 compilation - question

by Tom Cloydon 2009-08-31T08:01:30+00:00.
Tom Cloyd wrote:
> 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
> (email)
> (website)
> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: ruby 1.9 compilation - question

by Tom Cloydon 2009-08-31T11:03:01+00:00.
>
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 Cloyd wrote:
> Tom Cloyd wrote:
>> 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
> (email)
> (website)
> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: ruby 1.9 compilation - question

by Marc Heileron 2009-08-31T13:45:21+00:00.
> 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.)
--
Posted via http://www.ruby-forum.com/.

Re: ruby 1.9 compilation - question

by Tom Cloydon 2009-08-31T18:33:55+00:00.
Marc Heiler wrote:
>> 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.
>
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...)
>
>> Ah...but getting 1.8.7 working again was a nightmare in itself. Ruby 1.9
>> just won't disappear. Arrrrgh! Sad.
>>
>
>
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
> (email)
> (website)
> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~