Skip to content

Instantly share code, notes, and snippets.

@sevenmaxis
Created November 20, 2012 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sevenmaxis/4120079 to your computer and use it in GitHub Desktop.
Save sevenmaxis/4120079 to your computer and use it in GitHub Desktop.
rvm, can't install ruby 1.9.3
The content of /home/megas/.rvm/log/ruby-1.9.3-p327/configure.log
make all-recursive
make[1]: Entering directory `/home/megas/.rvm/src/yaml-0.1.4'
Making all in include
make[2]: Entering directory `/home/megas/.rvm/src/yaml-0.1.4/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/megas/.rvm/src/yaml-0.1.4/include'
Making all in src
make[2]: Entering directory `/home/megas/.rvm/src/yaml-0.1.4/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT api.lo -MD -MP -MF .deps/api.Tpo -c -o api.lo api.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT api.lo -MD -MP -MF .deps/api.Tpo -c api.c -fPIC -DPIC -o .libs/api.o
In file included from /usr/include/stdlib.h:320:0,
from ../include/yaml.h:18,
from yaml_private.h:6,
from api.c:2:
/usr/include/x86_64-linux-gnu/sys/types.h:223:28: error: /usr/include/x86_64-linux-gnu/sys/sysmacros.h: Input/output error
make[2]: *** [api.lo] Error 1
make[2]: Leaving directory `/home/megas/.rvm/src/yaml-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/megas/.rvm/src/yaml-0.1.4'
make: *** [all] Error 2
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... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether gcc -E accepts -o... yes
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking for objdump... objdump
checking for objcopy... objcopy
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for dot... dot
checking for doxygen... no
checking for pkg-config... pkg-config
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... yes
checking for stdlib.h... no
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 -Wno-unused-parameter is accepted... yes
checking whether -Wno-parentheses is accepted... yes
checking whether -Wno-long-long is accepted... yes
checking whether -Wno-missing-field-initializers is accepted... yes
checking whether -Werror=pointer-arith is accepted... yes
checking whether -Werror=write-strings is accepted... yes
checking whether -Werror=declaration-after-statement is accepted... yes
checking whether -Werror=shorten-64-to-32 is accepted... no
checking whether -Wshorten-64-to-32 is accepted... no
checking whether -Werror=implicit-function-declaration is accepted... yes
checking whether -Wall -Wextra is accepted... yes
checking whether -ggdb is accepted... yes
checking whether -fvisibility=hidden is accepted... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 0
checking size of short... 0
checking size of long... 0
checking size of long long... configure: error: in `/home/megas/.rvm/src/ruby-1.9.3-p327':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details
@bixu
Copy link

bixu commented Apr 5, 2013

Did you ever figure this out? I'm running into the same issue with ruby 2.0.0-p0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment