On Wed, Aug 10, 2011 at 4:04 PM, Niraj Tolia <nto...@maginatics.com> wrote:
> 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

After a little bit more digging, this might be due to broken
dependency tracking in the Makefile. 'make -j4' fails for me but just
'make' succeeds.

Cheers,
Niraj

Reply via email to