# Ruby 1.9 compilation - question

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664>\
**Category:** Ruby\
**Created:** [August 31, 2009, 8:53am UTC](https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664 "2009-08-31T08:53:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [August 31, 2009, 8:53am UTC](https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664/1 "2009-08-31T08:53:39Z")

</div>

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/](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.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [August 31, 2009, 1:03pm UTC](https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664/2 "2009-08-31T13:03:08Z")

</div>

\<\< 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 C. wrote:

> > –with-zlib-dir=/usr  
> > –with-readline-dir, --with-zlib-dir  
> > 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.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [August 31, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664/3 "2009-08-31T15:39:12Z")

</div>

> 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/](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.)

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [August 31, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664/4 "2009-08-31T20:33:56Z")

</div>

Marc H. 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/](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

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [August 31, 2009, 10:01am UTC](https://www.ruby-forum.com/t/ruby-1-9-compilation-question/174664/5 "2009-08-31T10:01:35Z")

</div>

Tom C. wrote:

> tomc@tomc-desktop:~/software\_archive/ruby-1.9.1/ruby-1.9.1-p243$

$ 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.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```
