Compile Docs on RH 8.0

Posted by Liguo Song on
URL: http://quantlib.414.s1.nabble.com/Compile-Docs-on-RH-8-0-tp10364.html

When trying to build the doc rpm package, I encountered a problem on the docs-ps
stage. After some investigation, I learned that it is due to the secure mode of
dvips that Redhat configured. In this mode, if no option is given, the output of
dvips will go to a printer and it is not allowed. Please read the following
discussion for details:

http://www.mail-archive.com/tetex@.../msg01782.html
https://sourceforge.net/tracker/index.php?func=detail&aid=717663&group_id=23164&atid=377580

One solution to avoid this problem is to invoke dvips with "-o file.ps". This
redirect the output to the stdin, and we can redirect it to the postscript file.
For example in the Docs/latex directory, /usr/bin/dvips -o refman.ps refman.

This is causing the problem of building docs on RH8.0, and I don't know about
RH9. I will test later.

Should we use this in our make files? If so, can anyone commit this change?

Thanks.


Liguo (Leo)