[lxml-dev] Re: lxml build problem
Allan Curtis
allan at curtisnz.com
Mon Feb 27 10:44:43 CET 2006
On Monday 27 February 2006 22:14, Olivier Grisel wrote:
Olivier,
Thanks for your very quick response.
<snip>
> This is a konwn problem: your version of Pyrex does not support gcc4 as
> explained on the installation page of lxml:
>
> http://codespeak.net/lxml/installation.html
>
> Pyrex 0.9.3.1 does not fix the problem entirely.
>
> You can download a patch above or you can directly 'svn co' a prepatched
> version of pyrex here for instance:
>
> http://svn.nuxeo.org/pub/vendor/Pyrex/tags/0.9.3-gcc4-patched/
I thought that v0.9.3.1 of Pyrex was patched. Anyway, I have progress but get
further errors:
running build_ext
building 'lxml.etree' extension
Traceback (most recent call last):
File "setup.py", line 29, in ?
cmdclass = {'build_ext': build_pyx}
File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib64/python2.4/distutils/command/install.py", line 511, in run
self.run_command('build')
File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib64/python2.4/distutils/command/build.py", line 112, in run
self.run_command(cmd_name)
File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 279, in run
self.build_extensions()
File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 405, in
build _extensions
self.build_extension(ext)
File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 442, in
build _extension
sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)
I am new to Python, but this error appears to be a Python rather than
assembler issue. Any guidance would be much appreciated.
Kind Regards
--
Allan Curtis
More information about the lxml-dev
mailing list