[issue2940] Building Python fails on SunOS

2008-05-27 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

Closing the report as invalid then (and I strongly recommend to remove
gcc 2.6.3 right away. It obviously cannot be used to compile software on
your system).

--
resolution:  - invalid
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2940
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2940] Building Python fails on SunOS

2008-05-23 Thread Adrian M

Adrian M [EMAIL PROTECTED] added the comment:

Also, please check: http://bugs.python.org/issue1544306
(exactly the same issue that has just been closed because of the lack of
feedback from the original reporter)

Here is another (old) report referring to the very same issue happening
on Solaris:
http://bugs.python.org/issue1234473
(an issue that doesn't seem to be solved)

I have no idea whether this is a real Python bug or not. I'm just
reporting a build issue that I'm experiencing when trying to compile
python on this particular (non-typical) platform.

So, I have the access to this SunOS machine and the you (the Python
developers) have the knowledge. Let's just work together and try to
discover why the building process is not working out-of-the-box on
SunOS, rather that imply that it's not a real python bug.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2940
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2940] Building Python fails on SunOS

2008-05-23 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

Please take a look at the config.log, and locate the lines

In file included from
/usr/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h:90,
 from /usr/include/sys/time.h:418,
 from /usr/include/sys/termios.h:23,
 from /usr/include/sys/termio.h:13,
 from /usr/include/termio.h:13,
 from
/usr/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/curses.h:48,
 from conftest.c:47:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'

Then please take a look at line 90 of
/usr/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h
and confirm that it indeed includes siginfo.h at that line.

Then please compare /usr/include/time.h with
/usr/GNU/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h
and report any differences that you see.

To me, it seems that your compiler's header files don't match your
system's header files. This is not surprising, as gcc 2.6.3 was released
in 1994, years before Solaris 9 was released; your gcc was build for
Solaris 2.4. You probably need to run fixincludes again (i.e. rebuild
gcc for your system), or install a newer version of gcc entirely.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2940
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2940] Building Python fails on SunOS

2008-05-22 Thread Adrian M

New submission from Adrian M [EMAIL PROTECTED]:

$ uname -a
SunOS ro1estw 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire-880

gcc 2.6.3   


When running ./configure I'm getting warnings like: 
configure: WARNING: curses.h: present but cannot be compiled
configure: WARNING: curses.h: check for missing prerequisite headers?
configure: WARNING: curses.h: see the Autoconf documentation
configure: WARNING: curses.h: section Present But Cannot Be Compiled
configure: WARNING: curses.h: proceeding with the preprocessor's result
configure: WARNING: curses.h: in the future, the compiler will take
precedence

This happens for many other headers as well (dlfcn.h, fcntl.h, and many
others  - i'll attach the whole list of messages). 

Then, the ./configure step ends with the following message :
checking size of int... configure: error: cannot compute sizeof (int)

--
components: Build
files: config_logs.zip
messages: 67183
nosy: syraxes
severity: normal
status: open
title: Building Python fails on SunOS
type: compile error
versions: Python 2.5
Added file: http://bugs.python.org/file10397/config_logs.zip

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2940
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2940] Building Python fails on SunOS

2008-05-22 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

Why do you think this is a bug in Python?

--
nosy: +loewis

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2940
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com