I am trying to build the linked tarball on Mac OS X (10.6) but run into the following error. Happy to debug.
Thrift was configured using ./configure --prefix=$HOME/local --without-erlang --without-ruby --without-perl --without-php. The build somewhat obviously succeeds if I add --without-cpp. … gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc -arch x86_64 build/temp.macosx-10.6-universal-2.6/src/protocol/fastbinary.o -o build/lib.macosx-10.6-universal-2.6/thrift/protocol/fastbinary.so make[3]: Nothing to be done for `all-am'. Making all in test Making all in cpp Makefile:830: warning: overriding commands for target `gen-cpp/ThriftTest.cpp' Makefile:827: warning: ignoring old commands for target `gen-cpp/ThriftTest.cpp' ../../compiler/cpp/thrift --gen cpp:templates,cob_style -r ../../test/ThriftTest.thrift ../../compiler/cpp/thrift --gen cpp:templates,cob_style -r ../../test/ThriftTest.thrift ../../compiler/cpp/thrift --gen cpp ../../test/StressTest.thrift ../../compiler/cpp/thrift --gen cpp ../../test/StressTest.thrift make[3]: *** No rule to make target `gen-cpp/Service.cpp', needed by `Service.lo'. Stop. make[3]: *** Waiting for unfinished jobs.... make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Note that on a Ubuntu 11.04 system, if I have ruby enabled, I get this error but I haven't chased it down and it might be a simple fix/missing dependency. For now, I disabled ruby and the build completed fine. /usr/bin/ruby1.8 /home/ntolia/src/thrift-0.7.0/lib/rb/ext/extconf.rb /home/ntolia/src/thrift-0.7.0/lib/rb/ext/extconf.rb:23:in `require': no such file to load -- mkmf (LoadError) from /home/ntolia/src/thrift-0.7.0/lib/rb/ext/extconf.rb:23 setup.rb:655:in `command': system("/usr/bin/ruby1.8" "/home/ntolia/src/thrift-0.7.0/lib/rb/ext/extconf.rb") failed (RuntimeError) from setup.rb:660:in `ruby' from setup.rb:1238:in `extconf' from setup.rb:1230:in `config_dir_ext' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1524:in `exec_task_traverse' from setup.rb:1519:in `each' from setup.rb:1519:in `exec_task_traverse' from setup.rb:1223:in `exec_config' from setup.rb:991:in `exec_config' from setup.rb:826:in `__send__' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578 make[3]: *** [all-local] Error 1 make[3]: Leaving directory `/home/ntolia/src/thrift-0.7.0/lib/rb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ntolia/src/thrift-0.7.0/lib' make[1]: *** [all-recursive] Error 1 Cheers, Niraj On Wed, Aug 10, 2011 at 3:08 PM, Jake Farrell <jfarr...@apache.org> wrote: > All, > > I propose that we accept > http://people.apache.org/~jfarrell/thrift/0.7.0/thrift-0.7.0-rc0.tar.gz > as the official Thrift 0.7.0 release. > > I generated this tarball by checking out > https://svn.apache.org/repos/asf/thrift/branches/0.7.x and running > "./bootstrap.sh && ./configure && make dist". > > The GPG signature can be found at: > http://people.apache.org/~jfarrell/thrift/0.7.0/thrift-0.7.0-rc0.tar.gz.asc. > It has an MD5 sum of 8d7a0070a223e59cf6a2d72aa013b3c4. > > The java library can be found at: > https://repository.apache.org/content/repositories/orgapachethrift-025/ > libthrift-0.7.0.jar has an MD5 sum of 9d82be1cd2f75a6218ff4a4fb1d91015. > > The CHANGES list for this release if available at: > http://svn.apache.org/repos/asf/thrift/branches/0.7.x/CHANGES > > Please download, verify sig/sum, and install/test the libraries of your > choice. > > This vote closes in 72 hours. > > -Jake >