Skip to content

R2CPG_ApA_setup

Johnny Willemsen edited this page Dec 6, 2019 · 1 revision

The Setup script

$ ruby setup.rb --help
Typical Installation Procedure:
  $ ruby setup.rb config
  $ ruby setup.rb setup
  # ruby setup.rb install (may require root privilege)

Detailed Usage:
  ruby setup.rb <global option>
  ruby setup.rb [<global options>] <task> [<task options>]

Global options:
  -q,--quiet               suppress message outputs
     --verbose             output messages verbosely
     --help                print this message
     --version             print version and quit
     --copyright           print copyright and quit

Tasks:
  all                      do config, setup, then install
  config                   saves your configurations
  show                     shows current configuration
  setup                    compiles ruby extentions and others
  install                  installs files
  test                     run all tests in test/
  clean                    does `make clean' for each extention
  distclean                does `make distclean' for each extention

Options for CONFIG or ALL:
  --installdirs=std/site/home std: install under libruby; site: install under site_ruby; home: install under $HOME []
  --prefix=path            path prefix of target environment [/home/martin/.rvm/rubies/ruby-1.9.2-p180]
  --bindir=path            the directory for commands [$prefix/bin]
  --libdir=path            the directory for libraries [$prefix/lib]
  --datadir=path           the directory for shared data [$prefix/share]
  --mandir=path            the directory for man pages [$prefix/share/man]
  --sysconfdir=path        the directory for system configuration files [$prefix/etc]
  --localstatedir=path     the directory for local state data [$prefix/var]
  --libruby=path           the directory for ruby libraries [/home/martin/.rvm/rubies/ruby-1.9.2-p180/lib/ruby]
  --librubyver=path        the directory for standard ruby libraries [/home/martin/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1]
  --librubyverarch=path    the directory for standard ruby extensions [/home/martin/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-linux]
  --siteruby=path          the directory for version-independent aux ruby libraries [/home/martin/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby]
  --siterubyver=path       the directory for aux ruby libraries [/home/martin/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1]
  --siterubyverarch=path   the directory for aux ruby binaries [/home/martin/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-linux]
  --rbdir=path             the directory for ruby scripts [$siterubyver]
  --sodir=path             the directory for ruby extentions [$siterubyverarch]
  --rubypath=path          the path to set to #! line [/home/martin/.rvm/rubies/ruby-1.9.2-p180/bin/ruby]
  --rubyprog=name          the ruby program using for installation [/home/martin/.rvm/rubies/ruby-1.9.2-p180/bin/ruby]
  --makeprog=name          the make program to compile ruby extentions [make]
  --shebang=all/ruby/never shebang line (#!) editing mode [ruby]
  --without-ext            does not compile/install ruby extentions [no]
  --without-tao            do *not* configure/build/clean the ACE+TAO libraries [no]
  --aceroot=path           the path to the root directory of ACE []
  --taoroot=path           the path to the root directory of TAO []
  --mpcroot=path           the path to the root directory of MPC []
  --aceinstdir=path        the directory where the ACE+TAO dlls are installed [$prefix/lib]
  --with-ipv6              build ACE+TAO libraries with IPv6 support enabled [no]
  --with-ssl               build ACE+TAO libraries with SSL support enabled [no]
  --sslroot=path           the root path where SSL includes and libraries can be found [/usr]
  --without-threads        build ACE+TAO libraries without threading support [no]
  --with-debug             build with debugger support [no]
  --rbconfig=path          rbconfig.rb to load [running ruby's]

Options for INSTALL:
  --no-harm                only display what to do if given [off]

$
Clone this wiki locally