Hello All, The Thrift usage page for C++<http://wiki.apache.org/thrift/ThriftUsageC%2B%2B>gives a direct link <http://gitweb.thrift-rpc.org/?p=thrift.git;a=snapshot;h=HEAD;sf=tgz>for loading the code for Thrift, which doesnt open. The Download <http://incubator.apache.org/thrift/download/> page on Apache, gives a different link <http://instant.thrift-rpc.org/> for loading Thrift, which doesnt open as well.
At last, I downloaded the .tar.gz from here<http://www.apache.org/dyn/closer.cgi?path=/incubator/thrift/0.2.0-incubating/thrift-0.2.0-incubating.tar.gz> . Then, from /thrift-0.2.0, I ran the following cmd: *./configure* which is completely fine Then I run: *make* and I get the following errors: /usr/bin/ruby1.8 /home/nikhiljindal/Desktop/thrift-0.2.0/lib/rb/ext/extconf.rb /home/nikhiljindal/Desktop/thrift-0.2.0/lib/rb/ext/extconf.rb:20:in `require': no such file to load -- mkmf (LoadError) from /home/nikhiljindal/Desktop/thrift-0.2.0/lib/rb/ext/extconf.rb:20 setup.rb:655:in `command': system("/usr/bin/ruby1.8" "/home/nikhiljindal/Desktop/thrift-0.2.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/nikhiljindal/Desktop/thrift-0.2.0/lib/rb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nikhiljindal/Desktop/thrift-0.2.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nikhiljindal/Desktop/thrift-0.2.0' make: *** [all] Error 2 Now, on running *make install*, I get the following: making install in compiler/cpp make[1]: Entering directory `/home/nikhiljindal/Desktop/thrift-0.2.0/compiler/cpp' Regenerating version.h... No changes. make install-am make[2]: Entering directory `/home/nikhiljindal/Desktop/thrift-0.2.0/compiler/cpp' make[3]: Entering directory `/home/nikhiljindal/Desktop/thrift-0.2.0/compiler/cpp' test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /bin/sh ../../libtool --mode=install /usr/bin/install -c thrift '/usr/local/bin' libtool: install: /usr/bin/install -c thrift /usr/local/bin/thrift /usr/bin/install: cannot create regular file `/usr/local/bin/thrift': Permission denied make[3]: *** [install-binPROGRAMS] Error 1 make[3]: Leaving directory `/home/nikhiljindal/Desktop/thrift-0.2.0/compiler/cpp' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/nikhiljindal/Desktop/thrift-0.2.0/compiler/cpp' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/nikhiljindal/Desktop/thrift-0.2.0/compiler/cpp' make: *** [install-recursive] Error 1 Since, I am getting "Permission Denied". I tried *sudo make install* and I get: make: Makefile: Permission denied make: *** No rule to make target `install'. Stop. It is very strange to me that running the same command as sudo gives No rule to make target. Do not know what to do next. Please help Looking forward to your replies Thanks and Regards Nikhil Jindal
