This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Nick.Dowell
Recipients Nick.Dowell, ngie
Date 2010-09-03.13:46:39
SpamBayes Score 7.800553e-05
Marked as misclassified No
Message-id <1283521602.83.0.771354916039.issue8746@psf.upfronthosting.co.za>
In-reply-to
Content
We've just noticed this same problem with Python 3.1.2 on Mac OS X.

The problem is that the program source in the configure script has extraneous '[' and ']' characters in it, causing compilation to fail.
Excerpt of configure from line 17357:
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  [
  #include <sys/stat.h>
  #include <unistd.h>
  int main(int argc, char*argv[])
  {
    if(chflags(argv[0], 0) != 0)
      return 1;
    return 0;
  }
  ]
  _ACEOF

These extra '[' and ']' characters were added to configure.in in revision 74038:
http://svn.python.org/view/python/trunk/configure.in?r1=74033&r2=74038

I have locally modified my configure.in and configure scripts to back out that change, and found it resolves the issue.
History
Date User Action Args
2010-09-03 13:46:43Nick.Dowellsetrecipients: + Nick.Dowell, ngie
2010-09-03 13:46:42Nick.Dowellsetmessageid: <1283521602.83.0.771354916039.issue8746@psf.upfronthosting.co.za>
2010-09-03 13:46:41Nick.Dowelllinkissue8746 messages
2010-09-03 13:46:40Nick.Dowellcreate