Chelsea White
Chelsea White

Reputation: 295

Failed to configure Ruby with RVM on Fedora15

I run rvm install 1.9.3 to update Ruby on my Fedora 15. But it failed and showed the message:

    checking for an ANSI C-conforming const... no
    checking for working volatile... yes
    configure: error: ANSI C-conforming const and volatile are mandatory

Searched all over but cant find a solution. Anyone could help? thx in advance.

Upvotes: 1

Views: 609

Answers (3)

yuvilio
yuvilio

Reputation: 4185

I ran into this error when installing in linux. Turns out it was because i added the --64 option which may be for MAC only. When I removed that flag, that error message was gone.

Upvotes: 0

Chelsea White
Chelsea White

Reputation: 295

I cannot run rvm to install any version of ruby with gcc-4.6.3. Finally get it resolved via suggestion in the post: install bundler using rvm, ruby 1.8.7 with gcc 4.7 on linux

Upvotes: 2

Pafjo
Pafjo

Reputation: 5019

Have you installed all required dependencies? If not, run rvm notes and then install the required packages.

Upvotes: 0

Related Questions