<div dir="ltr"><div>Turns out the bug was due to my switching to gcc-4.8. See these two bug reports: <a href="http://bugzilla.scilab.org/show_bug.cgi?id=1262">http://bugzilla.scilab.org/show_bug.cgi?id=1262</a> and <a href="https://bugzilla.redhat.com/show_bug.cgi?id=964307">https://bugzilla.redhat.com/show_bug.cgi?id=964307</a>. I fixed it using by forcing USE_DYNAMIC_STACK as suggested.<br>

<br></div>Guillaume<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Oct 19, 2013 at 3:03 PM, Guillaume Horel <span dir="ltr"><<a href="mailto:guillaume.horel@gmail.com" target="_blank">guillaume.horel@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>since a month or so, I can't build the documentation in scilab anymore with master. Everythin compiles fine, however when building the docs, it fails with the following message:<br>

<br>-- Building documentation (en_US) --<br>
LANG=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 ./bin/scilab-adv-cli -noatomsautoload -nb -nouserstartup -e "try xmltojar([],[],'en_US');catch disp(lasterror()); exit(-1);end;exit(0);"<br>No protocol specified<br>


Error: unable to open display :0<br>Warning: Could not find Java package '/var/tmp/portage/sci-mathematics/scilab-5.4.999/work/scilab-5.4.999/scilab/thirdparty/ecj.jar'.<br>Some problems during the loading of the Java libraries occurred.<br>


This could lead to inconsistent behaviours.<br>Please check SCI/etc/classpath.xml.<br> <br> Failed to execute SCI/modules/graphics/etc/graphics.start:   <br> <br> File "/var/tmp/portage/sci-mathematics/scilab-5.4.999/work/scilab-5.4.999/scilab/modules/graphics/macros/datatips/lib" does not exist.   <br>


make: *** [doc] Error 1<br><br>Probably not relevant, but my system is on gentoo intel 32bits.<br><br>This looks like two seperate issues, I don't think there are related:<br>- Error: unable to open display :0: This is a classic error when you try to run a command which tries to access X under a different user than the one who started X. Scilab shouldn't try to access the X server in the cli mode.<br>


- the directory modules/graphics/macros/datatips/lib doesn't exist.<br><br>I figured I would ask people on this list, since the scilab devs might know what's wrong right away. Otherwise I'll try to bisect which commit is responsible.<br>


<br>Thanks,<br>Guillaume<br><br></div>
</blockquote></div><br></div>