mpmath's documentation uses the "pngmath" extension which indeed depends on latex to render equations for HTML output.
Georg wen heping schrieb: > After install latex, the problem fixed. > Does it mean sphinx depends on latex? > > > wen > > On Tue, Jan 27, 2009 at 7:27 PM, wen heping <[email protected] > <mailto:[email protected]>> wrote: > > Hi: > > When I build mpmath-0.11 (http://code.google.com/p/mpmath/). > the package could built well but failed building docs with sphinx. > The build message is copied below. > Could you help me to fix the problem?Thanks. > > Regards, > wen > > > > > fb8# cd work/mpmath-0.11 > fb8# cd doc > fb8# ls -l > total 6 > -rwxrwxrwx 1 root wheel 135 Jan 26 20:45 build.py > -rwxrwxrwx 1 root wheel 234 Jan 26 20:45 run_doctest.py > drwxrwxrwx 4 root wheel 512 Jan 26 20:47 source > fb8# python build.py > No builder selected, using default: html > Sphinx v0.5.1, building html > building [html]: targets for 26 source files that are out of date > updating environment: 26 added, 0 changed, 0 removed > reading sources... basics calculus/approximation > calculus/differentiation calculus/index calculus/integration > calculus/odes calculus/optimization calculus/polynomials > calculus/sums_limits functions/constants functions/elliptic > functions/expintegrals functions/gamma functions/hyperbolic > functions/hypergeometric functions/index functions/numberparts > functions/powers functions/trigonometric functions/zeta > identification index intervals matrices setup technical > WARNING: /usr/local/tinderbox/ > > portstrees/FreeBSD/ports/math/py-mpmath/work/mpmath-0.11/doc/source/basics.txt:180: > Image file not readable: plot.png > WARNING: > > /usr/local/tinderbox/portstrees/FreeBSD/ports/math/py-mpmath/work/mpmath-0.11/doc/source/basics.txt:186: > Image file not readable: cplot.png > pickling environment... done > checking consistency... done > preparing documents... done > writing output... basics WARNING: LaTeX command 'latex' cannot be > run (needed for math display), check the pngmath_latex setting > calculus/approximation calculus/differentiation calculus/index > calculus/integration calculus/odes calculus/optimization > calculus/polynomials calculus/sums_limits functions/constants > functions/elliptic functions/expintegrals functions/gamma > functions/hyperbolic functions/hypergeometric functions/index > functions/numberparts Exception occurred: > File "/usr/local/lib/python2.5/subprocess.py", line 1003, in > _execute_child > errpipe_read, errpipe_write = os.pipe() > OSError: [Errno 12] Cannot allocate memory > The full traceback has been saved in /tmp/sphinx-err-sIPrcY.log, if > you want to report the issue to the author. > Please also report this if it was a user error, so that a better > error message can be provided next time. > Send reports to [email protected] > <mailto:[email protected]>. Thanks! > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
