A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-December/084563.html below:

[Python-Dev] Problems compiling 2.6.1 on Solaris 10

[Python-Dev] Problems compiling 2.6.1 on Solaris 10Ellinghaus, Lance lance.ellinghaus at eds.com
Tue Dec 23 07:28:19 CET 2008
I am hoping someone can assist me. I normally don't care if the _ctypes
module builds or not, but I now need to have it build.
I am running Solaris 10 with Sun's C compiler under SunStudio 11.

After running 'configure' and 'make', the _ctypes module fails with the
following error:

cc -xcode=pic32 -DNDEBUG -O -I. -I/data/python/Python-2.6.1/./Include
-Ibuild/temp.solaris-2.10-sun4u-2.6/libffi/include
-Ibuild/temp.solaris-2.10-sun4u-2.6/libffi
-I/data/python/Python-2.6.1/Modules/_ctypes/libffi/src
-I/usr/local/python/include -I. -IInclude -I./Include
-I/usr/local/include -I/data/python/Python-2.6.1/Include
-I/data/python/Python-2.6.1 -c
/data/python/Python-2.6.1/Modules/_ctypes/_ctypes.c -o
build/temp.solaris-2.10-sun4u-2.6/data/python/Python-2.6.1/Modules/_ctyp
es/_ctypes.o
"build/temp.solaris-2.10-sun4u-2.6/libffi/include/ffi.h", line 257:
syntax error before or at: __attribute__
"build/temp.solaris-2.10-sun4u-2.6/libffi/include/ffi.h", line 257:
warning: old-style declaration or incorrect type for: __attribute__
"build/temp.solaris-2.10-sun4u-2.6/libffi/include/ffi.h", line 257:
warning: syntax error:  empty declaration
"/data/python/Python-2.6.1/Modules/_ctypes/_ctypes.c", line 187: cannot
recover from previous errors
cc: acomp failed for /data/python/Python-2.6.1/Modules/_ctypes/_ctypes.c

Is there anything special I have to do to get it to compile under
Solaris 10 and SunStudio 11?
BTW: I cannot use GCC.

Thank you very much,

Lance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20081223/d349834b/attachment.htm>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4