Compiler Error for build Python -3.3.0 (Suggestions)

MRAB python at mrabarnett.plus.com
Mon Oct 22 18:09:13 EDT 2012


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.



More information about the Python-list mailing list