# project configured on Sat Oct 27 16:19:03 2012 by # waf 1.5.18 (abi 7, python 20700f0 on win32) # using waf configure # ---------------------------------------- Checking for program gcc or cc find program=['gcc', 'cc'] paths=[] var='CC' -> 'C:\\MinGW32\\bin\\gcc.exe' ---------------------------------------- Checking for program cpp find program=['cpp'] paths=[] var='CPP' -> 'C:\\MinGW32\\bin\\cpp.exe' ---------------------------------------- Checking for program ar find program=['ar'] paths=[] var='AR' -> 'C:\\MinGW32\\bin\\ar.exe' ---------------------------------------- Checking for program ranlib find program=['ranlib'] paths=[] var='RANLIB' -> 'C:\\MinGW32\\bin\\ranlib.exe' ---------------------------------------- Checking for program python find program=['python'] paths=[] var='PYTHON' -> 'C:\\Python27\\python.exe' ---------------------------------------- Checking for Python version 2.7.0 Configuration returned from 'C:\\Python27\\python.exe': python_prefix = 'C:\\\\Python27' python_SO = '.pyd' python_SYSLIBS = None python_LDFLAGS = None python_SHLIBS = None python_LIBDIR = None python_LIBPL = None INCLUDEPY = 'C:\\\\Python27\\\\include' Py_ENABLE_SHARED = None MACOSX_DEPLOYMENT_TARGET = None # try again with -L$prefix/libs, and pythonXY name rather than pythonX.Y (win32) ---------------------------------------- Checking for library python27 ==> int main() { return 0; } <== [1/2] cc: build\.conf_check_0\test.c -> build\.conf_check_0\testbuild\default\test_1.o ['C:\\MinGW32\\bin\\gcc.exe', '-Wdeclaration-after-statement', '-Werror', '..\\test.c', '-c', '-o', 'default\\test_1.o'] [2/2] cc_link: build\.conf_check_0\testbuild\default\test_1.o -> build\.conf_check_0\testbuild\default\testprog.exe ['C:\\MinGW32\\bin\\gcc.exe', 'default\\test_1.o', '-o', 'C:\\Documents and Settings\\maxim\\Desktop\\dev\\pyinstaller-2.0\\source\\build\\.conf_check_0\\testbuild\\default\\testprog.exe', '-Wl,--enable-auto-import', '-LC:\\\\Python27\\libs', '-Wl,-Bdynamic', '-lpython27'] yes ---------------------------------------- Checking for program python2.7-config find program=['python2.7-config'] paths=[] var='PYTHON_CONFIG' -> '' ---------------------------------------- Checking for program python-config-2.7 find program=['python-config-2.7'] paths=[] var='PYTHON_CONFIG' -> '' Include path for Python extensions (found via distutils module): 'C:\\\\Python27\\\\include' ---------------------------------------- Checking for custom code ==> #include "Python.h" #ifdef __cplusplus extern "C" { #endif void Py_Initialize(void); void Py_Finalize(void); #ifdef __cplusplus } #endif int main() { Py_Initialize(); Py_Finalize(); return 0; } <== [1/2] cc: build\.conf_check_0\test.c -> build\.conf_check_0\testbuild\default\test_1.o ..\test.c:6:7: error: 'Py_Initialize' redeclared without dllimport attribute: previous dllimport ignored [-Werror=attributes] ..\test.c:7:7: error: 'Py_Finalize' redeclared without dllimport attribute: previous dllimport ignored [-Werror=attributes] cc1.exe: all warnings being treated as errors ['C:\\MinGW32\\bin\\gcc.exe', '-Wdeclaration-after-statement', '-Werror', '-fno-strict-aliasing', '-IC:\\\\Python27\\\\include', '..\\test.c', '-c', '-o', 'default\\test_1.o'] command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'Could not find the python development headers