Cant install ruby using rvm on osx lion

% Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
100 9330k 100 9330k 0 0 90308 0 0:01:45 0:01:45 --:--:--
52183

ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to
/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #extracted to /Users/jtomasrl/.rvm/src/ruby-1.9.3-p0
Fetching yaml-0.1.4.tar.gz to /Users/jtomasrl/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/jtomasrl/.rvm/src

Configuring yaml in /Users/jtomasrl/.rvm/src/yaml-0.1.4.

ERROR: Error running ' ./configure --prefix="/Users/jtomasrl/.rvm/usr"
', please read /Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/yaml/configure.log
Compiling yaml in /Users/jtomasrl/.rvm/src/yaml-0.1.4.

ERROR: Error running 'make ', please read
/Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/yaml/make.log
Installing yaml to /Users/jtomasrl/.rvm/usr

ERROR: Error running 'make install', please read
/Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/yaml/make.install.log
ruby-1.9.3-p0 - #configuring

ERROR: Error running ' ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.9.3-p0 --enable-shared
--disable-install-doc --with-libyaml-dir=/Users/jtomasrl/.rvm/usr ',
please read /Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/configure.log

ERROR: There has been an error while running configure. Halting the
installation

···

--
Posted via http://www.ruby-forum.com/.

configure.log

[2011-11-14 11:49:15] ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.$
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details

···

--
Posted via http://www.ruby-forum.com/.

-----Messaggio originale-----

···

Da: Tomas R. [mailto:jtomasrl@gmail.com]
Inviato: lunedì 14 novembre 2011 15:55
A: ruby-talk ML
Oggetto: cant install ruby using rvm on osx lion

% Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
100 9330k 100 9330k 0 0 90308 0 0:01:45 0:01:45 --:--:--
52183

ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to
/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #extracted to /Users/jtomasrl/.rvm/src/ruby-1.9.3-p0
Fetching yaml-0.1.4.tar.gz to /Users/jtomasrl/.rvm/archives Extracting
yaml-0.1.4.tar.gz to /Users/jtomasrl/.rvm/src

Configuring yaml in /Users/jtomasrl/.rvm/src/yaml-0.1.4.

ERROR: Error running ' ./configure --prefix="/Users/jtomasrl/.rvm/usr"
', please read /Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/yaml/configure.log
Compiling yaml in /Users/jtomasrl/.rvm/src/yaml-0.1.4.

ERROR: Error running 'make ', please read
/Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/yaml/make.log
Installing yaml to /Users/jtomasrl/.rvm/usr

ERROR: Error running 'make install', please read
/Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/yaml/make.install.log
ruby-1.9.3-p0 - #configuring

ERROR: Error running ' ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.9.3-p0 --enable-shared
--disable-install-doc --with-libyaml-dir=/Users/jtomasrl/.rvm/usr ', please
read /Users/jtomasrl/.rvm/log/ruby-1.9.3-p0/configure.log

ERROR: There has been an error while running configure. Halting the
installation

--
Posted via http://www.ruby-forum.com/.

--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
Capodanno al parco Oltremare Riccione: Pacchetto hotel 3 stelle in centro + ingresso al parco.
* Mezza pensione, Internet gratis, animazione per bimbi. Scopri l'offerta!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid980&d)-12

Which C compiler have you installed? Just to make sure: did you install X-Code?

···

On Nov 14, 2011, at 3:56 PM, Tomas R. wrote:

configure.log

[2011-11-14 11:49:15] ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.$
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details

Run this in Terminal:

[Mon Nov 14 15:22:08 dobbin@darkstar:~ ] $ which gcc
/usr/bin/gcc

to see if the compiler is installed.

Cheers,

    Phil...

···

On 14/11/11 14:56, "Tomas R." <jtomasrl@gmail.com> wrote:

configure.log

[2011-11-14 11:49:15] ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.$
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details

--
Nothing to see here... move along, move along

You can also run:

$ rvm requirements

See: http://beginrescueend.com/os/darwin/

···

On Nov 14, 2011, at 4:07 PM, Sylvester Keil wrote:

On Nov 14, 2011, at 3:56 PM, Tomas R. wrote:

configure.log

[2011-11-14 11:49:15] ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.$
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details

Which C compiler have you installed? Just to make sure: did you install X-Code?

-----Messaggio originale-----

···

Da: Phil Dobbin [mailto:phildobbin@gmail.com]
Inviato: lunedì 14 novembre 2011 16:25
A: ruby-talk ML
Oggetto: Re: cant install ruby using rvm on osx lion

On 14/11/11 14:56, "Tomas R." <jtomasrl@gmail.com> wrote:

configure.log

[2011-11-14 11:49:15] ./configure
--prefix=/Users/jtomasrl/.rvm/rubies/ruby-1.$
configure: WARNING: unrecognized options: --with-libyaml-dir checking
build system type... i386-apple-darwin11.2.0 checking host system
type... i386-apple-darwin11.2.0 checking target system type...
i386-apple-darwin11.2.0 checking whether the C compiler works... no
configure: error: in `/Users/jtomasrl/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables See
`config.log' for more details

Run this in Terminal:

[Mon Nov 14 15:22:08 dobbin@darkstar:~ ] $ which gcc /usr/bin/gcc

to see if the compiler is installed.

Cheers,

    Phil...

--
Nothing to see here... move along, move along

--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
Capodanno a Riccione, Pacchetto Relax: Mezza Pensione + bagno turco + solarium + massaggio. Wifi e parcheggio gratis. 2 giorni euro 199 a persona
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid977&d)-12