Compiling Python 2.7.10 Error

Discussion in 'Python' started by ronbarak, Jul 11, 2015.

  1. ronbarak

    ronbarak

    Joined:
    Jul 11, 2015
    Messages:
    1
    Likes Received:
    0
    I want to add Python 2.7 to my Unix.
    I downloaded the sources to the VirtualBox on which the Unix is installed and run

    ./configure --prefix=/usr \
    --enable-shared \
    --with-system-expat \

    without problems.

    However, when I try to run make, it fails on:

    cc –Kpthread–Wl,-Bexport–o python Modules/python.o libpython2.7.a-lsocket –lnsl –lpthread –ldl –lm

    Undefined first referenced
    symbol in file
    _PyInt_FromDev libpython2.7.a(posixmodule.o)
    UX:ld: ERROR:Symbol referencing errors.No output written to python
    ***Error code 1(bu21)
    UX:make: ERROR: fatal error.

    I tried to find a solution searching on Google, without much success.

    Can you suggest directions towards a solution?


    Environment:
    • OS Unixware 7.1.4
    • Python 2.7.10
     
    ronbarak, Jul 11, 2015
    #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. val

    error compiling Python 2.3

    val, Aug 22, 2003, in forum: Python
    Replies:
    1
    Views:
    354
    Christos TZOTZIOY Georgiou
    Aug 23, 2003
  2. Taylor Leese
    Replies:
    1
    Views:
    717
    Lee Harr
    Jan 19, 2004
  3. stevenruiz@gmail.com
    Replies:
    2
    Views:
    542
    Ian Collins
    Feb 13, 2007
  4. stevenruiz@gmail.com
    Replies:
    2
    Views:
    608
    John Harrison
    Feb 13, 2007
  5. Garrett Cooper
    Replies:
    0
    Views:
    795
    Garrett Cooper
    Feb 24, 2009
  6. Kevin
    Replies:
    2
    Views:
    389
    Kevin
    Jul 28, 2009
  7. Robert P. J. Day
    Replies:
    0
    Views:
    493
    Robert P. J. Day
    Jul 25, 2011
  8. Lon Baker
    Replies:
    1
    Views:
    413
    Csaba Henk
    Mar 21, 2005
Loading...