[reportlab-users] Install problem with Reportlab 2.0
Parsifal Herzog
parsifal.herzog at gmail.com
Fri Oct 6 01:12:59 EDT 2006
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
[parz at lobsang rl_accel-0.58-20061005]$ cd
'/home/parz/x-src/rl_accel-0.58-20061005/rl_accel'
[parz at lobsang rl_accel]$ python setup.py build
running build
running build_ext
building '_rl_accel' extension
creating build
creating build/temp.linux-i686-2.4
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer
-pipe -march=i586 -mtune=pentiumpro -g -fPIC -I/usr/include/python2.4
-c _rl_accel.c -o build/temp.linux-i686-2.4/_rl_accel.o
_rl_accel.c: In function '_instanceStringWidthU':
_rl_accel.c:1137: warning: pointer targets in assignment differ in
signedness
creating build/lib.linux-i686-2.4
gcc -pthread -shared build/temp.linux-i686-2.4/_rl_accel.o -o
build/lib.linux-i686-2.4/_rl_accel.so
building 'sgmlop' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer
-pipe -march=i586 -mtune=pentiumpro -g -fPIC -I/usr/include/python2.4
-c sgmlop.c -o build/temp.linux-i686-2.4/sgmlop.o
gcc -pthread -shared build/temp.linux-i686-2.4/sgmlop.o -o
build/lib.linux-i686-2.4/sgmlop.so
building 'pyHnj' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer
-pipe -march=i586 -mtune=pentiumpro -g -fPIC -I/usr/include/python2.4
-c pyHnjmodule.c -o build/temp.linux-i686-2.4/pyHnjmodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer
-pipe -march=i586 -mtune=pentiumpro -g -fPIC -I/usr/include/python2.4
-c hyphen.c -o build/temp.linux-i686-2.4/hyphen.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer
-pipe -march=i586 -mtune=pentiumpro -g -fPIC -I/usr/include/python2.4
-c hnjalloc.c -o build/temp.linux-i686-2.4/hnjalloc.o
gcc -pthread -shared build/temp.linux-i686-2.4/pyHnjmodule.o
build/temp.linux-i686-2.4/hyphen.o build/temp.linux-i686-2.4/hnjalloc.o
-o build/lib.linux-i686-2.4/pyHnj.so
[parz at lobsang rl_accel]$ su
Password:
[root at lobsang rl_accel]# python setup.py install
running install
running build
running build_ext
running install_lib
copying build/lib.linux-i686-2.4/pyHnj.so
-> /usr/lib/python2.4/site-packages
copying build/lib.linux-i686-2.4/_rl_accel.so
-> /usr/lib/python2.4/site-packages
copying build/lib.linux-i686-2.4/sgmlop.so
-> /usr/lib/python2.4/site-packages
[root at lobsang rl_accel]# exit
exit
[parz at lobsang rl_accel]$ cd '/home/parz/x-src/reportlab_2_0/reportlab'
[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'
[parz at lobsang reportlab]$
$ cd '/home/parz/x-src/rl_accel-0.58-20061005/rl_accel'
[parz at lobsang rl_accel]$ ls
build/ hnjalloc.c hyphen.c hyphen.mashed pyHnj.dsp
README.extensions _rl_accel.dsp Setup.in sgmlop.c tests/
__BUILD.dsw hnjalloc.h hyphen.h Makefile.pre.in pyHnjmodule.c
_rl_accel.c _rl_accel.java setup.py sgmlop.dsp
[parz at lobsang rl_accel]$
More information about the reportlab-users
mailing list