Hello everybody !<br>
<br>
<br>
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.<br>
<br>
Working together with Vince, he finally found the solution which was to add the two lines<br>
<br>
#undef PRIVATE<br>
#define PRIVATE static<br>
<br>
just after <br>
<br>
#include &lt;namespace.h&gt;<br>
<br>
in the files split/Flate/flate_intern.h, split/Dvector/dvector_intern.h and split/Dtable/dtable_intern.h<br>
<br>
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 <br>
<br>
cat visibility.patch | patch -p0<br>
<br>
(or -p1 if the first one does not work) and then compile normally, there should not be any more problem.<br>
<br>
<br>
Just for information,<br>
<br>
Cheers,<br>
<br>
JJ<br>