Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "ThriftInstallationMacOSX" page has been changed by TimWilson-Brown. The comment on this change is: fixed typo. http://wiki.apache.org/thrift/ThriftInstallationMacOSX?action=diff&rev1=8&rev2=9 -------------------------------------------------- {{{ ./bootstrap.sh }}} - then {{{ ./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 + run + {{{ ./bootstrap.sh }}} (except for 0.2.0, see bug ticket: https://issues.apache.org/jira/browse/THRIFT-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790556#action_12790556) 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)' - ./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]] After installing Darwinports and then pkgconfig you should be finally ready to go (Do not forget to copy pkg.m4 to thrift/aclocal like described in the FAQ). You need to run the bootstrap.sh and configure script again before you can compile thrift. Do that and then: - run + run + {{{ make }}} - - if the compilation is successful - be happy and install thrift by running + if the compilation is successful - be happy and install thrift by running {{{ make install }}} + You should be able to run thrift from the command line now - Yo should be able to run thrift from the command line now -
