[Tioga-users] Tioga on Sun machines
Fleck Jean-Julien
jeanjulien.fleck at gmail.com
Thu Aug 31 16:01:45 EDT 2006
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 <namespace.h>
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
More information about the Tioga-users
mailing list