[reportlab-users] Problem building/installing renderPM: gcc failes

Robin Becker robin at reportlab.com
Tue Apr 22 05:12:38 EDT 2008


Paul Okop wrote:

> Tried to install renderPM-library: gcc returned multiple errors in _renderPM.c

>

> examples:

> ...

> _renderPM.c:418: error: ‘gstateObject’ has no member named ‘path’

> _renderPM.c:418: error: ‘gstateObject’ has no member named ‘pathLen’

> ...

> _renderPM.c:441: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

> _renderPM.c:447: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

> ...

> _renderPM.c:1348: error: expected ‘}’ before ‘gstate_clipPathClear’

> _renderPM.c:1349: error: expected ‘}’ before ‘gstate_clipPathSet’

> _renderPM.c:1350: error: expected ‘}’ before ‘gstate_curveTo’

> ...

> _renderPM.c:1914: error: ‘gstateType’ undeclared (first use in this function)

> _renderPM.c:1914: error: ‘PyType_Type’ undeclared (first use in this function)

> ...

> error: command 'gcc' failed with exit status 1

>

>

> Is this thing works? Or how to make it work?

.......
what kind of python are you running? Did you just run

python setup.py build

or something else?
--
Robin Becker


More information about the reportlab-users mailing list