[Numpy-discussion] Installing numpy from source on py 3.1.2, osx

Vincent Davis vincent@vincentdavis....
Mon Jun 7 14:07:38 CDT 2010


Going down the prerequisite list I have.

Python 3.1.2 (r312:79360M, Mar 24 2010, 01:33:18)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

>>> nose.__version__
'0.11.0'

I don't really understand the fortran stuff so so I just entered

MacBookPro-new-2:numpy vmd$ python3 setup.py
Converting to Python3 via 2to3...
RefactoringTool: Skipping implicit fixer: buffer
RefactoringTool: Skipping implicit fixer: idioms
RefactoringTool: Skipping implicit fixer: set_literal
RefactoringTool: Skipping implicit fixer: ws_comma
RefactoringTool: Refactored
/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/__init__.py
RefactoringTool: Refactored /Users/vmd/Dropbox/numpy/num
.........
Long list

Then I get this

Starting interactive session
------------------------------------------------------------------------

Tasks:
  i       - Show python/platform/machine information
  ie      - Show environment information
  c       - Show C compilers information
  c<name> - Set C compiler (current:None)
  f       - Show Fortran compilers information
  f<name> - Set Fortran compiler (current:None)
  e       - Edit proposed sys.argv[1:].

Task aliases:
  0         - Configure
  1         - Build
  2         - Install
  2<prefix> - Install with prefix.
  3         - Inplace build
  4         - Source distribution
  5         - Binary distribution

Proposed sys.argv = ['setup.py']

Running from numpy source directory.Choose a task (^D to quit, Enter
to continue with setup):

So I try task "f" and get

Running from numpy source directory.Choose a task (^D to quit, Enter
to continue with setup): f
--------------------------------------------------------------------
Fortran compilers found:
Compilers available for this platform, but not found:
  --fcompiler=absoft  Absoft Corp Fortran Compiler
  --fcompiler=g95     G95 Fortran Compiler
  --fcompiler=gnu     GNU Fortran 77 compiler
  --fcompiler=gnu95   GNU Fortran 95 compiler
  --fcompiler=ibm     IBM XL Fortran Compiler
  --fcompiler=intel   Intel Fortran Compiler for 32-bit apps
  --fcompiler=nag     NAGWare Fortran 95 Compiler
Compilers not available on this platform:
  --fcompiler=compaq    Compaq Fortran Compiler
  --fcompiler=hpux      HP Fortran 90 Compiler
  --fcompiler=intele    Intel Fortran Compiler for Itanium apps
  --fcompiler=intelem   Intel Fortran Compiler for EM64T-based apps
  --fcompiler=intelev   Intel Visual Fortran Compiler for Itanium apps
  --fcompiler=intelv    Intel Visual Fortran Compiler for 32-bit apps
  --fcompiler=intelvem  Intel Visual Fortran Compiler for 64-bit apps
  --fcompiler=lahey     Lahey/Fujitsu Fortran 95 Compiler
  --fcompiler=mips      MIPSpro Fortran Compiler
  --fcompiler=none      Fake Fortran compiler
  --fcompiler=pg        Portland Group Fortran Compiler
  --fcompiler=sun       Sun or Forte Fortran 95 Compiler
  --fcompiler=vast      Pacific-Sierra Research Fortran 90 Compiler
For compiler details, run 'config_fc --verbose' setup command.

Which gives me the impression I do not have a fortran compiler. Not
sure which one I should get, any recommendations?

If I type python build I get (See below)

Thanks
Vincent

It seems that the top got clipped


