Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31907

Re: Compiler Error for build Python -3.3.0 (Suggestions)

Date 2012-10-22 23:09 +0100
From MRAB <python@mrabarnett.plus.com>
Subject Re: Compiler Error for build Python -3.3.0 (Suggestions)
References <f7a93250-5291-4254-abb0-1dd7c27ad6e7@rj6g2000pbc.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2640.1350943763.27098.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Compiler Error for build Python -3.3.0   (Suggestions) Joe Davis <joe_h_d@pacbell.net> - 2012-10-22 14:31 -0700
  Re: Compiler Error for build Python -3.3.0   (Suggestions) MRAB <python@mrabarnett.plus.com> - 2012-10-22 23:09 +0100
  Re: Compiler Error for build Python -3.3.0   (Suggestions) Christian Heimes <christian@python.org> - 2012-10-23 02:09 +0200

csiph-web