[reportlab-users] easy_install problem?

Sam sam.blackmore at gmail.com
Mon May 11 22:59:47 EDT 2009


Hello everyone,

I having problems install reportlab using easy_install - this is a
production server so I'd like to be sure of the correct way of doing
it before I proceed. I can't apt-get install python-reportlab as I'm
on Debian lenny (5.0 ) and reportlab is at version 2.1
(http://packages.debian.org/lenny/python-reportlab) whereas I need
version 2.2+ for Pisa (xhtml2pdf) .

Can anyone suggest how to navigate this problem.

Many thanks in advance.

Sam

webserver:/home/domains# easy_install reportlab
Searching for reportlab
Reading http://pypi.python.org/simple/reportlab/
Reading http://www.reportlab.com/
Best match: reportLab 2.3
Downloading http://pypi.python.org/packages/source/r/reportlab/reportLab-2.3.zip#md5=7d98b26fa287a9e4be4d35d682ce64ac
Processing reportLab-2.3.zip
Running ReportLab_2_3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-Q0EUXI/ReportLab_2_3/egg-dist-tmp-oR-wnw
################################################
#Attempting install of _rl_accel, sgmlop & pyHnj
#extensions from '/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel'
################################################
################################################
#Attempting install of _renderPM
#extensions from '/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/renderPM'
# installing without freetype no ttf, sorry!
################################################
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:
In function 'hex32':
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:793:
warning: format '%8.8X' expects type 'unsigned int', but argument 3
has type 'long unsigned int'
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:
In function '_instanceStringWidthU':
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1200:
warning: pointer targets in assignment differ in signedness
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:
In function 'Box_set_character':
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1393:
warning: format '%d' expects type 'int', but argument 3 has type
'Py_ssize_t'
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:
In function '_instanceStringWidthU':
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1123:
warning: 'f' may be used uninitialized in this function
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1123:
warning: 't' may be used uninitialized in this function
/tmp/easy_install-Q0EUXI/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1123:
warning: 'L' may be used uninitialized in this function
/usr/bin/ld: cannot find -l_renderPM_libart

webserver:/home/domains# ls -l /usr/lib/lib*ren*
lrwxrwxrwx 1 root root 19 Mar 19 11:21 /usr/lib/libXrender.so.1 ->
libXrender.so.1.3.0
-rw-r--r-- 1 root root 38296 Jun 14 2008 /usr/lib/libXrender.so.1.3.0
lrwxrwxrwx 1 root root 27 Mar 19 11:21
/usr/lib/libxcb-render-util.so.0 -> libxcb-render-util.so.0.0.0
-rw-r--r-- 1 root root 12888 Aug 7 2008 /usr/lib/libxcb-render-util.so.0.0.0
lrwxrwxrwx 1 root root 22 Mar 19 11:21 /usr/lib/libxcb-render.so.0
-> libxcb-render.so.0.0.0
-rw-r--r-- 1 root root 33304 Jun 4 2008 /usr/lib/libxcb-render.so.0.0.0



Sam


More information about the reportlab-users mailing list