This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

mingw pyinstaller

By: strangeman on Oct 26th, 2012  |  syntax: None  |  size: 3.46 KB  |  views: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # project  configured on Sat Oct 27 16:19:03 2012 by
  2. # waf 1.5.18 (abi 7, python 20700f0 on win32)
  3. # using waf configure
  4. #
  5.  
  6. ----------------------------------------
  7. Checking for program gcc or cc
  8.   find program=['gcc', 'cc'] paths=[] var='CC'
  9.   -> 'C:\\MinGW32\\bin\\gcc.exe'
  10.  
  11. ----------------------------------------
  12. Checking for program cpp
  13.   find program=['cpp'] paths=[] var='CPP'
  14.   -> 'C:\\MinGW32\\bin\\cpp.exe'
  15.  
  16. ----------------------------------------
  17. Checking for program ar
  18.   find program=['ar'] paths=[] var='AR'
  19.   -> 'C:\\MinGW32\\bin\\ar.exe'
  20.  
  21. ----------------------------------------
  22. Checking for program ranlib
  23.   find program=['ranlib'] paths=[] var='RANLIB'
  24.   -> 'C:\\MinGW32\\bin\\ranlib.exe'
  25.  
  26. ----------------------------------------
  27. Checking for program python
  28.   find program=['python'] paths=[] var='PYTHON'
  29.   -> 'C:\\Python27\\python.exe'
  30.  
  31. ----------------------------------------
  32. Checking for Python version
  33. 2.7.0
  34. Configuration returned from 'C:\\Python27\\python.exe':
  35. python_prefix = 'C:\\\\Python27'
  36. python_SO = '.pyd'
  37. python_SYSLIBS = None
  38. python_LDFLAGS = None
  39. python_SHLIBS = None
  40. python_LIBDIR = None
  41. python_LIBPL = None
  42. INCLUDEPY = 'C:\\\\Python27\\\\include'
  43. Py_ENABLE_SHARED = None
  44. MACOSX_DEPLOYMENT_TARGET = None
  45.  
  46.  
  47. # try again with -L$prefix/libs, and pythonXY name rather than pythonX.Y (win32)
  48.  
  49. ----------------------------------------
  50. Checking for library python27
  51. ==>
  52.  
  53. int main() {
  54.         return 0;
  55. }
  56.  
  57. <==
  58. [1/2] cc: build\.conf_check_0\test.c -> build\.conf_check_0\testbuild\default\test_1.o
  59. ['C:\\MinGW32\\bin\\gcc.exe', '-Wdeclaration-after-statement', '-Werror', '..\\test.c', '-c', '-o', 'default\\test_1.o']
  60. [2/2] cc_link: build\.conf_check_0\testbuild\default\test_1.o -> build\.conf_check_0\testbuild\default\testprog.exe
  61. ['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']
  62. yes
  63.  
  64. ----------------------------------------
  65. Checking for program python2.7-config
  66.   find program=['python2.7-config'] paths=[] var='PYTHON_CONFIG'
  67.   -> ''
  68.  
  69. ----------------------------------------
  70. Checking for program python-config-2.7
  71.   find program=['python-config-2.7'] paths=[] var='PYTHON_CONFIG'
  72.   -> ''
  73. Include path for Python extensions (found via distutils module): 'C:\\\\Python27\\\\include'
  74.  
  75. ----------------------------------------
  76. Checking for custom code
  77. ==>
  78.  
  79. #include "Python.h"
  80. #ifdef __cplusplus
  81. extern "C" {
  82. #endif
  83.         void Py_Initialize(void);
  84.         void Py_Finalize(void);
  85. #ifdef __cplusplus
  86. }
  87. #endif
  88. int main()
  89. {
  90.    Py_Initialize();
  91.    Py_Finalize();
  92.    return 0;
  93. }
  94.  
  95. <==
  96. [1/2] cc: build\.conf_check_0\test.c -> build\.conf_check_0\testbuild\default\test_1.o
  97. ..\test.c:6:7: error: 'Py_Initialize' redeclared without dllimport attribute: previous dllimport ignored [-Werror=attributes]
  98. ..\test.c:7:7: error: 'Py_Finalize' redeclared without dllimport attribute: previous dllimport ignored [-Werror=attributes]
  99. cc1.exe: all warnings being treated as errors
  100. ['C:\\MinGW32\\bin\\gcc.exe', '-Wdeclaration-after-statement', '-Werror', '-fno-strict-aliasing', '-IC:\\\\Python27\\\\include', '..\\test.c', '-c', '-o', 'default\\test_1.o']
  101. command returned 'Build failed:  -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'Could not find the python development headers
clone this paste RAW Paste Data