Project

General

Profile

Actions

Bug #7943

closed

Can't build from source or snapshots without pre-existing Ruby

Added by devcurmudgeon (Paul Sherwood) about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
n/a
Backport:
[ruby-core:52822]

Description

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


Related issues 1 (0 open1 closed)

Is duplicate of Backport200 - Backport #6807: Can't compile ruby without rubyClosednagachika (Tomoyuki Chikanaga)07/28/2012Actions

Updated by luislavena (Luis Lavena) about 11 years ago

  • Status changed from Open to Rejected

Duplicate of #6807, which I just reopened.

Actions

Also available in: Atom PDF

Like0
Like0