Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The following page has been changed by DanielKreuzhofer: http://wiki.apache.org/thrift/ThriftUsageObjectiveC ------------------------------------------------------------------------------ - Tuesday, 14th of July, 2009 + This page is still in the draft status - This page is still in the draft status. It will be finished in the next days as I am currently working on getting all the samples and installation instructions done. Please check again in a few days for more information. - - --- - - This page describes the usage of thrift with ObjectiveC/Cocoa. This page also covers the issues on using thrift with the iPhone SDK. There are some pitfalls to overcome with the iPhone SDK that will be mentioned here. - - Getting thrift to compile on the Mac: - - We assume, you have at least Mac OS X 10.5.5. To compile the thrift generator on Mac OS X you need the boost libary and compile it locally. - - You can get the boost sources here: http://sourceforge.net/projects/boost/files/ - - So please download the bzip2 of boost and unpack it afterwards in your downloads folder. - - on the console: - - - run "./bootstrap.sh" - - - run "./bjam" - - if everything compiled, run "./bjam install" - - You are now ready to get and compile thrift. - - Get the latest thrift HEAD version here: http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz - - Unpack the tgz file and change to the thrift directory - - run "./bootstrap.sh" - - run "./configure" - - You will certainly get an error looking like this: - - ./configure: line 20681: syntax error near unexpected token `MONO,' - ./configure: line 20681: ` PKG_CHECK_MODULES(MONO, mono >= 2.0.0, net_3_5=yes, net_3_5=no)' - - This error sounds strange but the reason is - you are missing the pgkconfig tool on your mac. To see further details how to solve this problem, please refer to the FAQ: http://wiki.apache.org/thrift/FAQ - - After installing Darwinports and then pkgconfig you should be finally ready to go. You need to run the bootstrap.sh and configure script again before you can compile thrift. Do that and then: - - run "make" - - if the compilation is successful - be happy and install thrift by running "make install". - - -
