Please consider: This is the (growing) troubleshooting page of mwlib. Please use the search functionality of your Browser (e.g. CTRL-F) or your eyes.
Is there any issue not posted here OR in the  mailing list, please join the mailing list, and let us know about.

Errors During Install

No 'cc1plus'

Problem: The make-Process fails with:

  root@server:~/mwlib.hg# make
  [..]
  /python2.5 -c mwlib/_mwscan.cc -o build/temp.linux-i686-2.5/mwlib/_mwscan.o
  gcc: error trying to exec 'cc1plus': execvp: File or Directory not found
  error: command 'gcc' failed with exit status 1
  [..]

Solution: Please install g++:

On Debian:

# apt-get install g++


No 'rst2html.py'

Problem: There are no  docutils installed.

  root@server:~/mwlib.hg# make
  [..]
  make[1]: Entering directory `/home/rf/tools/mwlib.hg/docs'
  rst2html.py commands.txt >commands.html
  /bin/sh: rst2html.py: command not found
  make[1]: *** [commands.html] Error 127
  [..]

Solution: Please install with:

# easy_install docutils

(Installs docutils 0.5) or manual install from  http://docutils.sourceforge.net/.
Warning: 'apt-get install docutils' installs docutils 0.4-6, but the error still exsist!
Please use easy_install!
This error was reported in the  mailing list: Problem installing mwlib.


Python.h: No such file or directory

Problem (maybe Debian specific): python-dev is missing.

  root@server:~/mwlib.hg# make
  for Ada/C/ObjC but not for C++
  _mwscan.re:5:20: error: Python.h: No such file or directory 
  [..]

Solution: Please Install python-dev:

On Debian:

# apt-get install python-dev

This error was reported in the  mailing list: New install problem with mwlib and Collections.


Python was built with Visual Studio 2003

Solution: See instructions to configure Python to use MinGW.

Please consider the  mailing list: Problems installing mwlib on windows.


_expander.cc or _mwscan.cc

Problem: You get something like:

  error: can't copy 'mwlib/_expander.cc': doesn't exist or not a regular file 

or

  gcc: mwlib/_expander.cc: No such file or directory

(or something else with 'mwlib\_mwscan.cc')

Solution: Please install  re2c >= 0.13.

This error was reported in the  mailing list: Wiki markup Parser HELP......