Hi.

I have a problem with installing Thrift 0.2.0 (from
http://incubator.apache.org/thrift/download/) on Mac OS X 10.6.2.

I did

./configure
make

and error log is here.

BUILD SUCCESSFUL
Total time: 4 seconds
Making all in py
/Library/Frameworks/Python.framework/Versions/Current/bin/python setup.py build
running build
running build_py
running build_ext
building 'thrift.protocol.fastbinary' extension
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
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-c src/protocol/fastbinary.c -o
build/temp.macosx-10.3-fat-2.5/src/protocol/fastbinary.o
cc1: error: unrecognized command line option "-Wno-long-double"
cc1: error: unrecognized command line option "-Wno-long-double"
lipo: can't figure out the architecture type of:
/var/folders/RD/RDG8UBQdHtW3Wd-fG7FW-E+++TI/-Tmp-//ccMdsuYT.out
error: command 'gcc' failed with exit status 1
make[3]: *** [all-local] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Please let me know how to avoid the errors.

Daigo

Reply via email to