Ruby 1.9 build requirements

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.

http://wiki.rubyonrails.org/getting-started/installation/linux

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

Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< [email protected] >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

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.

Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< [email protected] >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)