From moravveji at iasbs.ac.ir Sat Oct 3 15:03:01 2009 From: moravveji at iasbs.ac.ir (Ehsan Moravveji) Date: Sat, 3 Oct 2009 22:33:01 +0330 (IRST) Subject: [Tioga-users] portfolio error Message-ID: <28996.213.176.122.14.1254596581.squirrel@mail.iasbs.ac.ir> Dear Friends, Hi. Following the tutorial step by step, I receive the following line after asking for the portfolio to be created: ehsan at ehsan:~/programs/tioga-1.11/samples$ tioga sample -s loading /home/ehsan/programs/tioga-1.11/samples/sample.rb XtUngrabButton(drawArea,3,0) Warning: Attempt to remove nonexistent passive grab /home/ehsan/programs/tioga-1.11/samples/figures_out/Blue.pdf XtUngrabButton(drawArea,3,0) Warning: Attempt to remove nonexistent passive grab /home/ehsan/programs/tioga-1.11/samples/figures_out/Red.pdf ehsan at ehsan:~/programs/tioga-1.11/samples$ tioga sample -p loading /home/ehsan/programs/tioga-1.11/samples/sample.rb 0 /home/ehsan/programs/tioga-1.11/samples/figures_out/Blue.pdf 1 /home/ehsan/programs/tioga-1.11/samples/figures_out/Red.pdf Error: Couldn't open file '/home/ehsan/programs/tioga-1.11/samples/figures_out/sample_portfolio.pdf' XtUngrabButton(drawArea,3,0) Warning: Attempt to remove nonexistent passive grab /home/ehsan/programs/tioga-1.11/samples/figures_out/sample_portfolio.pdf Any idea? -- 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 jacobm at stanford.edu Sat Oct 17 06:23:06 2009 From: jacobm at stanford.edu (Jacob Mattingley) Date: Sat, 17 Oct 2009 03:23:06 -0700 Subject: [Tioga-users] ruby 1.9 support Message-ID: <554DFC14-AEE6-4C47-B566-DABE458B6731@stanford.edu> tioga's great and produces high quality output. I've been using it a bit with ruby 1.8. has anyone got tioga working fully with ruby 1.9, and if so, any chance to hear more about it? I'm using a mac, though hopefully it won't matter much. I made a number of source code changes to try and get it working, but failed. I'll post some of the output at the end, in case that helps. Jacob ---8<--- /usr/bin/gcc-4.2 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin10 - I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ ruby1.9-1.9.1 -I. -DHAVE_ZLIB_H -I/opt/local/include -D_XOPEN_SOURCE - D_DARWIN_C_SOURCE -fno-common -O2 -arch x86_64 -O2 -g -Wall -Wno- parentheses -fno-common -pipe -fno-common -o flate.o -c flate.c In file included from flate.c:4: ../symbols.h:8:23: error: namespace.h: No such file or directory In file included from flate.c:4: ../symbols.h:11: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? ../symbols.h:13: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? ../symbols.h:14: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? In file included from flate.c:5: ../symbols.c:23:20: error: intern.h: No such file or directory In file included from flate.c:5: ../symbols.c:54: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? ../symbols.c:61: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? ../symbols.c:74: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? In file included from flate.c:7: flate_intern.h:32: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int? flate_intern.h:38: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int? flate_intern.h:58: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? flate.c:9:18: error: defs.h: No such file or directory flate.c:68: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?VALUE? flate.c:83: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int? flate.c:97: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?VALUE? flate.c:116: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int? flate.c:147: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?void? make: *** [flate.o] Error 1 From fourmond at gmail.com Tue Oct 27 17:40:40 2009 From: fourmond at gmail.com (Vincent Fourmond) Date: Tue, 27 Oct 2009 22:40:40 +0100 Subject: [Tioga-users] ruby 1.9 support In-Reply-To: <554DFC14-AEE6-4C47-B566-DABE458B6731@stanford.edu> References: <554DFC14-AEE6-4C47-B566-DABE458B6731@stanford.edu> Message-ID: <4AE768D8.7030201@gmail.com> Hello Jacob ! Sorry for being rather late to reply... Jacob Mattingley wrote: > tioga's great and produces high quality output. I've been using it a bit > with ruby 1.8. :-) > has anyone got tioga working fully with ruby 1.9, and if so, any chance > to hear more about it? I'm using a mac, though hopefully it won't matter > much. I made a number of source code changes to try and get it working, > but failed. I'll post some of the output at the end, in case that helps. > > /usr/bin/gcc-4.2 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin10 > -I/opt/local/include/ruby1.9-1.9.1/ruby/backward > -I/opt/local/include/ruby1.9-1.9.1 -I. -DHAVE_ZLIB_H > -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common > -O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses -fno-common -pipe > -fno-common -o flate.o -c flate.c > In file included from flate.c:4: > ../symbols.h:8:23: error: namespace.h: No such file or directory This is the cause of your problem, but in principle, it has nothing to do with ruby1.9.1 (or, at least, it should not). How do you compile tioga ? If you use the ./HOME_INSTALL or ./QUICK_INSTALL way, could you please post the contents of your split/Makefile file here ? Cheers, Vincent -- His followers called him Mahasamatman and said he was a god. He preferred to drop the Maha- and the -atman, however, and called himself Sam. -- Roger Zelazny, Lord of Light Vincent, not listening to anything for now From fourmond at gmail.com Thu Oct 29 14:06:37 2009 From: fourmond at gmail.com (Vincent Fourmond) Date: Thu, 29 Oct 2009 19:06:37 +0100 Subject: [Tioga-users] Fwd: tioga samples In-Reply-To: <918A76BE-58CC-48D9-992E-319A91CB7D05@kitp.ucsb.edu> References: <14576.213.176.122.14.1256666147.squirrel@mail.iasbs.ac.ir> <918A76BE-58CC-48D9-992E-319A91CB7D05@kitp.ucsb.edu> Message-ID: <4AE9D9AD.6080301@gmail.com> [I'mm CCing tioga-users, as it may interest other readers in the list] Hello, Bill Paxton wrote: >> *From: *"Ehsan Moravveji" > > >> *Date: *October 27, 2009 10:55:47 AM PDT >> *To: *"Bill Paxton" > >> *Subject: **tioga samples* >> >> >> Dear Bill, >> Hi. >> I have installed libtioga-ruby again, on my new laptop. >> However, I cannot find the sample directory with all .rb files, where the >> tutorial is based on. It sounds as if you are using Debian (or a Debian-based distribution, such as Ubuntu). You can find the samples in the libtioga-ruby-examples package, in the tarball found at: /usr/share/doc/libtioga-ruby-examples/samples.tar.gz Cheers, Vincent -- The moon was high now, in a sky as black as a cup of coffee that wasn't very black at all. -- Terry Pratchet, Men at arms Vincent, not listening to anything for now