Skip to content

Instantly share code, notes, and snippets.

@catsby
Created July 23, 2012 18:38
Show Gist options
  • Save catsby/3165324 to your computer and use it in GitHub Desktop.
Save catsby/3165324 to your computer and use it in GitHub Desktop.
Rbx configure, install install
Checking gcc: found
Checking g++: found
Checking bison: found
Using the following configuration to build
------------------------------------------
module Rubinius
BUILD_CONFIG = {
:command_line => "--prefix=/Users/clint/.rbenv/versions/rbx-2.0.0-dev --with-lib-dir=/Users/clint/Developer/lib --gemsdir=/Users/clint/.rbenv/versions/rbx-2.0.0-dev/gems --default-version=19 --enable-version=19",
:which_ruby => :ruby,
:build_ruby => "/Users/clint/.rbenv/versions/1.9.3-p194/bin/ruby",
:build_rake => "rake",
:build_perl => "perl",
:llvm => :prebuilt,
:llvm_configure => "perl /Users/clint/rubinius/vendor/llvm/Release/bin/llvm-config",
:cc => "gcc",
:cxx => "g++",
:user_cflags => "-I/Users/clint/Developer/include",
:user_cppflags => "-I/Users/clint/Developer/include",
:user_ldflags => "-L/Users/clint/Developer/lib",
:include_dirs => ["/usr/local/include"],
:lib_dirs => ["/Users/clint/Developer/lib", "/usr/local/lib"],
:defines => ["HAS_EXECINFO", "HAVE_SPT_REUSEARGV", "HAVE_NL_LANGINFO", "HAVE_TM_GMTOFF", "HAVE_TM_ZONE", "HAVE_TIMEZONE", "HAVE_TZNAME", "HAVE_DAYLIGHT", "HAVE_ALLOCA_H", "HAVE_STRING_H", "HAVE_SYS_TIME_H", "HAVE_SYS_TIMES_H", "HAVE_SYS_TYPES_H", "HAVE_UNISTD_H", "HAVE_STDARG_H"],
:curses => "curses",
:host => "x86_64-apple-darwin11.4.2",
:cpu => "x86_64",
:vendor => "apple",
:os => "darwin11.4.2",
:little_endian => true,
:sizeof_long => 8,
:x86_32 => false,
:x86_64 => true,
:fibers => true,
:sourcedir => "/Users/clint/rubinius",
:stagingdir => "/Users/clint/rubinius/staging",
:prefixdir => "/Users/clint/.rbenv/versions/rbx-2.0.0-dev",
:bindir => "/bin",
:libdir => "/lib",
:runtimedir => "/runtime",
:kerneldir => "/kernel",
:sitedir => "/site",
:vendordir => "/vendor",
:include18dir => "/vm/capi/18/include",
:include19dir => "/vm/capi/19/include",
:include20dir => "/vm/capi/19/include",
:mandir => "/man",
:gemsdir => "/gems",
:program_name => "rbx",
:version => "2.0.0dev",
:libversion => "2.0",
:release_date => "yyyy-mm-dd",
:config_version => 159,
:windows => false,
:darwin => true,
:bsd => false,
:linux => false,
:version_list => ["19"],
:default_version => "19",
:vendor_zlib => false,
:readline => :c_readline,
}
end
Setting the following defines for the VM
----------------------------------------
#define RBX_HOST "x86_64-apple-darwin11.4.2"
#define RBX_CPU "x86_64"
#define RBX_VENDOR "apple"
#define RBX_OS "darwin11.4.2"
#define RBX_PREFIX_PATH "/Users/clint/.rbenv/versions/rbx-2.0.0-dev"
#define RBX_BIN_PATH "/bin"
#define RBX_GEMS_PATH "/gems"
#define RBX_RUNTIME_PATH "/runtime"
#define RBX_KERNEL_PATH "/kernel"
#define RBX_LIB_PATH "/lib"
#define RBX_HDR18_PATH "/vm/capi/18/include"
#define RBX_HDR19_PATH "/vm/capi/19/include"
#define RBX_HDR20_PATH "/vm/capi/19/include"
#define RBX_SITE_PATH "/site"
#define RBX_VENDOR_PATH "/vendor"
#define RBX_VERSION "2.0.0dev"
#define RBX_LIB_VERSION "2.0"
#define RBX_LDSHARED "gcc -bundle -undefined suppress -flat_namespace"
#define RBX_RELEASE_DATE "yyyy-mm-dd"
#define RBX_SIZEOF_LONG 8
#define RBX_LLVM_API_VER 300
#define RBX_LIBC "libc.dylib"
#define RBX_DEFAULT_18 false
#define RBX_DEFAULT_19 true
#define RBX_DEFAULT_20 false
#define RBX_ENABLED_19 1
#define RBX_LITTLE_ENDIAN 1
#define RBX_HAVE_TR1_HASH 1
#define RBX_DARWIN 1
#define RBX_FIBER_ENABLED 1
#define HAS_EXECINFO 1
#define HAVE_SPT_REUSEARGV 1
#define HAVE_NL_LANGINFO 1
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
#define HAVE_TIMEZONE 1
#define HAVE_TZNAME 1
#define HAVE_DAYLIGHT 1
#define HAVE_ALLOCA_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDARG_H 1
~$ git clone git://github.com/rubinius/rubinius.git
~$ cd rubinius
~$ ./configure --prefix=/Users/clint/.rbenv/versions/rbx-2.0.0-dev --with-lib-dir=/Users/clint/Developer/lib --gemsdir=/Users/clint/.rbenv/versions/rbx-2.0.0-dev/gems --default-version=19 --enable-version=19
... a lot of stuff ...
~$ rake install
... a lot more stuff ...
~$ gem install bundler
Successfully installed bundler-1.1.5
1 gem installed
~$ rbenv rehash
~$ bundle
rbenv: bundle: command not found
The `bundle' command exists in these Ruby versions:
1.9.3-p0
1.9.3-p194
jruby-1.6.7.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment