[Python-bugs-list] [ python-Bugs-617878 ] parse error compiling on Solaris

noreply@sourceforge.net noreply@sourceforge.net
Thu, 03 Oct 2002 01:21:18 -0700


Bugs item #617878, was opened at 2002-10-03 04:33
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=617878&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Bauer (jeffbauer)
Assigned to: Nobody/Anonymous (nobody)
Summary: parse error compiling on Solaris

Initial Comment:
Attempting to compile current CVS version on
Solaris 2.6 generates a parse error:

  In file included from Python/thread_pthread.h:9,
                   from Python/thread.c:104:
  /usr/include/pthread.h:159: parse error before
`destructor'
  /usr/include/pthread.h:159: parse error before `)'
  make: *** [Python/thread.o] Error 1


$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-03 10:21

Message:
Logged In: YES 
user_id=21627

That's a bug in the pthread headers of Solaris 2.6. You need
to make the same change to thread_pthread.h that is done for
APPLE.

Would you like to design a patch to solve that problem? It
would have to apply only to 2.6; later systems don't use
destructor in the header file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=617878&group_id=5470