Created
June 29, 2015 23:41
-
-
Save creativetim/67de81a6debb897a0a95 to your computer and use it in GitHub Desktop.
CFLAGS is valid... no
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$rvm install ruby-2.2.2 | |
ruby-2.2.2 - #removing src/ruby-2.2.2.. | |
Searching for binary rubies, this might take some time. | |
No binary rubies available for: osx/10.10/x86_64/ruby-2.2.2. | |
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. | |
Checking requirements for osx_brew. | |
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date. | |
Requirements installation successful. | |
Warning: found user selected compiler '/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2', this will suppress RVM auto detection mechanisms. | |
Installing Ruby from source to: /Users/tyager/.rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)... | |
ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on your connection... | |
ruby-2.2.2 - #extracting ruby-2.2.2 to /Users/tyager/.rvm/src/ruby-2.2.2.... | |
ruby-2.2.2 - #configuring....... | |
Error running './configure --prefix=/Users/tyager/.rvm/rubies/ruby-2.2.2 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --enable-shared', | |
showing last 15 lines of /Users/tyager/.rvm/log/1435621076_ruby-2.2.2/configure.log | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking minix/config.h usability... no | |
checking minix/config.h presence... no | |
checking for minix/config.h... no | |
checking whether it is safe to define __EXTENSIONS__... yes | |
checking for cd using physical directory... cd -P | |
checking whether CFLAGS is valid... no | |
configure: error: something wrong with CFLAGS="-g -O2 " | |
There has been an error while running configure. Halting the installation. | |
--- | |
CC=/usr/bin/gcc rvm install ruby-2.2.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment