[Scilab-Dev] Error building documentation

Sylvestre Ledru sylvestre.ledru at scilab-enterprises.com
Fri Oct 25 16:14:03 CEST 2013


Bonjour Guillaume,

I had a similar issue with Debian/Ubuntu packages. We switched to gcc
4.8 and it also broke Scilab.
Switching back to gcc 4.7 fixed the issue but I am happy to know that
using the Dynamic Stack fixed the issue.
It is a better fix.

Merci,
Sylvestre


On 25/10/2013 15:59, Guillaume Horel wrote:
> Turns out the bug was due to my switching to gcc-4.8. See these two
> bug reports: http://bugzilla.scilab.org/show_bug.cgi?id=1262 and
> https://bugzilla.redhat.com/show_bug.cgi?id=964307. I fixed it using
> by forcing USE_DYNAMIC_STACK as suggested.
>
> Guillaume
>
>
> On Sat, Oct 19, 2013 at 3:03 PM, Guillaume Horel
> <guillaume.horel at gmail.com <mailto:guillaume.horel at gmail.com>> wrote:
>
>     Hello,
>
>     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:
>
>     -- Building documentation (en_US) --
>     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);"
>     No protocol specified
>     Error: unable to open display :0
>     Warning: Could not find Java package
>     '/var/tmp/portage/sci-mathematics/scilab-5.4.999/work/scilab-5.4.999/scilab/thirdparty/ecj.jar'.
>     Some problems during the loading of the Java libraries occurred.
>     This could lead to inconsistent behaviours.
>     Please check SCI/etc/classpath.xml.
>      
>      Failed to execute SCI/modules/graphics/etc/graphics.start:  
>      
>      File
>     "/var/tmp/portage/sci-mathematics/scilab-5.4.999/work/scilab-5.4.999/scilab/modules/graphics/macros/datatips/lib"
>     does not exist.  
>     make: *** [doc] Error 1
>
>     Probably not relevant, but my system is on gentoo intel 32bits.
>
>     This looks like two seperate issues, I don't think there are related:
>     - 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.
>     - the directory modules/graphics/macros/datatips/lib doesn't exist.
>
>     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.
>
>     Thanks,
>     Guillaume
>
>
>
>
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20131025/ae28c552/attachment.htm>


More information about the dev mailing list