diff options
Diffstat (limited to 'scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp')
-rw-r--r-- | scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp b/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp index d06c2e2..7235b6e 100644 --- a/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp +++ b/scilab/modules/helptools/sci_gateway/cpp/sci_buildDocv2.cpp | |||
@@ -227,7 +227,7 @@ extern "C" | |||
227 | { | 227 | { |
228 | doc->setWorkingLanguage((char *) language.c_str()); | 228 | doc->setWorkingLanguage((char *) language.c_str()); |
229 | doc->setExportFormat((char *) exportFormat.c_str()); | 229 | doc->setExportFormat((char *) exportFormat.c_str()); |
230 | doc->setIsToolbox(Rhs == 4); | 230 | doc->setIsToolbox(Rhs == 4); |
231 | doc->process((char *) masterXML.c_str(), (char *) styleSheet.c_str()); | 231 | doc->process((char *) masterXML.c_str(), (char *) styleSheet.c_str()); |
232 | } | 232 | } |
233 | else | 233 | else |
@@ -240,6 +240,7 @@ extern "C" | |||
240 | { | 240 | { |
241 | Scierror(999,_("%s: Error while building documentation: %s.\n"), fname, ex.getJavaDescription().c_str()); | 241 | Scierror(999,_("%s: Error while building documentation: %s.\n"), fname, ex.getJavaDescription().c_str()); |
242 | Scierror(999,_("%s: Execution Java stack: %s.\n"), fname, ex.getJavaStackTrace().c_str()); | 242 | Scierror(999,_("%s: Execution Java stack: %s.\n"), fname, ex.getJavaStackTrace().c_str()); |
243 | Scierror(999,_("If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1\n")); | ||
243 | return FALSE; | 244 | return FALSE; |
244 | } | 245 | } |
245 | 246 | ||