[reportlab-users] Install problem with Reportlab 2.0

Robin Becker robin at reportlab.com
Fri Oct 6 05:43:19 EDT 2006


Parsifal Herzog wrote:
> Installing Reportlab 2.0 on my Mandriva 2006 system fails with the 
> message:
> 
> [parz at lobsang reportlab]$ python setup.py build
> Traceback (most recent call last):
>   File "setup.py", line 258, in ?
>     run()
>   File "setup.py", line 177, in run
>     RL_ACCEL = _find_rl_accel()
>   File "setup.py", line 85, in _find_rl_accel
>     if len(_)>1: _.sort(_cmp_rl_accel_dirs)
>   File "setup.py", line 64, in _cmp_rl_accel_dirs
>     return cmp(_rl_accel_dir_info(b),__rl_accel_dir_info(a))
>   File "setup.py", line 61, in _rl_accel_dir_info
>     return getVersionFromCCode(fn),os.stat(fn)[stat.ST_MTIME]
>   File "setup.py", line 55, in getVersionFromCCode
>     tag = 
> re.search(r'^#define\s+VERSION\s+"([^"]*)"',open(fn,'r').read(),re.M)
> IOError: [Errno 2] No such file or directory: 
> '../../rl_accel-0.58-20061005/rl_accel/_rl_accel'
> 
> rl_accel was (apparently) succesfully installed just prior to this. The 
> complete transcript of the rl_accel and Reportlab installs follows 
> below. The file tested for indeed does not exist, nor does it exist 
> anywhere in the rl_accel tree. What is the matter here? How can I fix 
> it?
> 
> Thanks,
> Walt Kelly
.......

The setup.py for reportlab is attempting to find a version of rl_accel to 
install. It seems to have found a candidate, but is unable to find a version 
inside the candidate. I think that should be made more robust, but probably I 
need to allow setup.py to be told not to try to install rl_accel.
-- 
Robin Becker


More information about the reportlab-users mailing list