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


Groups > comp.lang.python > #31903 > unrolled thread

Compiler Error for build Python -3.3.0 (Suggestions)

Started byJoe Davis <joe_h_d@pacbell.net>
First post2012-10-22 14:31 -0700
Last post2012-10-23 02:09 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  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

#31903 — Compiler Error for build Python -3.3.0 (Suggestions)

FromJoe Davis <joe_h_d@pacbell.net>
Date2012-10-22 14:31 -0700
SubjectCompiler Error for build Python -3.3.0 (Suggestions)
Message-ID<f7a93250-5291-4254-abb0-1dd7c27ad6e7@rj6g2000pbc.googlegroups.com>
   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

[toc] | [next] | [standalone]


#31907

FromMRAB <python@mrabarnett.plus.com>
Date2012-10-22 23:09 +0100
Message-ID<mailman.2640.1350943763.27098.python-list@python.org>
In reply to#31903
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.

[toc] | [prev] | [next] | [standalone]


#31910

FromChristian Heimes <christian@python.org>
Date2012-10-23 02:09 +0200
Message-ID<mailman.2643.1350950977.27098.python-list@python.org>
In reply to#31903
Am 22.10.2012 23:31, schrieb 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.

Hello Joe,

Can you tell us more about the Solaris box? I'm especially interested in
the Solaris version, architecture (sparc or X86_64) and your C compiler.
We have Python up and running on a Solaris 10 box (sparc) and a Solaris
11 box (X86_64) with Sun CC and GCC 4.6.

You could try to recompile Python with the Sun CC:

 $ make distclean
 $ ./configure --without-gcc --config-cache
 $ make

Christian

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web