Skip to content

Instantly share code, notes, and snippets.

@diorahman
Last active August 29, 2015 13:57
Show Gist options
  • Save diorahman/9433636 to your computer and use it in GitHub Desktop.
Save diorahman/9433636 to your computer and use it in GitHub Desktop.

Minuit

  • Replace g77 with gfortran in /home/diorahman/Experiments/misc/pwa/src/ruby-minuit/cernlib/Makefile

  • Replace ugly flag to -fPIC in /home/diorahman/Experiments/misc/pwa/src/ruby-minuit/cernlib

  • Set RUBYINC to ~/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/x86_64-linux

  • Repace FLLIB to FLIB in /home/diorahman/Experiments/misc/pwa/src/ruby-minuit/src/Makefile

Ruby-PWA

  • Set RUBYINC to ~/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/x86_64-linux

ROOT

  1. Download ftp://root.cern.ch/root/root_v5.34.17.source.tar.gz
  2. ./configure --enable-ruby --enable-explicitlink --with-x11-libdir=/usr/lib/x86_64-linux-gnu --with-xpm-libdir=/usr/lib/x86_64-linux-gnu --with-xft-libdir=/usr/lib/x86_64-linux-gnu --with-xext-libdir=/usr/lib/x86_64-linux-gnu
  3. ln -s /usr/include/freetype2 /usr/include/freetype
  4. edit ./configure line 4431 add /usr/lib/x86_64-linux-gnu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment