Compiler Error for build Python -3.3.0 (Suggestions)

J

Joe Davis

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
 
M

MRAB

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top