From kmoore at physics.ucsb.edu Wed Jan 18 02:42:40 2012 From: kmoore at physics.ucsb.edu (Kevin Moore) Date: Tue, 17 Jan 2012 23:42:40 -0800 Subject: [Tioga-users] Problem with installation on osx lion Message-ID: I just realized Tioga hasn't been working since I upgraded my mac to Lion, although I'm not sure if that has anything to do with the problems. I've been using Tioga for years without (much) trouble, but now when I try to use it I get the error: /Library/Ruby/bin/tioga:2:in `require': no such file to load -- Tioga/tioga_ui.rb (LoadError) from /Library/Ruby/bin/tioga:2 When I try to reinstall Tioga 1.14, it also gives me an error: kevin-moores-macbook-pro:tioga-1.14 Kevin$ sudo ./HOME_INSTALL ---> bin <--- bin ---> lib ---> lib/Dobjects <--- lib/Dobjects ---> lib/Tioga <--- lib/Tioga <--- lib ---> ext ---> ext/Dobjects ---> ext/Dobjects/Dtable /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dtable/extconf.rb creating Makefile ---> ext/Dobjects/Dtable/include <--- ext/Dobjects/Dtable/include <--- ext/Dobjects/Dtable ---> ext/Dobjects/Dvector /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dvector/extconf.rb checking for fftw3.h... no fftw3 was not found on this system: no Fourier transforms checking for ieee754.h... no You lack the ieee754.h header file, which might mean lower reliability when Marshalling Dvectors and Dtables creating Makefile ---> ext/Dobjects/Dvector/include <--- ext/Dobjects/Dvector/include <--- ext/Dobjects/Dvector ---> ext/Dobjects/Function /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Function/extconf.rb creating Makefile <--- ext/Dobjects/Function <--- ext/Dobjects ---> ext/Flate /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb checking for zlib.h... no Using the private copy of zlib: copying the files from zlib/ /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb:16: uninitialized constant NotImplemented (NameError) from /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb:12:in `each' from /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb:12 setup.rb:656:in `command': system("/Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby" "/Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb") failed (RuntimeError) from setup.rb:661:in `ruby' from setup.rb:1239:in `extconf' from setup.rb:1231:in `config_dir_ext' from setup.rb:1533:in `__send__' from setup.rb:1533:in `traverse' from setup.rb:1550:in `dive_into' from setup.rb:1531:in `traverse' from setup.rb:1535:in `traverse' from setup.rb:1534:in `each' from setup.rb:1534:in `traverse' from setup.rb:1550:in `dive_into' from setup.rb:1531:in `traverse' from setup.rb:1525:in `exec_task_traverse' from setup.rb:1520:in `each' from setup.rb:1520:in `exec_task_traverse' from setup.rb:1224:in `exec_config' from setup.rb:992:in `exec_config' from setup.rb:827:in `__send__' from setup.rb:827:in `invoke' from setup.rb:774:in `invoke' from setup.rb:1579 I tried updating my ruby installation (rvm claims 1.8.7 p357 is the most current for my system), and I still have the other required programs like pdflatex. Just to make sure, trying to install Tioga 1.13 also gives similar errors. Any ideas what's going on here? -Kevin From fourmond at gmail.com Wed Jan 18 05:20:26 2012 From: fourmond at gmail.com (Vincent Fourmond) Date: Wed, 18 Jan 2012 11:20:26 +0100 Subject: [Tioga-users] Problem with installation on osx lion In-Reply-To: References: Message-ID: On Wed, Jan 18, 2012 at 8:42 AM, Kevin Moore wrote: > I just realized Tioga hasn't been working since I upgraded my mac to Lion, although I'm not sure if that has anything to do with the problems. I've been using Tioga for years without (much) trouble, but now when I try to use it I get the error: > /Library/Ruby/bin/tioga:2:in `require': no such file to load -- Tioga/tioga_ui.rb (LoadError) > ? ? ? ?from /Library/Ruby/bin/tioga:2 > > When I try to reinstall Tioga 1.14, it also gives me an error: > kevin-moores-macbook-pro:tioga-1.14 Kevin$ sudo ./HOME_INSTALL > ---> bin > <--- bin > ---> lib > ---> lib/Dobjects > <--- lib/Dobjects > ---> lib/Tioga > <--- lib/Tioga > <--- lib > ---> ext > ---> ext/Dobjects > ---> ext/Dobjects/Dtable > /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dtable/extconf.rb > creating Makefile > ---> ext/Dobjects/Dtable/include > <--- ext/Dobjects/Dtable/include > <--- ext/Dobjects/Dtable > ---> ext/Dobjects/Dvector > /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dvector/extconf.rb > checking for fftw3.h... no > fftw3 was not found on this system: no Fourier transforms > checking for ieee754.h... no > You lack the ieee754.h header file, which might mean lower reliability when Marshalling Dvectors and Dtables > creating Makefile > ---> ext/Dobjects/Dvector/include > <--- ext/Dobjects/Dvector/include > <--- ext/Dobjects/Dvector > ---> ext/Dobjects/Function > /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Function/extconf.rb > creating Makefile > <--- ext/Dobjects/Function > <--- ext/Dobjects > ---> ext/Flate > /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb > checking for zlib.h... no > Using the private copy of zlib: copying the files from zlib/ > /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb:16: uninitialized constant NotImplemented (NameError) Hmmm... I can't remember how I came up with that specific bit of code. Could you try replacing the line 16 in ext/Flate/extconf.rb by simply rescue NotImplementedError => e or simply: rescue That probably should get you going. (tell me which one works !) Cheers, Vincent From kmoore at physics.ucsb.edu Wed Jan 18 13:58:50 2012 From: kmoore at physics.ucsb.edu (Kevin Moore) Date: Wed, 18 Jan 2012 10:58:50 -0800 Subject: [Tioga-users] Problem with installation on osx lion In-Reply-To: References: Message-ID: <1361AC8D-5D2B-4E87-B8CF-447D08B647FF@physics.ucsb.edu> Weird, it turns out that wasn't the real error I was having after all. The one I posted came from files copied from ext/Flate/zlib into ext/Flate interfering with the copying process when I tried to reinstall Tioga (for some reason "sudo ruby setup.rb clean" didn't remove them). Nothing needed to be changed in extconf.rb, I just needed to delete all the copied files to proceed. I'm not sure why it's not finding my system's zlib.h though, it's in /usr/include. The real error I'm getting is: ---> ext/Dobjects/Dtable make gcc -I. -I/Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/i686-darwin11.2.0 -I/Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/i686-darwin11.2.0 -I/Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dtable -I../../includes -I../Dvector/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -c dtable.c dyld: Library not loaded: /Users/townsend/mesasdk_build/x86_64/darwin/current/lib/libmpc.2.dylib Referenced from: /Users/Kevin/mesasdk/bin/../libexec/gcc/x86_64-apple-darwin10.8.0/4.7.0/cc1 Reason: image not found gcc: internal compiler error: Trace/BPT trap: 5 (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [dtable.o] Error 4 setup.rb:656:in `command': system("make") failed (RuntimeError) from setup.rb:665:in `make' from setup.rb:1259:in `setup_dir_ext' from setup.rb:1533:in `__send__' from setup.rb:1533:in `traverse' from setup.rb:1550:in `dive_into' from setup.rb:1531:in `traverse' from setup.rb:1535:in `traverse' from setup.rb:1534:in `each' from setup.rb:1534:in `traverse' from setup.rb:1550:in `dive_into' from setup.rb:1531:in `traverse' from setup.rb:1535:in `traverse' from setup.rb:1534:in `each' from setup.rb:1534:in `traverse' from setup.rb:1550:in `dive_into' from setup.rb:1531:in `traverse' from setup.rb:1525:in `exec_task_traverse' from setup.rb:1520:in `each' from setup.rb:1520:in `exec_task_traverse' from setup.rb:1247:in `exec_setup' from setup.rb:997:in `exec_setup' from setup.rb:827:in `__send__' from setup.rb:827:in `invoke' from setup.rb:774:in `invoke' from setup.rb:1579 The line dyld: Library not loaded: /Users/townsend/mesasdk_build/x86_64/darwin/current/lib/libmpc.2.dylib tipped me off to what's going on. It looks like some tendril from my mesasdk install is interfering with this (well, there's at least a path set somewhere in there that doesn't exist). My DYLD_LIBRARY_PATH doesn't refer to that location so I'm still looking for where it came from. Since this is not really a Tioga problem, I'm moving this question to the mesa-users list. -Kevin On Jan 18, 2012, at 2:20 AM, Vincent Fourmond wrote: > On Wed, Jan 18, 2012 at 8:42 AM, Kevin Moore wrote: >> I just realized Tioga hasn't been working since I upgraded my mac to Lion, although I'm not sure if that has anything to do with the problems. I've been using Tioga for years without (much) trouble, but now when I try to use it I get the error: >> /Library/Ruby/bin/tioga:2:in `require': no such file to load -- Tioga/tioga_ui.rb (LoadError) >> from /Library/Ruby/bin/tioga:2 >> >> When I try to reinstall Tioga 1.14, it also gives me an error: >> kevin-moores-macbook-pro:tioga-1.14 Kevin$ sudo ./HOME_INSTALL >> ---> bin >> <--- bin >> ---> lib >> ---> lib/Dobjects >> <--- lib/Dobjects >> ---> lib/Tioga >> <--- lib/Tioga >> <--- lib >> ---> ext >> ---> ext/Dobjects >> ---> ext/Dobjects/Dtable >> /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dtable/extconf.rb >> creating Makefile >> ---> ext/Dobjects/Dtable/include >> <--- ext/Dobjects/Dtable/include >> <--- ext/Dobjects/Dtable >> ---> ext/Dobjects/Dvector >> /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Dvector/extconf.rb >> checking for fftw3.h... no >> fftw3 was not found on this system: no Fourier transforms >> checking for ieee754.h... no >> You lack the ieee754.h header file, which might mean lower reliability when Marshalling Dvectors and Dtables >> creating Makefile >> ---> ext/Dobjects/Dvector/include >> <--- ext/Dobjects/Dvector/include >> <--- ext/Dobjects/Dvector >> ---> ext/Dobjects/Function >> /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Dobjects/Function/extconf.rb >> creating Makefile >> <--- ext/Dobjects/Function >> <--- ext/Dobjects >> ---> ext/Flate >> /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/ruby /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb >> checking for zlib.h... no >> Using the private copy of zlib: copying the files from zlib/ >> /Users/Kevin/Desktop/tioga-1.14/ext/Flate/extconf.rb:16: uninitialized constant NotImplemented (NameError) > > Hmmm... I can't remember how I came up with that specific bit of code. > > Could you try replacing the line 16 in ext/Flate/extconf.rb by simply > > rescue NotImplementedError => e > > or simply: > > rescue > > That probably should get you going. (tell me which one works !) > > Cheers, > > Vincent > From kmoore at physics.ucsb.edu Mon Jan 30 20:49:34 2012 From: kmoore at physics.ucsb.edu (Kevin Moore) Date: Mon, 30 Jan 2012 17:49:34 -0800 Subject: [Tioga-users] Bus error/seg fault and installation issues Message-ID: Hi all, So I got Tioga working again after removing the interfering MESA SDK, but now it's giving me some weird problems. It will give me a single plot just fine when I do "tioga filename", but... 1) When I try to create multiple plots I get one plot with the warning: /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/Reload_Preview_Document.scpt: execution error: System Events got an error: Can?t get menu item "Revert to Saved?" of menu 1 of menu bar item "File" of menu bar 1 of process "Preview". (-1728) I could've sworn I encountered that error long ago and found some way around it, but can't remember how anymore. 2) The more serious issue is when I use the -s or -p options I get: /Users/Kevin/lib/ruby/Tioga/FigMkr.rb:2332: [BUG] Bus Error ruby 1.8.7 (2011-12-28 patchlevel 357) [i686-darwin11.2.0] Abort trap: 6 or (when compiled with an older installation of ruby): /Users/Kevin/lib/ruby/Tioga/FigMkr.rb:2332: [BUG] Segmentation fault ruby 1.8.6 (2010-09-02) [i686-darwin11.2.0] Abort trap: 6 These also give the same errors when I get rid of my $RUBYLIB variable, but with /Users/Kevin/lib/ruby/Tioga/FigMkr.rb replaced by /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/site_ruby/1.8/Tioga/FigMkr.rb in the error message. 3) The previous issue I hoped could be resolved with a fresh Ruby installation, but I can't compile Tioga with any of the newer versions of Ruby (eg. 1.9.x or macruby 0.10). A typical error (when compiling with 1.9.x) is: setup.rb:1315:in `load': invalid byte sequence in UTF-8 (ArgumentError) from setup.rb:1269:in `update_shebang_line' from setup.rb:1252:in `block in setup_dir_bin' from setup.rb:1251:in `each' from setup.rb:1251:in `setup_dir_bin' from setup.rb:1533:in `block in traverse' from setup.rb:1550:in `dive_into' from setup.rb:1531:in `traverse' from setup.rb:1525:in `block in exec_task_traverse' from setup.rb:1520:in `each' from setup.rb:1520:in `exec_task_traverse' from setup.rb:1247:in `exec_setup' from setup.rb:997:in `exec_setup' from setup.rb:827:in `invoke' from setup.rb:774:in `invoke' from setup.rb:1579:in `
' I was happily using Tioga for years, and all these problems started happening sometime after I upgraded my OS to Lion (10.7), started using the MESA SDK (no longer am), and updated my Xcode to 4.2.1. I'm not sure what's the cause of all this trouble though. -Kevin From kmoore at physics.ucsb.edu Mon Jan 30 23:24:18 2012 From: kmoore at physics.ucsb.edu (Kevin Moore) Date: Mon, 30 Jan 2012 20:24:18 -0800 Subject: [Tioga-users] Bus error/seg fault and installation issues In-Reply-To: <6B1A2B00-255A-41DB-B349-29A1CAA21406@gmail.com> References: <6B1A2B00-255A-41DB-B349-29A1CAA21406@gmail.com> Message-ID: <452D0EE0-5C7C-4B42-8122-D027A941B2B0@physics.ucsb.edu> Hey Josiah, Well, it worked fine on a test account with the system Ruby (ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]). I went back to the system Ruby on my main account and reinstalled Tioga and most things seem to be fixed! Kinda scary that the six other Ruby installations I tired didn't work though... The only remaining issue is that plots will no longer auto open when I use -s or -p. I could successfully create the pdfs, but if I use the -s option it still tells me: /Library/Ruby/bin/Reload_Preview_Document.scpt: execution error: System Events got an error: Can?t get menu item "Revert to Saved?" of menu 1 of menu bar item "File" of menu bar 1 of process "Preview". (-1728) Now I remembered the hack I used to get around this, just comment out the whole section of tells right after the line -- Now "Revert" it in the /Library/Ruby/bin/Reload_Preview_Document.scpt file. Things now seem to be working again, I'll try and go a few weeks without breaking everything again! Thanks for the suggestion - really pointed me in the right direction! -Kevin On Jan 30, 2012, at 6:38 PM, Josiah Schwab wrote: > Hi Kevin, > > Here's something you could try to start to pinpoint the issue. > > (I'm pretty sure that) OS X Lion comes with ruby 1.8.7 installed. > Make a new user account on your machine and install Tioga there. > See which (if any) errors you get. > > Josiah > > On Jan 30, 2012, at 5:49 PM, Kevin Moore wrote: > >> Hi all, >> >> So I got Tioga working again after removing the interfering MESA SDK, but now it's giving me some weird problems. It will give me a single plot just fine when I do "tioga filename", but... >> >> 1) When I try to create multiple plots I get one plot with the warning: >> /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/bin/Reload_Preview_Document.scpt: execution error: System Events got an error: Can?t get menu item "Revert to Saved?" of menu 1 of menu bar item "File" of menu bar 1 of process "Preview". (-1728) >> >> I could've sworn I encountered that error long ago and found some way around it, but can't remember how anymore. >> >> 2) The more serious issue is when I use the -s or -p options I get: >> /Users/Kevin/lib/ruby/Tioga/FigMkr.rb:2332: [BUG] Bus Error >> ruby 1.8.7 (2011-12-28 patchlevel 357) [i686-darwin11.2.0] >> Abort trap: 6 >> >> or (when compiled with an older installation of ruby): >> /Users/Kevin/lib/ruby/Tioga/FigMkr.rb:2332: [BUG] Segmentation fault >> ruby 1.8.6 (2010-09-02) [i686-darwin11.2.0] >> Abort trap: 6 >> >> These also give the same errors when I get rid of my $RUBYLIB variable, but with /Users/Kevin/lib/ruby/Tioga/FigMkr.rb replaced by /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/site_ruby/1.8/Tioga/FigMkr.rb in the error message. >> >> 3) The previous issue I hoped could be resolved with a fresh Ruby installation, but I can't compile Tioga with any of the newer versions of Ruby (eg. 1.9.x or macruby 0.10). A typical error (when compiling with 1.9.x) is: >> setup.rb:1315:in `load': invalid byte sequence in UTF-8 (ArgumentError) >> from setup.rb:1269:in `update_shebang_line' >> from setup.rb:1252:in `block in setup_dir_bin' >> from setup.rb:1251:in `each' >> from setup.rb:1251:in `setup_dir_bin' >> from setup.rb:1533:in `block in traverse' >> from setup.rb:1550:in `dive_into' >> from setup.rb:1531:in `traverse' >> from setup.rb:1525:in `block in exec_task_traverse' >> from setup.rb:1520:in `each' >> from setup.rb:1520:in `exec_task_traverse' >> from setup.rb:1247:in `exec_setup' >> from setup.rb:997:in `exec_setup' >> from setup.rb:827:in `invoke' >> from setup.rb:774:in `invoke' >> from setup.rb:1579:in `
' >> >> I was happily using Tioga for years, and all these problems started happening sometime after I upgraded my OS to Lion (10.7), started using the MESA SDK (no longer am), and updated my Xcode to 4.2.1. I'm not sure what's the cause of all this trouble though. >> >> -Kevin >> _______________________________________________ >> Tioga-users mailing list >> Tioga-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/tioga-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fourmond at gmail.com Tue Jan 31 05:59:20 2012 From: fourmond at gmail.com (Vincent Fourmond) Date: Tue, 31 Jan 2012 11:59:20 +0100 Subject: [Tioga-users] Bus error/seg fault and installation issues In-Reply-To: References: Message-ID: Hello all, On Tue, Jan 31, 2012 at 2:49 AM, Kevin Moore wrote: > 2) The more serious issue is when I use the -s or -p options I get: > /Users/Kevin/lib/ruby/Tioga/FigMkr.rb:2332: [BUG] Bus Error > ruby 1.8.7 (2011-12-28 patchlevel 357) [i686-darwin11.2.0] > Abort trap: 6 > > or (when compiled with an older installation of ruby): > /Users/Kevin/lib/ruby/Tioga/FigMkr.rb:2332: [BUG] Segmentation fault > ruby 1.8.6 (2010-09-02) [i686-darwin11.2.0] > Abort trap: 6 > > These also give the same errors when I get rid of my $RUBYLIB variable, but with /Users/Kevin/lib/ruby/Tioga/FigMkr.rb replaced by /Users/Kevin/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/site_ruby/1.8/Tioga/FigMkr.rb in the error message. Seems that you got your problem fixed, but I'm giving a hint anyway: did you make sure to run make clean before each new try ? If you mix object files compiled with old and new versions of Ruby and/or other SDKs, it will create problems not detected by make. > 3) The previous issue I hoped could be resolved with a fresh Ruby installation, but I can't compile Tioga with > any of the newer versions of Ruby (eg. 1.9.x or macruby 0.10). A typical error (when compiling with 1.9.x) is: > setup.rb:1315:in `load': invalid byte sequence in UTF-8 (ArgumentError) > [...] This looks like something very stupid, such as a stray latin-1 character in source files... Line 1315 should be within a Shebang class function. Could you add a p path just before that line and see what it gives ? Cheers, Vincent From cantiel at kitp.ucsb.edu Mon Jan 30 19:11:08 2012 From: cantiel at kitp.ucsb.edu (Matteo Cantiello) Date: Mon, 30 Jan 2012 16:11:08 -0800 Subject: [Tioga-users] Problems installing Tioga Message-ID: <1FC17113-6146-4EE7-B4FF-95D80AE69F9A@kitp.ucsb.edu> I am experiencing problems installing Tioga 1.14 on OS X (10.6.8). Ruby version is 1.8.7 (2010-01-10 patchlevel 249). This is the output I get: > bash-3.2$ ./QUICK_INSTALL > ---> bin > <--- bin > ---> lib > ---> lib/Dobjects > <--- lib/Dobjects > ---> lib/Tioga > <--- lib/Tioga > <--- lib > ---> ext > ---> ext/Dobjects > ---> ext/Dobjects/Dtable > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Users/matteo/Downloads/tioga-1.14/ext/Dobjects/Dtable/extconf.rb > creating Makefile > ---> ext/Dobjects/Dtable/include > <--- ext/Dobjects/Dtable/include > <--- ext/Dobjects/Dtable > ---> ext/Dobjects/Dvector > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Users/matteo/Downloads/tioga-1.14/ext/Dobjects/Dvector/extconf.rb > checking for fftw3.h... no > fftw3 was not found on this system: no Fourier transforms > checking for ieee754.h... no > You lack the ieee754.h header file, which might mean lower reliability when Marshalling Dvectors and Dtables > creating Makefile > ---> ext/Dobjects/Dvector/include > <--- ext/Dobjects/Dvector/include > <--- ext/Dobjects/Dvector > ---> ext/Dobjects/Function > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Users/matteo/Downloads/tioga-1.14/ext/Dobjects/Function/extconf.rb > creating Makefile > <--- ext/Dobjects/Function > <--- ext/Dobjects > ---> ext/Flate > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb > checking for zlib.h... yes > checking for compress() in -lz... no > Using the private copy of zlib: copying the files from zlib/ > /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb:16: uninitialized constant NotImplemented (NameError) > from /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb:12:in `each' > from /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb:12 > setup.rb:656:in `command': system("/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby" "/Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb") failed (RuntimeError) > from setup.rb:661:in `ruby' > from setup.rb:1239:in `extconf' > from setup.rb:1231:in `config_dir_ext' > from setup.rb:1533:in `__send__' > from setup.rb:1533:in `traverse' > from setup.rb:1550:in `dive_into' > from setup.rb:1531:in `traverse' > from setup.rb:1535:in `traverse' > from setup.rb:1534:in `each' > from setup.rb:1534:in `traverse' > from setup.rb:1550:in `dive_into' > from setup.rb:1531:in `traverse' > from setup.rb:1525:in `exec_task_traverse' > from setup.rb:1520:in `each' > from setup.rb:1520:in `exec_task_traverse' > from setup.rb:1224:in `exec_config' > from setup.rb:992:in `exec_config' > from setup.rb:827:in `__send__' > from setup.rb:827:in `invoke' > from setup.rb:774:in `invoke' > from setup.rb:1579 Interestingly I tried installing Tioga on my Macbook laptop and it worked like a charm. The laptop is running the same OS X version, Ruby 1.8.7 (2009-06-12 patchlevel 174). Any ideas? Tnx Matteo Dr. Matteo Cantiello ------------------------ Kavli Institute for Theoretical Physics Room 1226 Kohn Hall CA 93106-4030 University of California, Santa Barbara ---------------- http://matteocantiello.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From fourmond at gmail.com Tue Jan 31 11:48:24 2012 From: fourmond at gmail.com (Vincent Fourmond) Date: Tue, 31 Jan 2012 17:48:24 +0100 Subject: [Tioga-users] Problems installing Tioga In-Reply-To: <1FC17113-6146-4EE7-B4FF-95D80AE69F9A@kitp.ucsb.edu> References: <1FC17113-6146-4EE7-B4FF-95D80AE69F9A@kitp.ucsb.edu> Message-ID: On Tue, Jan 31, 2012 at 1:11 AM, Matteo Cantiello wrote: > I am experiencing problems installing Tioga 1.14 on OS X (10.6.8). Ruby > version is 1.8.7 (2010-01-10 patchlevel 249). > This is the output I get: > > [...] > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb > checking for zlib.h... yes > checking for compress() in -lz... no > Using the private copy of zlib: copying the files from zlib/ > /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb:16: uninitialized > constant NotImplemented (NameError) That was asked some 13 days ago on this mailing list ;-)... What I replied was: "Could you try replacing the line 16 in ext/Flate/extconf.rb by simply rescue NotImplementedError => e or simply: rescue That probably should get you going. (tell me which one works !)" Cheers, Vincent From kmoore at physics.ucsb.edu Tue Jan 31 14:03:53 2012 From: kmoore at physics.ucsb.edu (Kevin Moore) Date: Tue, 31 Jan 2012 11:03:53 -0800 Subject: [Tioga-users] Problems installing Tioga In-Reply-To: References: <1FC17113-6146-4EE7-B4FF-95D80AE69F9A@kitp.ucsb.edu> Message-ID: <68DCB237-E644-42A6-ABE3-F88A6DA235D6@physics.ucsb.edu> Hi Matteo, That was me with the similar error about 2 weeks ago. The one I posted came from files copied from ext/Flate/zlib into ext/Flate interfering with the copying process when I tried to reinstall Tioga (for some reason "sudo ruby setup.rb clean" didn't remove them). Nothing needed to be changed in extconf.rb, I just needed to delete all the copied files to proceed. You can compare ext/Flate to a freshly unzipped tioga folder's ext/Flate so see what's supposed to be there when you start the installation process. I also found I had to sudo all the commands to get them to work properly. -Kevin On Jan 31, 2012, at 8:48 AM, Vincent Fourmond wrote: > On Tue, Jan 31, 2012 at 1:11 AM, Matteo Cantiello wrote: >> I am experiencing problems installing Tioga 1.14 on OS X (10.6.8). Ruby >> version is 1.8.7 (2010-01-10 patchlevel 249). >> This is the output I get: >> >> [...] >> >> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby >> /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb >> checking for zlib.h... yes >> checking for compress() in -lz... no >> Using the private copy of zlib: copying the files from zlib/ >> /Users/matteo/Downloads/tioga-1.14/ext/Flate/extconf.rb:16: uninitialized >> constant NotImplemented (NameError) > > That was asked some 13 days ago on this mailing list ;-)... > > What I replied was: > > "Could you try replacing the line 16 in ext/Flate/extconf.rb by simply > > rescue NotImplementedError => e > > or simply: > > rescue > > That probably should get you going. (tell me which one works !)" > > Cheers, > > Vincent > _______________________________________________ > Tioga-users mailing list > Tioga-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/tioga-users