From damien.pollet at gmail.com Tue Aug 15 10:45:13 2006 From: damien.pollet at gmail.com (Damien Pollet) Date: Tue, 15 Aug 2006 16:45:13 +0200 Subject: [Tioga-users] missing TexPreamble.rb ? Message-ID: <34b4844b0608150745n78959b4qf896fd36dfb76fad@mail.gmail.com> Hi list, Here is what I get after a clean install on Mac OS X 10.4 with ruby 1.8.4 from DarwinPorts: $ ruby ts_Tioga.rb /opt/local/lib/ruby/site_ruby/1.8/i686-darwin8.7.1/Flate.bundle: no such file to load -- Tioga/TexPreamble.rb (LoadError) from /opt/local/lib/ruby/site_ruby/1.8/Tioga/tioga.rb:1 from ts_Tioga.rb:3 I tried changing tioga.rb to require FigMkr.rb instead of FigureMaker, but then tests don't pass: $ ruby ts_Tioga.rb Loaded suite ts_Tioga Started ...E........................................................ EERROR while executing command: # undefined method `private_make' for # [version: 1.1.4] /opt/local/lib/ruby/site_ruby/1.8/Tioga/FigMkr.rb:1431:in `make_figure' /opt/local/lib/ruby/site_ruby/1.8/Tioga/FigMkr.rb:1481:in `make_preview_pdf' ./tc_FMkr.rb:67:in `test_fmkr' /opt/local/lib/ruby/1.8/test/unit/testcase.rb:70:in `run' /opt/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run' /opt/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run' ERROR: make failed for Icon_Test undefined method `get_save_filename' for # [version: 1.1.4] /opt/local/lib/ruby/site_ruby/1.8/Tioga/FigMkr.rb:1482:in `make_preview_pdf' ./tc_FMkr.rb:67:in `test_fmkr' /opt/local/lib/ruby/1.8/test/unit/testcase.rb:70:in `run' /opt/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run' /opt/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run' /opt/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run' >>> NOTE: please look at tests/Icon_Test.pdf and compare it to samples/Icon.pdf .... Finished in 0.166982 seconds. 1) Error: test_compression_decompression(TestDtable): NameError: uninitialized constant TestDtable::Flate ./tc_Flate.rb:21:in `test_compression_decompression' 2) Error: test_flate(TestFMkr): NameError: uninitialized constant TestFMkr::Flate ./tc_FMkr.rb:75:in `do_one_string' ./tc_FMkr.rb:83:in `test_flate' 65 tests, 687 assertions, 0 failures, 2 errors Any suggestion? Cheers, -- Damien Pollet type less, do more From vincent.fourmond at 9online.fr Tue Aug 22 13:23:14 2006 From: vincent.fourmond at 9online.fr (Vincent Fourmond) Date: Tue, 22 Aug 2006 19:23:14 +0200 Subject: [Tioga-users] missing TexPreamble.rb ? In-Reply-To: <34b4844b0608150745n78959b4qf896fd36dfb76fad@mail.gmail.com> References: <34b4844b0608150745n78959b4qf896fd36dfb76fad@mail.gmail.com> Message-ID: <44EB3D82.1070200@9online.fr> Hello ! > Any suggestion? Sorry, it's all my fault... I keep on having many different copies of a packaging software of my own on my computer, and the bug you see has been fixed long ago, but was not forwarded to tioga. Sorry. A 1.1.5 release will be awaiting for you on rubyforge as soon as possible. Cheers ! Vincent, just back from holidays... From jeanjulien.fleck at gmail.com Thu Aug 31 16:01:45 2006 From: jeanjulien.fleck at gmail.com (Fleck Jean-Julien) Date: Thu, 31 Aug 2006 21:01:45 +0100 Subject: [Tioga-users] Tioga on Sun machines Message-ID: Hello everybody ! I have been trying to compile Tioga on a Sun machine for some time, and even if it seemed to compile (sort of) fine, every script using a Dvector or a Dtable produced a segmentation fault and made irb crash. Working together with Vince, he finally found the solution which was to add the two lines #undef PRIVATE #define PRIVATE static just after #include in the files split/Flate/flate_intern.h, split/Dvector/dvector_intern.h and split/Dtable/dtable_intern.h On his advices, I produced a .patch file joined to this mail that could be used before compiling Tioga if you ever need to make it run on a Sun Machine. Assuming you are in the tioga/ directory where the script QUICK_INSTALL is, apply cat visibility.patch | patch -p0 (or -p1 if the first one does not work) and then compile normally, there should not be any more problem. Just for information, Cheers, JJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/tioga-users/attachments/20060831/2b34d684/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: visibility.patch Type: application/octet-stream Size: 2073 bytes Desc: not available Url : http://rubyforge.org/pipermail/tioga-users/attachments/20060831/2b34d684/attachment.obj