Re: Problem trying to install ReportLab with easy_install

Discussion in 'Python' started by Garrett Cooper, Feb 22, 2009.

  1. On Sat, Feb 21, 2009 at 10:06 PM, Sebastian Bassi
    <> 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)vicky@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/sou...-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)vicky@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
     
    Garrett Cooper, Feb 22, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sebastian Bassi
    Replies:
    0
    Views:
    525
    Sebastian Bassi
    Feb 22, 2009
  2. goldtech
    Replies:
    1
    Views:
    597
    Sridhar Ratnakumar
    Nov 23, 2010
  3. rusi

    how to install easy_install

    rusi, May 13, 2011, in forum: Python
    Replies:
    2
    Views:
    646
    TheSaint
    May 14, 2011
  4. Replies:
    1
    Views:
    3,919
    Irmen de Jong
    Jun 12, 2011
  5. smith jack
    Replies:
    1
    Views:
    469
    aspineux
    Aug 16, 2011
Loading...

Share This Page