problem compiling v.1.0.3 on a Mac

Hello All, I'm having trouble compile on a Mac 10.4.10. It seems as if it's not finding /usr/include: ... from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ... I tried setting the "CFLAG=-I/usr/include", but w/o success. Can anyone help me? Thanks! --john

John Cartwright wrote:
Hello All,
I'm having trouble compile on a Mac 10.4.10. It seems as if it's not finding /usr/include:
... from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ...
I tried setting the "CFLAG=-I/usr/include", but w/o success. Can anyone help me?
It should build out-of-box. Is this the standard Python distribution from www.python.org? Check your environment variables. You should not have CFLAGS or LDFLAGS; these will overwrite the flags that are necessary for building Python extension modules. If that doesn't work, please give us the complete output of $ python setup.py -v build Thanks. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco

Hi Robert, thanks for your prompt reply and for your offer of help. This is framework version of python 2.4.4 from python.org. I installed a standalone version of 2.5.1 and numpy seemed to compile OK. I've listed below the results of my attempts w/ 2.4.4. Thanks again! --john lynx:/usr/local/src/numpy-1.0.3 jcc$ python setup.py -v build Running from numpy source directory. non-existing path in 'numpy/distutils': 'site.cfg' F2PY Version 2_3844 blas_opt_info: ( library_dirs = /Library/Frameworks/Python.framework/Versions/2.4/ lib:/usr/local/lib:/usr/lib ) FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] lapack_opt_info: ( library_dirs = /Library/Frameworks/Python.framework/Versions/2.4/ lib:/usr/local/lib:/usr/lib ) FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-faltivec'] running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands -- compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands -- fcompiler options running build_src building py_modules sources building extension "numpy.core.multiarray" sources Generating build/src.macosx-10.3-fat-2.4/numpy/core/config.h new_compiler returns distutils.unixccompiler.UnixCCompiler new_fcompiler returns numpy.distutils.fcompiler.nag.NAGFCompiler customize NAGFCompiler NAGFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['f95', '-fixed', '-O4', '-target=native'] compiler_f90 = ['f95', '-O4', '-target=native'] compiler_fix = ['f95', '-fixed', '-O4', '-target=native'] libraries = [] library_dirs = [] linker_so = ['f95', '-unsharedf95', '-Wl,-bundle,- flat_namespace,- undefined,suppress'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['f95', '-V'] customize AbsoftFCompiler AbsoftFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['f77', '-N22', '-N90', '-N110', '-f', '-s', '-O'] compiler_f90 = ['f90', '-YCFRL=1', '-YCOM_NAMES=LCS', '- YCOM_PFX', '- YEXT_PFX', '-YCOM_SFX=_', '-YEXT_SFX=_', '- YEXT_NAMES=LCS', '-s', '-O'] compiler_fix = ['f90', '-YCFRL=1', '-YCOM_NAMES=LCS', '- YCOM_PFX', '- YEXT_PFX', '-YCOM_SFX=_', '-YEXT_SFX=_', '- YEXT_NAMES=LCS', '-f', 'fixed', '-YCFRL=1', '- YCOM_NAMES=LCS', '-YCOM_PFX', '-YEXT_PFX', '- YCOM_SFX=_', '-YEXT_SFX=_', '-YEXT_NAMES=LCS', '-s', '-O'] libraries = ['fio', 'f90math', 'fmath', 'U77'] library_dirs = [] linker_so = ['f90', '-K', 'shared'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['f90', '-V -c /tmp/tmpjnaDyP__dummy.f -o /tmp/tmpjnaDyP__dummy.o'] customize IbmFCompiler IbmFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['xlf', '-qextname', '-O5'] compiler_f90 = ['xlf90', '-qextname', '-O5'] compiler_fix = ['xlf90', '-qfixed', '-qextname', '-O5'] libraries = [] library_dirs = [] linker_so = ['xlf95', '-Wl,-bundle,-flat_namespace,- undefined,suppress'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['xlf', '-qversion'] customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 GnuFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['f77', '-g', '-Wall', '-fno-second-underscore', '- fPIC', '-O2', '-funroll-loops', '-mcpu=7450', '- mtune=7450'] compiler_f90 = None compiler_fix = None libraries = ['g2c', 'cc_dynamic'] library_dirs = [] linker_exe = ['f77', '-g', '-Wall'] linker_so = ['f77', '-g', '-Wall', '-undefined', 'dynamic_lookup', ' -bundle'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['f77', '--version'] customize Gnu95FCompiler Could not locate executable f95 Gnu95FCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['/usr/local/bin/gfortran', '-Wall', '-ffixed- form', '- fno-second-underscore', '-fPIC', '-O3', '- funroll-loops', '-mcpu=7450', '-mtune=7450'] compiler_f90 = ['/usr/local/bin/gfortran', '-Wall', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops', '- mcpu=7450', '-mtune=7450'] compiler_fix = ['/usr/local/bin/gfortran', '-Wall', '-ffixed- form', '- fno-second-underscore', '-Wall', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops', '-mcpu=7450', '- mtune=7450'] libraries = ['gfortran'] library_dirs = ['/usr/local/lib/gcc/powerpc-apple- darwin8.9.0/4.3.0'] linker_exe = ['/usr/local/bin/gfortran', '-Wall'] linker_so = ['/usr/local/bin/gfortran', '-Wall', '-undefined', 'dynamic_lookup', '-bundle'] object_switch = '-o ' ranlib = ['ranlib'] version = LooseVersion ('4.3.0') version_cmd = ['/usr/local/bin/gfortran', '--version'] customize Gnu95FCompiler Could not locate executable f95 customize Gnu95FCompiler using config C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 compile options: '-I/Library/Frameworks/Python.framework/Versions/2.4/ include/python2.4 -Inumpy/core/src -Inumpy/core/include -I/Library/ Frameworks/Python.framework/Versions/2.4/include/python2.4 -c' gcc: _configtest.c In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:18:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:21:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:25:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:32:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:37:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:38:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:39:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:41:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:53:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: error: parse error before 'Py_uintptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: error: parse error before 'Py_intptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:94:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:101:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:102:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:120:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:159:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:399:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct termios' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct termios' declared inside parameter list In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:74, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:50: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:51: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:76, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:227: error: parse error before 'FILE' In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:18:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:21:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:25:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:32:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:37:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:38:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:39:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:41:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:53:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: error: parse error before 'Py_uintptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: error: parse error before 'Py_intptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:94:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:101:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:102:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:120:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:159:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:399:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct termios' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct termios' declared inside parameter list In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:74, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:50: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:51: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:76, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:227: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:371: error: parse error before 'FILE' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:77, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:98: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:292: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:55:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:118:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:511: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:529: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:371: error: parse error before 'FILE' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:77, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:98: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:292: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:55:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:118:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:511: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:529: error: parse error before '*' token In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:84, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: error: parse error before '_PyLong_NumBits' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:79: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:102: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:10:20: error: stdarg.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:63: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:84, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: error: parse error before '_PyLong_NumBits' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:79: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:102: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:10:20: error: stdarg.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:63: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:101, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: warning: no semicolon at end of struct or union /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:15: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: error: parse error before '}' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:38: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:39: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:40: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:57: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'Py_UniversalNewlineFread' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:112, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:226: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:228: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:116, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:20: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:22: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:23: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:117, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:32: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:33: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:35: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:36: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:40: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:41: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:42: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:43: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:44: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:45: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:46: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:49: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:55: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:59: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:60: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:64: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:66: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:82: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:123: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:125: error: parse error before '*' token In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:119, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:121, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ import.h:25: error: parse error before 'size_t' In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:131: error: parse error before 'size_t' _configtest.c: In function 'main': _configtest.c:9: error: 'FILE' undeclared (first use in this function) _configtest.c:9: error: (Each undeclared identifier is reported only once _configtest.c:9: error: for each function it appears in.) _configtest.c:9: error: 'fp' undeclared (first use in this function) _configtest.c:17: warning: incompatible implicit declaration of built- in function 'fprintf' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:101, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: warning: no semicolon at end of struct or union /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:15: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: error: parse error before '}' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:38: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:39: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:40: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:57: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'Py_UniversalNewlineFread' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:112, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:226: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:228: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:116, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:20: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:22: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:23: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:117, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:32: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:33: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:35: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:36: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:40: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:41: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:42: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:43: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:44: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:45: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:46: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:49: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:55: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:59: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:60: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:64: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:66: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:82: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:123: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:125: error: parse error before '*' token In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:119, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:121, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ import.h:25: error: parse error before 'size_t' In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:131: error: parse error before 'size_t' _configtest.c: In function 'main': _configtest.c:9: error: 'FILE' undeclared (first use in this function) _configtest.c:9: error: (Each undeclared identifier is reported only once _configtest.c:9: error: for each function it appears in.) _configtest.c:9: error: 'fp' undeclared (first use in this function) _configtest.c:17: warning: incompatible implicit declaration of built- in function 'fprintf' lipo: can't figure out the architecture type of: /var/tmp//ccSbLVr4.out In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:18:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:21:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:25:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:32:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:37:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:38:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:39:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:41:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:53:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: error: parse error before 'Py_uintptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: error: parse error before 'Py_intptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:94:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:101:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:102:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:120:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:159:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:399:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct termios' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct termios' declared inside parameter list In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:74, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:50: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:51: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:76, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:227: error: parse error before 'FILE' In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:18:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:21:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."/Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:25:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:32:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:37:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:38:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:39:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:41:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:53:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:55, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: error: parse error before 'Py_uintptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:73: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: error: parse error before 'Py_intptr_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:74: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:94:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:101:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:102:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:120:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:159:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:399:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:400: warning: 'struct termios' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyport.h:401: warning: 'struct termios' declared inside parameter list In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:74, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:50: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pymem.h:51: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:76, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:227: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:371: error: parse error before 'FILE' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:77, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:98: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:292: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:55:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:118:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:511: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:529: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ object.h:371: error: parse error before 'FILE' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:77, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:98: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ objimpl.h:292: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:55:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:118:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:511: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ unicodeobject.h:529: error: parse error before '*' token In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:84, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: error: parse error before '_PyLong_NumBits' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:79: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:102: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:10:20: error: stdarg.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:63: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:84, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: error: parse error before '_PyLong_NumBits' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:63: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:79: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ longobject.h:102: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:10:20: error: stdarg.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:90, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ stringobject.h:63: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:101, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: warning: no semicolon at end of struct or union /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:15: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: error: parse error before '}' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:38: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:39: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:40: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:57: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'Py_UniversalNewlineFread' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:112, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:226: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:228: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:116, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:20: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:22: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:23: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:117, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:32: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:33: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:35: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:36: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:40: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:41: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:42: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:43: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:44: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:45: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:46: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:49: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:55: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:59: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:60: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:64: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:66: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:82: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:123: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:125: error: parse error before '*' token In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:119, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:121, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ import.h:25: error: parse error before 'size_t' In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:131: error: parse error before 'size_t' _configtest.c: In function 'main': _configtest.c:9: error: 'FILE' undeclared (first use in this function) _configtest.c:9: error: (Each undeclared identifier is reported only once _configtest.c:9: error: for each function it appears in.) _configtest.c:9: error: 'fp' undeclared (first use in this function) _configtest.c:17: warning: incompatible implicit declaration of built- in function 'fprintf' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:101, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:12: warning: no semicolon at end of struct or union /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:15: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: error: parse error before '}' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:28: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:38: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:39: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:40: warning: data definition has no type or storage class /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:57: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'Py_UniversalNewlineFread' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ fileobject.h:58: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:112, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:226: error: parse error before 'size_t' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pyerrors.h:228: error: parse error before 'size_t' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:116, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:20: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:22: error: parse error before 'va_list' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ modsupport.h:23: error: parse error before 'va_list' In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:117, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:32: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:33: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:35: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:36: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:40: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:41: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:42: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:43: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:44: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:45: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:46: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:49: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:55: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:59: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:60: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:64: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:66: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:82: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:123: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ pythonrun.h:125: error: parse error before '*' token In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:119, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before '*' token /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: error: parse error before 'FILE' /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ sysmodule.h:12: warning: data definition has no type or storage class In file included from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:121, from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ import.h:25: error: parse error before 'size_t' In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Python.h:131: error: parse error before 'size_t' _configtest.c: In function 'main': _configtest.c:9: error: 'FILE' undeclared (first use in this function) _configtest.c:9: error: (Each undeclared identifier is reported only once _configtest.c:9: error: for each function it appears in.) _configtest.c:9: error: 'fp' undeclared (first use in this function) _configtest.c:17: warning: incompatible implicit declaration of built- in function 'fprintf' lipo: can't figure out the architecture type of: /var/tmp//ccSbLVr4.out failure. removing: _configtest.c _configtest.o Traceback (most recent call last): File "setup.py", line 91, in ? setup_package() File "setup.py", line 84, in setup_package configuration=configuration ) File "/usr/local/src/numpy-1.0.3/numpy/distutils/core.py", line 173, in setup return old_setup(**new_attr) File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ python2.4/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ python2.4/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/usr/local/src/numpy-1.0.3/numpy/distutils/command/ build_src.py", line 123, in run self.build_sources() File "/usr/local/src/numpy-1.0.3/numpy/distutils/command/ build_src.py", line 142, in build_sources self.build_extension_sources(ext) File "/usr/local/src/numpy-1.0.3/numpy/distutils/command/ build_src.py", line 248, in build_extension_sources sources = self.generate_sources(sources, ext) File "/usr/local/src/numpy-1.0.3/numpy/distutils/command/ build_src.py", line 306, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 53, in generate_config_h raise SystemError,"Failed to test configuration. "\ SystemError: Failed to test configuration. See previous error messages for more information. On Jun 30, 2007, at 2:42 PM, Robert Kern wrote:
John Cartwright wrote:
Hello All,
I'm having trouble compile on a Mac 10.4.10. It seems as if it's not finding /usr/include:
... from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ...
I tried setting the "CFLAG=-I/usr/include", but w/o success. Can anyone help me?
It should build out-of-box. Is this the standard Python distribution from www.python.org? Check your environment variables. You should not have CFLAGS or LDFLAGS; these will overwrite the flags that are necessary for building Python extension modules.
If that doesn't work, please give us the complete output of
$ python setup.py -v build
Thanks.
-- Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Hello Robert, just a followup - I found that I could compile with a stand-alone python 2.5 installation, but could not with a 2.5 framework install. Same problem as listed below. Thanks for any help that you can provide. --john On Jun 30, 2007, at 2:42 PM, Robert Kern wrote:
John Cartwright wrote:
Hello All,
I'm having trouble compile on a Mac 10.4.10. It seems as if it's not finding /usr/include:
... from /Library/Frameworks/Python.framework/Versions/ 2.4/include/python2.4/Python.h:81, from _configtest.c:2: /usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ...
I tried setting the "CFLAG=-I/usr/include", but w/o success. Can anyone help me?
It should build out-of-box. Is this the standard Python distribution from www.python.org? Check your environment variables. You should not have CFLAGS or LDFLAGS; these will overwrite the flags that are necessary for building Python extension modules.
If that doesn't work, please give us the complete output of
$ python setup.py -v build
Thanks.
-- Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

John Cartwright wrote:
Hello Robert,
just a followup - I found that I could compile with a stand-alone python 2.5 installation, but could not with a 2.5 framework install. Same problem as listed below.
By framework install, you mean the distribution from www.python.org? or did you compile it yourself?
Thanks for any help that you can provide.
I'd like to, but you will have to provide the information I asked for. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco

Thanks for the prompt reply! By "framework install" I mean the Mac OS X universal installer at www.python.org. By "stand-alone" I mean compiled from the source tarball at the same site. --john On Jul 1, 2007, at 4:19 PM, Robert Kern wrote:
John Cartwright wrote:
Hello Robert,
just a followup - I found that I could compile with a stand-alone python 2.5 installation, but could not with a 2.5 framework install. Same problem as listed below.
By framework install, you mean the distribution from www.python.org? or did you compile it yourself?
Thanks for any help that you can provide.
I'd like to, but you will have to provide the information I asked for.
-- Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

John Cartwright wrote:
Thanks for the prompt reply! By "framework install" I mean the Mac OS X universal installer at www.python.org. By "stand-alone" I mean compiled from the source tarball at the same site.
Okay, now can you give us the output of $ python setup.py -v build ? -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco

I tried to send that last night, but the message was so large that it's waiting for approval. Here's the first part of the output: Running from numpy source directory. non-existing path in 'numpy/distutils': 'site.cfg' F2PY Version 2_3844 blas_opt_info: ( library_dirs = /Library/Frameworks/Python.framework/Versions/2.5/ lib:/usr/local/lib:/usr/lib ) FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] lapack_opt_info: ( library_dirs = /Library/Frameworks/Python.framework/Versions/2.5/ lib:/usr/local/lib:/usr/lib ) FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-faltivec'] running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands -- compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands -- fcompiler options running build_src building py_modules sources building extension "numpy.core.multiarray" sources Generating build/src.macosx-10.3-fat-2.5/numpy/core/config.h new_compiler returns distutils.unixccompiler.UnixCCompiler new_fcompiler returns numpy.distutils.fcompiler.nag.NAGFCompiler customize NAGFCompiler NAGFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['f95', '-fixed', '-O4', '-target=native'] compiler_f90 = ['f95', '-O4', '-target=native'] compiler_fix = ['f95', '-fixed', '-O4', '-target=native'] libraries = [] library_dirs = [] linker_so = ['f95', '-unsharedf95', '-Wl,-bundle,- flat_namespace,- undefined,suppress'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['f95', '-V'] customize AbsoftFCompiler AbsoftFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['f77', '-N22', '-N90', '-N110', '-f', '-s', '-O'] compiler_f90 = ['f90', '-YCFRL=1', '-YCOM_NAMES=LCS', '- YCOM_PFX', '- YEXT_PFX', '-YCOM_SFX=_', '-YEXT_SFX=_', '- YEXT_NAMES=LCS', '-s', '-O'] compiler_fix = ['f90', '-YCFRL=1', '-YCOM_NAMES=LCS', '- YCOM_PFX', '- YEXT_PFX', '-YCOM_SFX=_', '-YEXT_SFX=_', '- YEXT_NAMES=LCS', '-f', 'fixed', '-YCFRL=1', '- YCOM_NAMES=LCS', '-YCOM_PFX', '-YEXT_PFX', '- YCOM_SFX=_', '-YEXT_SFX=_', '-YEXT_NAMES=LCS', '-s', '-O'] libraries = ['fio', 'f90math', 'fmath', 'U77'] library_dirs = [] linker_so = ['f90', '-K', 'shared'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['f90', '-V -c /tmp/tmpYPRTHr__dummy.f -o /tmp/tmpYPRTHr__dummy.o'] customize IbmFCompiler IbmFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['xlf', '-qextname', '-O5'] compiler_f90 = ['xlf90', '-qextname', '-O5'] compiler_fix = ['xlf90', '-qfixed', '-qextname', '-O5'] libraries = [] library_dirs = [] linker_so = ['xlf95', '-Wl,-bundle,-flat_namespace,- undefined,suppress'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['xlf', '-qversion'] customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 GnuFCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['f77', '-g', '-Wall', '-fno-second-underscore', '- fPIC', '-O2', '-funroll-loops', '-mcpu=7450', '- mtune=7450'] compiler_f90 = None compiler_fix = None libraries = ['g2c', 'cc_dynamic'] library_dirs = [] linker_exe = ['f77', '-g', '-Wall'] linker_so = ['f77', '-g', '-Wall', '-undefined', 'dynamic_lookup', ' -bundle'] object_switch = '-o ' ranlib = ['ranlib'] version = None version_cmd = ['f77', '--version'] customize Gnu95FCompiler Could not locate executable f95 Gnu95FCompiler instance properties: archiver = ['ar', '-cr'] compile_switch = '-c' compiler_f77 = ['/usr/local/bin/gfortran', '-Wall', '-ffixed- form', '- fno-second-underscore', '-fPIC', '-O3', '- funroll-loops', '-mcpu=7450', '-mtune=7450'] compiler_f90 = ['/usr/local/bin/gfortran', '-Wall', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops', '- mcpu=7450', '-mtune=7450'] compiler_fix = ['/usr/local/bin/gfortran', '-Wall', '-ffixed- form', '- fno-second-underscore', '-Wall', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops', '-mcpu=7450', '- mtune=7450'] libraries = ['gfortran'] library_dirs = ['/usr/local/lib/gcc/powerpc-apple- darwin8.9.0/4.3.0'] linker_exe = ['/usr/local/bin/gfortran', '-Wall'] linker_so = ['/usr/local/bin/gfortran', '-Wall', '-undefined', 'dynamic_lookup', '-bundle'] object_switch = '-o ' ranlib = ['ranlib'] version = LooseVersion ('4.3.0') version_cmd = ['/usr/local/bin/gfortran', '--version'] customize Gnu95FCompiler Could not locate executable f95 customize Gnu95FCompiler using config C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 compile options: '-I/Library/Frameworks/Python.framework/Versions/2.5/ include/python2.5 -Inumpy/core/src -Inumpy/core/include -I/Library/ Frameworks/Python.framework/Versions/2.5/include/python2.5 -c' gcc: _configtest.c In file included from _configtest.c:2: /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ Python.h:18:20: error: limits.h: No such file or directory ... --john On Jul 1, 2007, at 4:38 PM, Robert Kern wrote:
John Cartwright wrote:
Thanks for the prompt reply! By "framework install" I mean the Mac OS X universal installer at www.python.org. By "stand-alone" I mean compiled from the source tarball at the same site.
Okay, now can you give us the output of
$ python setup.py -v build
?
-- Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

John Cartwright wrote:
I tried to send that last night, but the message was so large that it's waiting for approval. Here's the first part of the output:
Same for me. Here is the beginning of mine Running from numpy source directory. F2PY Version 2_3875 blas_opt_info: blas_mkl_info: ( library_dirs = /u/vento0/myeates/lib ) ( include_dirs = /u/vento0/myeates/include ) (paths: ) (paths: ) (paths: ) (paths: ) (paths: ) (paths: ) libraries mkl,vml,guide not found in /u/vento0/myeates/lib NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS ( library_dirs = /u/vento0/myeates/lib ) (paths: ) (paths: ) (paths: /u/vento0/myeates/lib/libptf77blas.a) (paths: ) (paths: /u/vento0/myeates/lib/libptcblas.a) (paths: ) (paths: /u/vento0/myeates/lib/libatlas.a) Setting PTATLAS=ATLAS ( include_dirs = /u/vento0/myeates/include ) (paths: /u/vento0/myeates/include/atlas) (paths: /u/vento0/myeates/include/cblas.h) Setting PTATLAS=ATLAS ( library_dirs = /u/vento0/myeates/lib ) (paths: ) FOUND: libraries = ['ptf77blas', 'ptcblas', 'atlas'] library_dirs = ['/u/vento0/myeates/lib'] language = c include_dirs = ['/u/vento0/myeates/include'] new_compiler returns distutils.unixccompiler.UnixCCompiler customize GnuFCompiler find_executable('gfortran') Found executable /u/vento0/myeates/bin/gfortran gnu: no Fortran 90 compiler found find_executable('g77') Found executable /usr/bin/g77 gnu: no Fortran 90 compiler found exec_command('/u/vento0/myeates/bin/gfortran --version',) Retaining cwd: /u/vento0/myeates/numpy _preserve_environment([]) _update_environment(...) _exec_command_posix(...) Running os.system('( /u/vento0/myeates/bin/gfortran --version ; echo $?
/u/vento0/myeates/tmp/tmpLMMu5C/H-vRSk ) > /u/vento0/myeates/tmp/tmpLMMu5C/Yd7QL7 2>&1') _update_environment(...) exec_command(['gfortran', '-g', '-Wall', '-fno-second-underscore', '-fPIC', '-O2', '-funroll-loops', '-print-libgcc-file-name'],) Retaining cwd: /u/vento0/myeates/numpy _preserve_environment([]) _update_environment(...) _exec_command_posix(...)

John Cartwright wrote:
I tried to send that last night, but the message was so large that it's waiting for approval. Here's the first part of the output:
Do you have this directory: /Developer/SDKs/MacOSX10.4u.sdk If not, you might have to make sure you have the correct SDK installed. I think it's on the 10.4 installation CD with the name MacOSX1.4.Universal.pkg . -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
participants (3)
-
John Cartwright
-
Mathew
-
Robert Kern