Advertisement
Guest User

Untitled

a guest
Aug 10th, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. $ python setup.py build
  2. running build
  3. running mx_autoconf
  4. debugging enabled for development snapshots
  5. gcc-4.2 not found, using clang instead
  6. configured compiler
  7. checking compiler setup
  8. gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _configtest.c -o _configtest.o
  9. unable to execute gcc-4.2: No such file or directory
  10. failure.
  11. removing: _configtest.c _configtest.o
  12. compiler problem: "gcc-4.2" not available, trying "clang" instead
  13. configured compiler
  14. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _configtest.c -o _configtest.o
  15. clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -o _configtest
  16. success!
  17. removing: _configtest.c _configtest.o _configtest
  18. using "clang" instead of "gcc-4.2"
  19. compiler setup works
  20. checking for availability of strptime() (errors from this can safely be ignored)
  21. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -D_GNU_SOURCE=1 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _configtest.c -o _configtest.o
  22. clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -o _configtest
  23. success!
  24. removing: _configtest.c _configtest.o _configtest
  25. strptime() is available on this platform
  26. checking for availability of clock_gettime() (errors from this can safely be ignored)
  27. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -D_GNU_SOURCE=1 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _configtest.c -o _configtest.o
  28. _configtest.c:5:10: error: use of undeclared identifier 'clock_gettime'
  29. ptr = &clock_gettime;
  30. ^
  31. 1 error generated.
  32. failure.
  33. removing: _configtest.c _configtest.o
  34. clock_gettime() is not available on this platform
  35. checking for availability of clock_getres() (errors from this can safely be ignored)
  36. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -D_GNU_SOURCE=1 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _configtest.c -o _configtest.o
  37. _configtest.c:5:10: error: use of undeclared identifier 'clock_getres'
  38. ptr = &clock_getres;
  39. ^
  40. 1 error generated.
  41. failure.
  42. removing: _configtest.c _configtest.o
  43. clock_getres() is not available on this platform
  44. checking compiler for bad static forward handling (errors from this can safely be ignored)
  45. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -D_GNU_SOURCE=1 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _configtest.c -o _configtest.o
  46. success!
  47. removing: _configtest.c _configtest.o
  48. enabling mx debug support
  49. macros to define: [('HAVE_STRPTIME', '1'), ('MAL_DEBUG', None)]
  50. macros to undefine: ['HAVE_CLOCK_GETTIME', 'HAVE_CLOCK_GETRES']
  51. running build_ext
  52. configured compiler
  53.  
  54. building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
  55. checking for optional libraries
  56. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_STRPTIME=1 -DMAL_DEBUG -UHAVE_CLOCK_GETTIME -UHAVE_CLOCK_GETRES -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -c _configtest.c -o _configtest.o
  57. clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -lm -o _configtest
  58. success!
  59. removing: _configtest.c _configtest.o _configtest
  60. found optional library 'm' -- defining HAVE_M_LIB
  61. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_STRPTIME=1 -DMAL_DEBUG -UHAVE_CLOCK_GETTIME -UHAVE_CLOCK_GETRES -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -c _configtest.c -o _configtest.o
  62. clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -lrt -o _configtest
  63. ld: library not found for -lrt
  64. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  65. failure.
  66. removing: _configtest.c _configtest.o
  67. could not find optional library 'rt' -- omitting it
  68. building 'mx.DateTime.mxDateTime.mxDateTime' extension
  69. creating build
  70. creating build/temp.macosx-10.6-intel-2.7_ucs2
  71. creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime
  72. creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx
  73. creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
  74. creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
  75. clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DUSE_FAST_GETCURRENTTIME -DHAVE_M_LIB=1 -DHAVE_STRPTIME=1 -DMAL_DEBUG -UHAVE_CLOCK_GETTIME -UHAVE_CLOCK_GETRES -Imx/DateTime/mxDateTime -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
  76. mx/DateTime/mxDateTime/mxDateTime.c:1748:24: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to
  77. dereference it? [-Wsizeof-pointer-memaccess]
  78. memset(tm,0,sizeof(tm));
  79. ~~~~~~~~~~~~~~~~~~~^~~~
  80. /usr/include/secure/_string.h:77:41: note: expanded from macro 'memset'
  81. ? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
  82. ^
  83. 1 warning generated.
  84. creating build/lib.macosx-10.6-intel-2.7_ucs2
  85. creating build/lib.macosx-10.6-intel-2.7_ucs2/mx
  86. creating build/lib.macosx-10.6-intel-2.7_ucs2/mx/DateTime
  87. creating build/lib.macosx-10.6-intel-2.7_ucs2/mx/DateTime/mxDateTime
  88. Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk
  89. Please check your Xcode installation
  90. clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -isysroot /Developer/SDKs/MacOSX10.6.sdk -g -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -lm -o build/lib.macosx-10.6-intel-2.7_ucs2/mx/DateTime/mxDateTime/mxDateTime.so
  91. ld: library not found for -lm
  92. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  93. error: command 'clang' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement