Compiler Error for build Python -3.3.0 (Suggestions)

Discussion in 'Python' started by Joe Davis, Oct 22, 2012.

  1. Joe Davis

    Joe Davis Guest

    The version of Python I have on my old Solaris boxes is old and
    isn't supported and dosn't have all the modules that I need. I have
    downloaded the new 3.3 version and have been trying to compile it and
    have no luck:

    After running the ./configure command I run "make" and it gives me the
    following error. Does anyone know what is wrong here or what to do
    about this?

    Is there a location I can download a binary package of this?
    Sunfreeware looks to be out of business.

    Thanks

    gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pythonrun.o
    Python/pythonrun.c
    Python/pythonrun.c: In function `PyOS_getsig':
    Python/pythonrun.c:2545: storage size of `context' isn't known
    Python/pythonrun.c:2546: warning: implicit declaration of function
    `sigaction'
    Python/pythonrun.c:2547: `SIG_ERR' undeclared (first use in this
    function)
    Python/pythonrun.c:2547: (Each undeclared identifier is reported only
    once
    Python/pythonrun.c:2547: for each function it appears in.)
    Python/pythonrun.c:2545: warning: unused variable `context'
    Python/pythonrun.c: In function `PyOS_setsig':
    Python/pythonrun.c:2588: storage size of `context' isn't known
    Python/pythonrun.c:2588: storage size of `ocontext' isn't known
    Python/pythonrun.c:2590: warning: implicit declaration of function
    `sigemptyset'
    Python/pythonrun.c:2593: `SIG_ERR' undeclared (first use in this
    function)
    Python/pythonrun.c:2588: warning: unused variable `context'
    Python/pythonrun.c:2588: warning: unused variable `ocontext'
    make: *** [Python/pythonrun.o] Error 1
     
    Joe Davis, Oct 22, 2012
    #1
    1. Advertising

  2. Joe Davis

    MRAB Guest

    On 2012-10-22 22:31, Joe Davis wrote:
    >
    > The version of Python I have on my old Solaris boxes is old and
    > isn't supported and dosn't have all the modules that I need. I have
    > downloaded the new 3.3 version and have been trying to compile it and
    > have no luck:
    >
    > After running the ./configure command I run "make" and it gives me the
    > following error. Does anyone know what is wrong here or what to do
    > about this?
    >
    > Is there a location I can download a binary package of this?
    > Sunfreeware looks to be out of business.
    >
    > Thanks
    >
    > gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    > prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/pythonrun.o
    > Python/pythonrun.c
    > Python/pythonrun.c: In function `PyOS_getsig':
    > Python/pythonrun.c:2545: storage size of `context' isn't known
    > Python/pythonrun.c:2546: warning: implicit declaration of function
    > `sigaction'
    > Python/pythonrun.c:2547: `SIG_ERR' undeclared (first use in this
    > function)
    > Python/pythonrun.c:2547: (Each undeclared identifier is reported only
    > once
    > Python/pythonrun.c:2547: for each function it appears in.)
    > Python/pythonrun.c:2545: warning: unused variable `context'
    > Python/pythonrun.c: In function `PyOS_setsig':
    > Python/pythonrun.c:2588: storage size of `context' isn't known
    > Python/pythonrun.c:2588: storage size of `ocontext' isn't known
    > Python/pythonrun.c:2590: warning: implicit declaration of function
    > `sigemptyset'
    > Python/pythonrun.c:2593: `SIG_ERR' undeclared (first use in this
    > function)
    > Python/pythonrun.c:2588: warning: unused variable `context'
    > Python/pythonrun.c:2588: warning: unused variable `ocontext'
    > make: *** [Python/pythonrun.o] Error 1
    >

    It looks like HAVE_SIGACTION is 1, which says that 'sigaction' is
    defined, but it's not defined. Try going to where HAVE_SIGACTION is set
    and change it to 0.
     
    MRAB, Oct 22, 2012
    #2
    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. Yan
    Replies:
    0
    Views:
    1,139
  2. Ram
    Replies:
    0
    Views:
    2,847
  3. Nicolas Lehuen
    Replies:
    3
    Views:
    720
    Nicolas Lehuen
    Jan 28, 2004
  4. Toon Knapen
    Replies:
    2
    Views:
    363
    Toon Knapen
    May 17, 2006
  5. Wong Wah Meng-R32813
    Replies:
    0
    Views:
    706
    Wong Wah Meng-R32813
    Sep 18, 2011
Loading...

Share This Page