You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am confused as to why the script cannot figure this out via:
# verify we're running a supported ruby versionrequired_version='1.9.3'rv_arr=required_version.split('.').map{ |s| s.to_i}av_arr=RUBY_VERSION.split('.').map{ |s| s.to_i}if(av_arr <=> rv_arr) < 0abort("Ruby version #{required_version} required, but found #{RUBY_VERSION}. Aborting.")end
Unfortunately, I am too stupid and know too little Ruby to even debug this problem, because none of my attempts to write out debug info to the terminal have any effect.
The text was updated successfully, but these errors were encountered:
The configure script works fine if I remove the following lines:
[jrhammon@esgmonster github]$ git diff
diff --git a/configure b/configure
index 96a46c7..a214965 100755
--- a/configure+++ b/configure@@ -68,21 +68,10 @@ end
# Xcode generator must have CC set to a version of Clang, and must have a corresponding plugin
# see github.com/bholt/Clang-Head.xcplugin for an example
-### unless opt.generator =~ /Xcode/ # (Xcode generator currently chokes on other compilers...)- if not(opt.cc) && not(opt.cxx)- abort("Must specify C compiler (either use '--cc=' or '--cxx=' flags, or set the environment variables CC & CXX\nhint: if the compiler you want is on your PATH, you can do: --cc=$(which gcc)...")- end-### end-
if opt.tracing && opt.profiling
abort "Please choose one of profiling or tracing."
end
--if opt.tracing && not(opt.vampir) && opt.third_party- opt.vampir = opt.third_party-end-
# verify we're on a 64-bit machine
case `uname -m`
when /x86_64/
The real solution here is to rewrite the configure script in bash; we don't need to use Ruby here (or anywhere else in the project). This is on my list, but it'll be a while until I get to it.
I got this very strange error:
I had a crazy idea to look at
configure
, and noticed that it requires Ruby 1.9.3, while I have only 1.8.7:I am confused as to why the script cannot figure this out via:
Unfortunately, I am too stupid and know too little Ruby to even debug this problem, because none of my attempts to write out debug info to the terminal have any effect.
The text was updated successfully, but these errors were encountered: