субота, 20 липня 2013 р.

RVM c compiler cannot create executables

[elena@localhost ~]$ rvm install ruby-2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: fedora/19/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing requirements for fedora, might require sudo password.
Requirements installation successful.
Installing Ruby from source to: /home/elena/.rvm/rubies/ruby-2.0.0-p247, this may take a while depending on your cpu(s)...
ruby-2.0.0-p247 - #downloading ruby-2.0.0-p247, this may take a while depending on your connection...
ruby-2.0.0-p247 - #extracted to /home/elena/.rvm/src/ruby-2.0.0-p247 (already extracted)
ruby-2.0.0-p247 - #configuring.......
Error running './configure --prefix=/home/elena/.rvm/rubies/ruby-2.0.0-p247 --disable-install-doc --enable-shared',
please read /home/elena/.rvm/log/ruby-2.0.0-p247/1374331881_configure.log
There has been an error while running configure. Halting the installation.

Вот такая фигня - на свежую федору не ставились ruby.
gcc, gcc-c++ установлено

Содержимое лога при этом: 
[elena@localhost ~]$ cat /home/elena/.rvm/log/ruby-2.0.0-p247/1374331593_configure.log
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/elena/.rvm/src/ruby-2.0.0-p247':
configure: error: C compiler cannot create executables
See `config.log' for more details

Фиг с ним unknown linux - c compiller не пашет оО

Как решилось:
$ sudo yum install clang glibc-devel

Что-то из этого помогло.

Немає коментарів:

Дописати коментар