/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:627:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:627:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:635:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:635:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:635:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:643:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:643:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:643:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:651:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:651:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:651:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:659:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:659:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:659:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:667:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:667:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:668:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:676:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:676:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:676:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:683:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:683:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:683:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:690:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:690:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:690:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:697:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:697:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:697:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:705:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:705:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:705:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:713:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:713:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:713:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:721:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:721:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:721:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:730:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:730:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:730:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:738:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:738:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:738:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:750:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:750:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:750:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:757:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:757:
error: 'PyNumber_AsSsize_t' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:768:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:769:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:770:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:780:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:780:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:780:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:788:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:788:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:788:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:798:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:798:
error: syntax error before '*' token
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:115,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:265:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:265:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:266:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:274:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:274:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:275:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:285:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:285:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:286:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:298:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:298:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:299:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:310:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:310:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:311:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:312:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:312:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:314:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:316:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:316:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:317:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:328:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:328:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:329:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:368:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:368:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:368:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:376:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:376:
error: 'PyObject_Size' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:387:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:387:
error: 'PyObject_Length' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:390:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:390:
error: '_PyObject_LengthHint' declared as function returning a
function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:398:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:398:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:398:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:406:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:414:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:422:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:435:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:450:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:458:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:473:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:496:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:506:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:519:
error: syntax error before 'Py_buffer'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:522:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:542:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:547:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:562:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:572:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:577:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:577:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:578:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:586:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:586:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:586:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:595:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:595:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:595:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:603:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:612:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:612:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:612:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:798:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:806:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:806:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:806:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:814:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:814:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:814:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:822:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:822:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:823:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:832:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:832:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:833:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:842:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:842:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:842:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:850:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:850:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:851:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:859:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:859:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:859:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:867:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:867:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:867:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:875:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:875:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:875:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:883:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:883:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:883:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:891:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:891:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:891:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:899:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:899:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:899:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:910:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:919:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:919:
error: 'PySequence_Size' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:927:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:927:
error: 'PySequence_Length' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:931:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:931:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:931:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:939:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:939:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:939:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:947:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:947:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:947:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:954:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:954:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:954:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:962:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:970:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:978:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:987:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:995:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:995:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:995:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1003:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1003:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1003:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1009:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1009:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1009:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1045:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1045:
error: 'PySequence_Count' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1054:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1063:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1064:
error: '_PySequence_IterSearch' declared as function returning a
function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1078:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1089:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1089:
error: 'PySequence_Index' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1099:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1099:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1099:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1108:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1108:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1108:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1119:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1128:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1128:
error: 'PyMapping_Size' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1138:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1138:
error: 'PyMapping_Length' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1162:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1172:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1183:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1183:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1183:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1190:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1190:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1190:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1197:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1197:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1197:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1206:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1206:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1206:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1214:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1224:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1227:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1231:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1233:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:619:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:619:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:619:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:627:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:627:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:627:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:635:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:635:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:635:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:643:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:643:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:643:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:651:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:651:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:651:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:659:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:659:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:659:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:667:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:667:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:668:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:676:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:676:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:676:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:116,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:7:
error: syntax error before 'PyFilter_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:7:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:8:
error: syntax error before 'PyMap_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:8:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:9:
error: syntax error before 'PyZip_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:9:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:683:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:683:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:683:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:690:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:690:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:690:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:697:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:697:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:697:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:705:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:705:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:705:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:713:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:713:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:713:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:721:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:721:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:721:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:730:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:730:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:730:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:738:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:738:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:738:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:750:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:750:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:750:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:757:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:757:
error: 'PyNumber_AsSsize_t' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:768:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:769:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:770:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:780:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:780:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:780:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:788:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:788:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:788:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:798:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:798:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:798:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:806:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:806:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:806:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:814:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:814:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:814:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:822:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:822:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:823:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:832:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:832:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:833:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:842:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:842:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:842:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:850:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:850:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:851:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:859:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:859:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:859:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:867:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:867:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:867:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:875:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:875:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:875:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:5,
                 from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:118,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:11:
error: syntax error before 'PyObject'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:11:
warning: no semicolon at end of struct or union
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:17:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:17:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:18:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:18:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:19:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:19:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:20:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:20:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:21:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:21:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:22:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:22:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:24:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:24:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:25:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:25:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:27:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:27:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:29:
error: syntax error before '}' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:29:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:64:
error: syntax error before 'PyCode_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:64:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:70:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:71:
error: syntax error before 'PyObject'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:73:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:75:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:90:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:93:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:93:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:94:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:118,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:13:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:13:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:32:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:33:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:883:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:883:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:883:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:891:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:891:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:891:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:899:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:899:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:899:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:910:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:919:
error: syntax error before '*' tokenIn file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:119,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:10:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:10:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:10:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:12:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:12:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:18:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:20:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:20:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:20:
warning: data definition has no type or storage class

