compiling Python 2.7.1 with readline module fails on Debian(Virtualbox)

Discussion in 'Python' started by Benedict Verheyen, Dec 22, 2010.

  1. Hi,


    i'm trying to compile Python 2.7.1 on Debian (Virtual Box).
    Compiling end successfully but readline and curses fail to build.

    I'm working with virtualenv and I install all my packages in $HOME/local.
    I've downloaded readline, compiled and installed it in $HOME/local, same with ncurses.
    Both were the latest releases.
    But somehow, Python isn't able to build them.

    I get this message:

    Failed to build these modules:
    _curses _curses_panel readline

    So it does seems to find the modules.
    I'm not used to dealing with configure, and make so i can't debug much.
    I first tried this configure line:
    ../configure --enable-shared --prefix=$HOME/local

    Next i tried this one:
    env CPPFLAGS="-I$HOME/local/include" LDFLAGS="-L$HOME/local/lib" ./configure --enable-shared --prefix=$HOME/local

    But make yields the same error.

    Any clues on what I do wrong?

    The source of ncurses and readline are placed in $HOME/src.
    Both packages are installed in $HOME/local

    Thanks for any advice,

    Regards,
    Benedict
     
    Benedict Verheyen, Dec 22, 2010
    #1
    1. Advertisements

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. kyo guan
    Replies:
    1
    Views:
    403
    Thomas Lotze
    Jun 13, 2005
  2. Rustom Mody

    compiling python 3000 on debian etch

    Rustom Mody, Nov 2, 2007, in forum: Python
    Replies:
    2
    Views:
    426
  3. Luke Kenneth Casson Leighton
    Replies:
    0
    Views:
    696
    Luke Kenneth Casson Leighton
    Dec 31, 2008
  4. TechieInsights

    Python Socket Issues with VirtualBox

    TechieInsights, May 22, 2009, in forum: Python
    Replies:
    3
    Views:
    660
    Luis Zarrabeitia
    May 27, 2009
  5. Petter Gustad

    Modelsim PE/Win in VirtualBox?

    Petter Gustad, Jun 17, 2009, in forum: VHDL
    Replies:
    7
    Views:
    2,079
    Petter Gustad
    Jun 18, 2009
  6. gavino
    Replies:
    4
    Views:
    782
    gavino
    Sep 20, 2010
  7. Jean-Michel
    Replies:
    0
    Views:
    519
    Jean-Michel
    Dec 22, 2007
  8. Andrew DeFaria
    Replies:
    1
    Views:
    354
    Ben Morrow
    Jan 30, 2008
Loading...