From: "devcurmudgeon (Paul Sherwood)" Date: 2013-02-24T22:46:18+09:00 Subject: [ruby-core:52822] [ruby-trunk - Bug #7943][Open] Can't build from source or snapshots without pre-existing Ruby Issue #7943 has been reported by devcurmudgeon (Paul Sherwood). ---------------------------------------- Bug #7943: Can't build from source or snapshots without pre-existing Ruby https://bugs.ruby-lang.org/issues/7943 Author: devcurmudgeon (Paul Sherwood) Status: Open Priority: Normal Assignee: Category: build Target version: ruby -v: n/a On a Linux system with autotools, GCC etc, but no pre-existing Ruby, make fails for the following snapshots: http://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz The error using the 2.0.0-p0 snapshot is make CC = gcc LD = ld LDSHARED = CFLAGS = XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. DLDFLAGS = -fstack-protector -pie SOLIBS = generating miniprelude.c executable host ruby is required. use --with-baseruby option. uncommon.mk:900: recipe for target `miniprelude.c' failed make: *** [miniprelude.c] Error 1 -- http://bugs.ruby-lang.org/