I'm trying to install mwlib on a x86_64 rhel5 box. I get the following errors:
>easy_install mwlib Searching for mwlib Reading http://pypi.python.org/simple/mwlib/ Reading http://code.pediapress.com/ Best match: mwlib 0.12.12 Downloading http://pypi.python.org/packages/source/m/mwlib/mwlib-0.12.12.tar.gz#md5=3b13d173f91ad70283fe2799e70905aa Processing mwlib-0.12.12.tar.gz Running mwlib-0.12.12/setup.py -q bdist_egg --dist-dir /tmp/ easy_install-Se8Njj/mwlib-0.12.12/egg-dist-tmp-8B5aI1 USING: mwlib.templ.nodes mwlib/templ/nodes.c USING: mwlib.templ.evaluate mwlib/templ/evaluate.c mwlib/_uscan.re:5:20: error: Python.h: No such file or directory mwlib/_uscan.re:57: error: expected `)' before â*â token mwlib/_uscan.re:112: error: ISO C++ forbids declaration of âPy_UNICODEâ with no type mwlib/_uscan.re:112: error: expected â;â before â*â token mwlib/_uscan.re:114: error: ISO C++ forbids declaration of âPy_UNICODEâ with no type mwlib/_uscan.re:114: error: expected â;â before â*â token mwlib/_uscan.re:115: error: ISO C++ forbids declaration of âPy_UNICODEâ with no type mwlib/_uscan.re:115: error: expected â;â before â*â token mwlib/_uscan.re:116: error: ISO C++ forbids declaration of âPy_UNICODEâ with no type mwlib/_uscan.re:116: error: expected â;â before â*â token mwlib/_uscan.re: In member function âint Scanner::found(mwtok)â: mwlib/_uscan.re:75: error: âcursorâ was not declared in this scope mwlib/_uscan.re:75: error: âstartâ was not declared in this scope mwlib/_uscan.re:84: error: âstartâ was not declared in this scope mwlib/_uscan.re:84: error: âsourceâ was not declared in this scope mwlib/_uscan.re:85: error: âcursorâ was not declared in this scope mwlib/_uscan.re: In member function âbool Scanner::bol()â: mwlib/_uscan.re:91: error: âstartâ was not declared in this scope mwlib/_uscan.re:91: error: âsourceâ was not declared in this scope mwlib/_uscan.re: In member function âbool Scanner::eol() constâ: mwlib/_uscan.re:100: error: âcursorâ was not declared in this scope mwlib/_uscan.re: In member function âint Scanner::scan()â: mwlib/_uscan.re:130: error: âstartâ was not declared in this scope mwlib/_uscan.re:130: error: âcursorâ was not declared in this scope mwlib/_uscan.re:132: error: âPy_UNICODEâ was not declared in this scope mwlib/_uscan.re:132: error: âmarkerâ was not declared in this scope mwlib/_uscan.re:134: error: âsave_cursorâ was not declared in this scope mwlib/_uscan.cc:162: error: expected `;' before âyychâ mwlib/_uscan.cc:165: error: âyychâ was not declared in this scope mwlib/_uscan.cc:473: error: expected `;' before âyychâ mwlib/_uscan.cc:475: error: âyychâ was not declared in this scope mwlib/_uscan.re:276: error: âtmpâ was not declared in this scope mwlib/_uscan.re: At global scope: mwlib/_uscan.re:317: error: expected constructor, destructor, or type conversion before â*â token error: Setup script exited with error: command 'gcc' failed with exit status 1 I've got gcc and gcc-c++ installed: gcc-c++-4.1.2-46.el5_4.1 libgcc-4.1.2-46.el5_4.1 libgcc-4.1.2-46.el5_4.1 gcc-4.1.2-46.el5_4.1 all x86_64 thoughts? -- You received this message because you are subscribed to the Google Groups "mwlib" 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/mwlib?hl=en.
