On Sat, Feb 21, 2009 at 10:06 PM, Sebastian Bassi <sba...@clubdelarazon.org> wrote: > I don't understand what is wrong when I try to install ReportLab. This > is under Ubuntu and all build packages are installed. > Here is what I get when trying to install it: (I could install it with > apt-get, but I am testing virtualenv and easy_install). > > (testbio149)vi...@maricurie:~/Public/testbio149$ 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-ZZcgFG/ReportLab_2_3/egg-dist-tmp-FqKULE > ################################################ > #Attempting install of _rl_accel, sgmlop & pyHnj > #extensions from > '/tmp/easy_install-ZZcgFG/ReportLab_2_3/src/rl_addons/rl_accel' > ################################################ > ################################################ > #Attempting install of _renderPM > #extensions from > '/tmp/easy_install-ZZcgFG/ReportLab_2_3/src/rl_addons/renderPM' > # installing with freetype version 21 > ################################################ > /tmp/easy_install-ZZcgFG/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c: > In function âhex32â: > /tmp/easy_install-ZZcgFG/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-ZZcgFG/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c: > In function â_instanceStringWidthUâ: > /tmp/easy_install-ZZcgFG/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1200:warning: > pointer targets in assignment differ in signedness > /tmp/easy_install-ZZcgFG/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1123:warning: > âfâ may be used uninitialized in this function > /tmp/easy_install-ZZcgFG/ReportLab_2_3/src/rl_addons/rl_accel/_rl_accel.c:1123:warning: > âtâ may be used uninitialized in this function > /tmp/easy_install-ZZcgFG/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 > collect2: ld returned 1 exit status > error: Setup script exited with error: command 'gcc' failed with exit status 1 > (testbio149)vi...@maricurie:~/Public/testbio149$
It's not building lib_renderPM_libart properly, or it's a typo that supposed to be librenderPM_libart, or bad LDFLAGS... More details need to be provided like an ls of your site-packages directory and a partial ls of your local library directory (ls /usr/?local/?lib/lib*render*libart*, etc). Thanks, -Garrett -- http://mail.python.org/mailman/listinfo/python-list