Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python setup.py build
- running build
- running mx_autoconf
- debugging enabled for development snapshots
- gcc-4.2 not found, using clang instead
- configured compiler
- checking compiler setup
- 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
- unable to execute gcc-4.2: No such file or directory
- failure.
- removing: _configtest.c _configtest.o
- compiler problem: "gcc-4.2" not available, trying "clang" instead
- configured compiler
- 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
- clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -o _configtest
- success!
- removing: _configtest.c _configtest.o _configtest
- using "clang" instead of "gcc-4.2"
- compiler setup works
- checking for availability of strptime() (errors from this can safely be ignored)
- 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
- clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -o _configtest
- success!
- removing: _configtest.c _configtest.o _configtest
- strptime() is available on this platform
- checking for availability of clock_gettime() (errors from this can safely be ignored)
- 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
- _configtest.c:5:10: error: use of undeclared identifier 'clock_gettime'
- ptr = &clock_gettime;
- ^
- 1 error generated.
- failure.
- removing: _configtest.c _configtest.o
- clock_gettime() is not available on this platform
- checking for availability of clock_getres() (errors from this can safely be ignored)
- 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
- _configtest.c:5:10: error: use of undeclared identifier 'clock_getres'
- ptr = &clock_getres;
- ^
- 1 error generated.
- failure.
- removing: _configtest.c _configtest.o
- clock_getres() is not available on this platform
- checking compiler for bad static forward handling (errors from this can safely be ignored)
- 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
- success!
- removing: _configtest.c _configtest.o
- enabling mx debug support
- macros to define: [('HAVE_STRPTIME', '1'), ('MAL_DEBUG', None)]
- macros to undefine: ['HAVE_CLOCK_GETTIME', 'HAVE_CLOCK_GETRES']
- running build_ext
- configured compiler
- building extension "mx.DateTime.mxDateTime.mxDateTime" (required)
- checking for optional libraries
- 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
- clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -lm -o _configtest
- success!
- removing: _configtest.c _configtest.o _configtest
- found optional library 'm' -- defining HAVE_M_LIB
- 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
- clang _configtest.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -lrt -o _configtest
- ld: library not found for -lrt
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- failure.
- removing: _configtest.c _configtest.o
- could not find optional library 'rt' -- omitting it
- building 'mx.DateTime.mxDateTime.mxDateTime' extension
- creating build
- creating build/temp.macosx-10.6-intel-2.7_ucs2
- creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime
- creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx
- creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime
- creating build/temp.macosx-10.6-intel-2.7_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime
- 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
- 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
- dereference it? [-Wsizeof-pointer-memaccess]
- memset(tm,0,sizeof(tm));
- ~~~~~~~~~~~~~~~~~~~^~~~
- /usr/include/secure/_string.h:77:41: note: expanded from macro 'memset'
- ? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
- ^
- 1 warning generated.
- creating build/lib.macosx-10.6-intel-2.7_ucs2
- creating build/lib.macosx-10.6-intel-2.7_ucs2/mx
- creating build/lib.macosx-10.6-intel-2.7_ucs2/mx/DateTime
- creating build/lib.macosx-10.6-intel-2.7_ucs2/mx/DateTime/mxDateTime
- Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk
- Please check your Xcode installation
- 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
- ld: library not found for -lm
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- error: command 'clang' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement