Forum: Ruby-core [ruby-trunk - Bug #7943][Open] Can't build from source or snapshots without pre-existing Ruby

Posted by devcurmudgeon (Paul Sherwood) (Guest)
on 2013-02-24 14:46
(Received via mailing list)
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
Posted by Luis Lavena (luislavena)
on 2013-02-24 14:50
(Received via mailing list)
Issue #7943 has been updated by luislavena (Luis Lavena).

Status changed from Open to Rejected

Duplicate of #6807, which I just reopened.
----------------------------------------
Bug #7943: Can't build from source or snapshots without pre-existing 
Ruby
https://bugs.ruby-lang.org/issues/7943#change-36928

Author: devcurmudgeon (Paul Sherwood)
Status: Rejected
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.