From moravveji at iasbs.ac.ir Thu Sep 10 13:08:07 2009 From: moravveji at iasbs.ac.ir (Ehsan Moravveji) Date: Thu, 10 Sep 2009 21:38:07 +0430 (IRDT) Subject: [Tioga-users] . Message-ID: <16805.94.183.229.34.1252602487.squirrel@mail.iasbs.ac.ir> From moravveji at iasbs.ac.ir Sat Sep 12 07:29:13 2009 From: moravveji at iasbs.ac.ir (Ehsan Moravveji) Date: Sat, 12 Sep 2009 15:59:13 +0430 (IRDT) Subject: [Tioga-users] error message on Tioga ... Message-ID: <41224.213.176.122.14.1252754953.squirrel@mail.iasbs.ac.ir> Dear Edmund, Hi. I'm Ehsan, a new Tioga and EZ user. I faced a problem during the installation of Tioga: I tried installing Tioga, and received the following error message, as attached. Please take a look at the error message: root at laptop:/home/ehsan/programs/tioga-1.11# ./QUICK_INSTALL checking for zlib.h... no zlib was not found or could not be linked against, using private copy checking for ieee754.h... yes checking for isnan() ... yes Skipping MacOS-specific files Writing Makefile gcc -shared -o Dvector.so Dvector/dvector.o -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby -lrt -ldl -lcrypt -lm /usr/bin/ld: cannot find -lruby collect2: ld returned 1 exit status make: *** [Dvector.so] Error 1 All the best. -- Moravveji, Ehsan. Ph.D student of Astrophysics. Institute for Advanced Studies in Basic Sciences (IASBS). Gavazang Road, Zanjan, Iran. P.O. Box: 45195-1159 Office: (+98)241-415 2212 Fax: (+98)241-415 2104 http://iasbs.ac.ir/students/moravveji -------------- next part -------------- A non-text attachment was scrubbed... Name: er Type: application/octet-stream Size: 534 bytes Desc: not available URL: From nomo17k at gmail.com Sun Sep 13 11:53:27 2009 From: nomo17k at gmail.com (Taro Sato) Date: Sun, 13 Sep 2009 08:53:27 -0700 Subject: [Tioga-users] error message on Tioga ... In-Reply-To: <41224.213.176.122.14.1252754953.squirrel@mail.iasbs.ac.ir> References: <41224.213.176.122.14.1252754953.squirrel@mail.iasbs.ac.ir> Message-ID: Ehsan -- I think you are missing the ruby-devel package in your system as make is not finding it. Try installing it first and see what happens. In Debian $ sudo apt-get install ruby-dev will do it. Cheers, Taro On Sat, Sep 12, 2009 at 4:29 AM, Ehsan Moravveji wrote: > > Dear Edmund, > Hi. I'm Ehsan, a new Tioga and EZ user. I faced a problem during the > installation of Tioga: > I tried installing Tioga, and received the following error message, as > attached. > Please take a look at the error message: > > root at laptop:/home/ehsan/programs/tioga-1.11# ./QUICK_INSTALL > checking for zlib.h... no > zlib was not found or could not be linked against, using private copy > checking for ieee754.h... yes > checking for isnan() ... yes > Skipping MacOS-specific files > Writing Makefile > gcc -shared ? -o ?Dvector.so Dvector/dvector.o ?-Wl,-R -Wl,/usr/local/lib > -L/usr/local/lib -lruby ? ?-lrt -ldl -lcrypt -lm > /usr/bin/ld: cannot find -lruby > collect2: ld returned 1 exit status > make: *** [Dvector.so] Error 1 > > > All the best. > > -- > Moravveji, Ehsan. > Ph.D student of Astrophysics. > Institute for Advanced Studies in Basic Sciences (IASBS). > Gavazang Road, Zanjan, Iran. P.O. Box: 45195-1159 > > Office: (+98)241-415 2212 > Fax: ? ?(+98)241-415 2104 > http://iasbs.ac.ir/students/moravveji > _______________________________________________ > Tioga-users mailing list > Tioga-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/tioga-users > From moravveji at iasbs.ac.ir Mon Sep 21 12:22:06 2009 From: moravveji at iasbs.ac.ir (Ehsan Moravveji) Date: Mon, 21 Sep 2009 20:52:06 +0430 (IRDT) Subject: [Tioga-users] Error message during the installaiton of Tioga In-Reply-To: References: <41224.213.176.122.14.1252754953.squirrel@mail.iasbs.ac.ir> <62985.94.241.177.246.1253018353.squirrel@mail.iasbs.ac.ir> <1097.78.38.33.142.1253266262.squirrel@mail.iasbs.ac.ir> <1063.78.38.33.243.1253312096.squirrel@mail.iasbs.ac.ir> <16141.213.176.122.29.1253368958.squirrel@mail.iasbs.ac.ir> <12923.213.176.122.14.1253390746.squirrel@mail.iasbs.ac.ir> Message-ID: <61167.213.176.122.14.1253550126.squirrel@mail.iasbs.ac.ir> Hi. Instead of sudo apt-get install ruby1.8-dev, I used sudo apt-get install ruby. Finally, It worked! It seems likely that my ruby is successfully installed. Next, I tried installing Tioga, and received the following error message: root at laptop:/media/disk/ehsan/programs/tioga-1.11# ./QUICK_INSTALL checking for zlib.h... no zlib was not found or could not be linked against, using private copy checking for ieee754.h... yes checking for isnan() ... yes Skipping MacOS-specific files Writing Makefile cc -fno-strict-aliasing -g -g -O2 -fPIC -O2 -g -Wall -D_FILE_OFFSET_BITS=64 -I/usr/lib/ruby/1.8 -I/usr/lib/ruby/1.8/i486-linux -I. -I./include -IDvector -IDvector/include -IDtable -IDtable/include -IFunction -IFunction/include -IFlate/include -ITioga -D_HAVE_IEEE754_H -D_HAVE_ISNAN -c Flate/flate.c -o Flate/flate.o In file included from Flate/flate.c:6: Flate/zlib.h:34:19: error: zconf.h: No such file or directory In file included from Flate/flate.c:6: Flate/zlib.h:77: error: expected declaration specifiers or ?...? before ?*? token Flate/zlib.h:77: error: function definition declared ?typedef? Flate/zlib.h:77: warning: return type defaults to ?int? Flate/zlib.h: In function ?voidpf?: Flate/zlib.h:77: error: expected declaration specifiers before ?OF? Flate/zlib.h:78: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?OF? Flate/zlib.h:80: warning: empty declaration Flate/zlib.h:83: error: expected specifier-qualifier-list before ?Bytef? Flate/zlib.h:101: error: storage class specified for parameter ?z_stream? Flate/zlib.h:103: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?FAR? Flate/zlib.h:111: error: expected specifier-qualifier-list before ?uLong? Flate/zlib.h:124: error: storage class specified for parameter ?gz_header? Flate/zlib.h:126: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?FAR? Flate/zlib.h:212: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:242: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:328: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:363: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:462: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:538: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:577: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:595: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:606: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:627: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:644: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:653: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:669: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:736: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:758: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:773: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:789: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:799: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:815: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:877: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?OF? Flate/zlib.h:878: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?OF? Flate/zlib.h:880: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:949: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:957: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1009: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1024: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1040: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1047: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1066: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?gzFile? Flate/zlib.h:1068: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1085: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1098: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1106: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1114: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1122: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1135: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1142: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1151: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1157: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1163: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1173: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1183: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1201: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1208: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1217: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1223: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1229: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1236: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1245: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1260: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1276: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1285: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1301: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1317: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1319: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1321: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1325: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1327: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1346: warning: empty declaration Flate/zlib.h:1349: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1350: error: expected declaration specifiers before ?ZEXTERN? Flate/zlib.h:1351: error: expected declaration specifiers before ?ZEXTERN? In file included from Flate/flate.c:7: Flate/flate_intern.h:32: error: storage class specified for parameter ?flate_compress? Flate/flate_intern.h:38: error: storage class specified for parameter ?flate_expand? Flate/flate_intern.h:58: error: expected declaration specifiers before ?__attribute__? Flate/flate.c:68: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token Flate/flate.c:83: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token Flate/flate.c:97: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token Flate/flate.c:116: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token Flate/flate.c:147: error: expected declaration specifiers before ?__attribute__? Flate/flate_intern.h:38: error: declaration for parameter ?flate_expand? but no such parameter Flate/flate_intern.h:32: error: declaration for parameter ?flate_compress? but no such parameter Flate/zlib.h:124: error: declaration for parameter ?gz_header? but no such parameter Flate/zlib.h:101: error: declaration for parameter ?z_stream? but no such parameter Flate/flate.c:158: error: expected ?{? at end of input make: *** [Flate/flate.o] Error 1 What is this zlib which cannot be found? Yours. From fourmond at gmail.com Mon Sep 21 16:02:17 2009 From: fourmond at gmail.com (Vincent Fourmond) Date: Mon, 21 Sep 2009 22:02:17 +0200 Subject: [Tioga-users] Error message during the installaiton of Tioga In-Reply-To: <61167.213.176.122.14.1253550126.squirrel@mail.iasbs.ac.ir> References: <41224.213.176.122.14.1252754953.squirrel@mail.iasbs.ac.ir> <62985.94.241.177.246.1253018353.squirrel@mail.iasbs.ac.ir> <1097.78.38.33.142.1253266262.squirrel@mail.iasbs.ac.ir> <1063.78.38.33.243.1253312096.squirrel@mail.iasbs.ac.ir> <16141.213.176.122.29.1253368958.squirrel@mail.iasbs.ac.ir> <12923.213.176.122.14.1253390746.squirrel@mail.iasbs.ac.ir> <61167.213.176.122.14.1253550126.squirrel@mail.iasbs.ac.ir> Message-ID: <4AB7DBC9.3090805@gmail.com> Hello ! Ehsan Moravveji wrote: > Instead of sudo apt-get install ruby1.8-dev, I used sudo apt-get install > ruby. Hmmm... If you're using Debian or a Debian-based distribution (Ubuntu), you might as well install libtioga-ruby1.8 and be done with it ;-)... (it is slightly outdated on Ubuntu). > Finally, It worked! It seems likely that my ruby is successfully > installed. > Next, I tried installing Tioga, and received the following error message: > > root at laptop:/media/disk/ehsan/programs/tioga-1.11# ./QUICK_INSTALL > checking for zlib.h... no > zlib was not found or could not be linked against, using private copy > checking for ieee754.h... yes > checking for isnan() ... yes > Skipping MacOS-specific files > Writing Makefile > cc -fno-strict-aliasing -g -g -O2 -fPIC -O2 -g -Wall > -D_FILE_OFFSET_BITS=64 -I/usr/lib/ruby/1.8 -I/usr/lib/ruby/1.8/i486-linux > -I. -I./include -IDvector -IDvector/include -IDtable -IDtable/include > -IFunction -IFunction/include -IFlate/include -ITioga -D_HAVE_IEEE754_H > -D_HAVE_ISNAN -c Flate/flate.c -o Flate/flate.o > In file included from Flate/flate.c:6: > Flate/zlib.h:34:19: error: zconf.h: No such file or directory Hmmm... In principle this should not happen - I'll try to fix that, but you have better to do: apt-get install zlib1-dev (or) apt-get install zlib1g-dev and the whole compilation should work Enjoy ! Vincent -- A guess is just a guess until you turn it into a pie chart. Then it's an analysis. -- Scott Adams Vincent, listening to Shes A River (Simple Minds) From moravveji at iasbs.ac.ir Wed Sep 23 07:20:56 2009 From: moravveji at iasbs.ac.ir (Ehsan Moravveji) Date: Wed, 23 Sep 2009 14:50:56 +0330 (IRST) Subject: [Tioga-users] Error on the first run of Tioga ... Message-ID: <52613.213.176.122.14.1253704856.squirrel@mail.iasbs.ac.ir> Dear Tioga friends, Hi. After a week of trying to install Tioga, and being so curious to plot the output of my MESA run, I still face error messages. Here is the last message I received on the very first try: ehsan at laptop:/media/disk/ehsan/programs/tioga-1.11/samples$tioga sample.rb -l /usr/local/lib/site_ruby/1.8/i486-linux/Tioga/FigureMaker.so: libruby.so.1.8: cannot open shared object file: No such file or directory - /usr/local/lib/site_ruby/1.8/i486-linux/Tioga/FigureMaker.so (LoadError) from /usr/local/lib/site_ruby/1.8/Tioga/tioga.rb:1 from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui_cmds.rb:22:in `require' from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui_cmds.rb:22 from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui.rb:2:in `require' from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui.rb:2 from /usr/local/bin/tioga:2:in `require' from /usr/local/bin/tioga:2 -- Moravveji, Ehsan. Ph.D student of Astrophysics. Institute for Advanced Studies in Basic Sciences (IASBS). Gavazang Road, Zanjan, Iran. P.O. Box: 45195-1159 Office: (+98)241-415 2212 Fax: (+98)241-415 2104 http://iasbs.ac.ir/students/moravveji From fourmond at gmail.com Wed Sep 23 05:42:27 2009 From: fourmond at gmail.com (Vincent Fourmond) Date: Wed, 23 Sep 2009 11:42:27 +0200 Subject: [Tioga-users] Error on the first run of Tioga ... In-Reply-To: <52613.213.176.122.14.1253704856.squirrel@mail.iasbs.ac.ir> References: <52613.213.176.122.14.1253704856.squirrel@mail.iasbs.ac.ir> Message-ID: <2e474d6f0909230242l1f9cddfch9cd166f94eb8ff3f@mail.gmail.com> Hello, On Wed, Sep 23, 2009 at 1:20 PM, Ehsan Moravveji wrote: > > Dear Tioga friends, > Hi. After a week of trying to install Tioga, and being so curious to plot > the output of my MESA run, I still face error messages. Here is the last > message I received on the very first try: > > ehsan at laptop:/media/disk/ehsan/programs/tioga-1.11/samples$tioga sample.rb -l > /usr/local/lib/site_ruby/1.8/i486-linux/Tioga/FigureMaker.so: > libruby.so.1.8: cannot open shared object file: No such file or directory > - /usr/local/lib/site_ruby/1.8/i486-linux/Tioga/FigureMaker.so (LoadError) > ? ? ? ?from /usr/local/lib/site_ruby/1.8/Tioga/tioga.rb:1 > ? ? ? ?from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui_cmds.rb:22:in `require' > ? ? ? ?from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui_cmds.rb:22 > ? ? ? ?from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui.rb:2:in `require' > ? ? ? ?from /usr/local/lib/site_ruby/1.8/Tioga/tioga_ui.rb:2 > ? ? ? ?from /usr/local/bin/tioga:2:in `require' > ? ? ? ?from /usr/local/bin/tioga:2 You definitely have some serious problems here. What is the system you're using ? How is Ruby installed ? Cheers, Vincent