/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:919:
error: 'PySequence_Size' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:927:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:927:
error: 'PySequence_Length' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:931:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:931:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:931:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:939:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:939:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:939:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:947:
error: syntax error before '*' token
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:122,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/pystrtod.h:11:
error: syntax error before
'size_t'/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:947:
error: syntax error before '*' token

/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:947:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:954:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:954:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:954:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:962:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:970:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:978:
error: syntax error before '*'
token/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/pystrtod.h:14:
error: syntax error before 'PyObject'

/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:987:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:995:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:995:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:995:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1003:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1003:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1003:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1009:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1009:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1009:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1045:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1045:
error: 'PySequence_Count' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1054:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1063:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1064:
error: '_PySequence_IterSearch' declared as function returning a
function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1078:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1089:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1089:
error: 'PySequence_Index' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1099:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1099:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1099:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1108:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1108:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1108:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1119:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1128:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1128:
error: 'PyMapping_Size' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1138:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1138:
error: 'PyMapping_Length' declared as function returning a function
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1162:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1172:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1183:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1183:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1183:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1190:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1190:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1190:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1197:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1197:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1197:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1206:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1206:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1206:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1214:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1224:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1227:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1231:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/abstract.h:1233:
error: syntax error before '*' token
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:116,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:7:
error: syntax error before 'PyFilter_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:7:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:8:
error: syntax error before 'PyMap_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:8:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:9:
error: syntax error before 'PyZip_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/bltinmodule.h:9:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:5,
                 from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:118,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:11:
error: syntax error before 'PyObject'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:11:
warning: no semicolon at end of struct or union
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:17:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:17:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:18:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:18:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:19:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:19:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:20:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:20:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:21:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:21:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:22:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:22:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:24:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:24:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:25:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:25:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:27:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:27:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:29:
error: syntax error before '}' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:29:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:64:
error: syntax error before 'PyCode_Type'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:64:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:70:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:71:
error: syntax error before 'PyObject'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:73:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:75:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:90:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:93:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:93:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/code.h:94:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:118,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:13:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:13:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:32:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/compile.h:33:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:119,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:10:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:10:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:10:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:12:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:12:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:18:
warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:20:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:20:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/eval.h:20:
warning: data definition has no type or storage class
In file included from
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:122,
                 from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/pystrtod.h:11:
error: syntax error before 'size_t'
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/pystrtod.h:14:
error: syntax error before 'PyObject'
In file included from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:127:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:127:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:127:
warning: data definition has no type or storage class
In file included from _configtest.c:1:
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:127:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:127:
error: syntax error before '*' token
/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1/Python.h:127:
warning: data definition has no type or storage class
lipo: can't figure out the architecture type of:
/var/folders/2f/2fiXYQSSE+CgAzDQPp9+k++++TI/-Tmp-//ccsi6RLR.out
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
  File "setup.py", line 210, in <module>
    setup_package()
  File "setup.py", line 203, in setup_package
    configuration=configuration )
  File "/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/distutils/core.py",
line 186, in setup
    return old_setup(**new_attr)
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/core.py",
line 149, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/dist.py",
line 919, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/dist.py",
line 938, in run_command
    cmd_obj.run()
  File "/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/distutils/command/build.py",
line 37, in run
    old_build.run(self)
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/command/build.py",
line 128, in run
    self.run_command(cmd_name)
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/cmd.py",
line 315, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/dist.py",
line 938, in run_command
    cmd_obj.run()
  File "/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/distutils/command/build_src.py",
line 152, in run
    self.build_sources()
  File "/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/distutils/command/build_src.py",
line 169, in build_sources
    self.build_extension_sources(ext)
  File "/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/distutils/command/build_src.py",
line 328, in build_extension_sources
    sources = self.generate_sources(sources, ext)
  File "/Users/vmd/Dropbox/numpy/numpy/build/py3k/numpy/distutils/command/build_src.py",
line 385, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 395, in generate_config_h
    moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
  File "numpy/core/setup.py", line 41, in check_types
    out = check_types(*a, **kw)
  File "numpy/core/setup.py", line 260, in check_types
    "Cannot compile 'Python.h'. Perhaps you need to "\
SystemError: Cannot compile 'Python.h'. Perhaps you need to install
python-dev|python-devel.


More information about the NumPy-Discussion mailing list