# Ruby 1.9 build requirements

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-build-requirements/174609>\
**Category:** Ruby\
**Created:** [August 29, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/ruby-1-9-build-requirements/174609 "2009-08-29T18:31:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tirins.play](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/46a35a/32.png) [@tirins.play](https://www.ruby-forum.com/u/tirins.play)\
**Post date:** [August 29, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/ruby-1-9-build-requirements/174609/1 "2009-08-29T18:31:28Z")

</div>

I have just installed Ubuntu 9.04 Server Edition. I followed the  
instructions on the Ubuntu site to build Ruby 1.9  
(p243) from scratch. The build appeared to work, but gem installs  
complain about missing zlib.

I have found a number of sites that list the prerequisite packages,  
but there is some amount of disagreement about what needs to be  
installed prior to making Ruby 1.9. Does anyone have a definitive list  
of prerequisite packages?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![tirins.play](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/46a35a/32.png) [@tirins.play](https://www.ruby-forum.com/u/tirins.play)\
**Post date:** [August 30, 2009, 7:32am UTC](https://www.ruby-forum.com/t/ruby-1-9-build-requirements/174609/2 "2009-08-30T07:32:55Z")

</div>

[http://wiki.rubyonrails.org/getting-started/installation/linux](http://wiki.rubyonrails.org/getting-started/installation/linux)

---

<div class="post-metadata">

**Author:** ![tirins.play](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/46a35a/32.png) [@tirins.play](https://www.ruby-forum.com/u/tirins.play)\
**Post date:** [August 31, 2009, 8:31am UTC](https://www.ruby-forum.com/t/ruby-1-9-build-requirements/174609/3 "2009-08-31T08:31:24Z")

</div>

Kenji Yamauchi wrote:

> > but there is some amount of disagreement about what needs to be  
> > installed prior to making Ruby 1.9. Does anyone have a definitive list  
> > of prerequisite packages?
> > 
> > Thanks for your help

Having problems - I have installed the prequisites, and unzipped the  
source package for ruby-1.9.1-p243, and I’m . I’ve installed from source  
before, but not ruby 1.9. I cannot get beyond this:

> tomc@tomc-desktop:~/software\_archive/ruby-1.9.1/ruby-1.9.1-p243$  
> ./configure --prefix=/usr/local --with-openssl-dir=/usr  
> –with-readline-dir=/usr --with-zlib-dir=/usr  
> bash: ./configure: Permission denied  
> tomc@tomc-desktop:~/software\_archive/ruby-1.9.1/ruby-1.9.1-p243$ sudo  
> ./configure --prefix=/usr/local --with-openssl-dir=/usr  
> –with-readline-dir=/usr --with-zlib-dir=/usr  
> sudo: ./configure: command not found  
> I really don’t understand enough what I’m doing to see the problem.

Can someone help me?

Tks,

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:** ![tirins.play](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/46a35a/32.png) [@tirins.play](https://www.ruby-forum.com/u/tirins.play)\
**Post date:** [August 31, 2009, 8:36am UTC](https://www.ruby-forum.com/t/ruby-1-9-build-requirements/174609/4 "2009-08-31T08:36:05Z")

</div>

Kenji Yamauchi wrote:

> > but there is some amount of disagreement about what needs to be

Re: previous email and my problems with ./configure - !@#$##@!

I just cannot remember to make that thing EXECUTABLE. Does make a  
difference. Sigh.

Sorry for the stumble.

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)

```
