trouble building the tutorial in java..

2011-07-23 Thread Gautam Thaker
I was able to build thrift-0.6.1 on Fedora 15 without any errors. I have run the "cpp" tutorial extensively. But I can't build the java tutorial. The README says to check for libthrift.jar, but one was not build when i built jar. The "jar" files that I do have are: /tmp/thrift-0.6.1/lib/java/buil

Re: AW: undefined references to VERSION_MASK and VERSION_1

2011-07-05 Thread Gautam Thaker
hrift8protocol16TBinaryProtocolTINS0_9transport10TTransportEE16readMessageBeginERSsRNS1_12TMessageTypeERi[apache::thrift::protocol::TBinaryProtocolT::readMessageBegin(std::basic_string, std::allocator >&, apache::thrift::protocol::TMessageType&, int&)]+0x3d): undefined reference to `a

undefined references to VERSION_MASK and VERSION_1

2011-06-28 Thread Gautam Thaker
When compiling the "cpp" example in "tutorial", i get: CppServer.o U apache::thrift::protocol::TBinaryProtocolT::VERSION_MASK U apache::thrift::protocol::TBinaryProtocolT::VERSION_1 I am running on Fedora 15 w/ GCC/G++ 4.6.0. The ./configure and "make" and "make install" had g

why is there seemingly no support for "float" (32 bit values) type in thrift?

2011-06-27 Thread Gautam Thaker
I am reading/running/modifying the tutorial as a way to understand thrift. I noticed that thrift only seems to support a 64 bit float value, and not a 32 bit float value. There are times when 32 bit values would be a better choice. Is this hard to add? Gautam

an error in tutorial/py/PythonServer.py

2011-06-22 Thread Gautam Thaker
In file tutorial/py/PythonServer.py the call to TSocket.TServerSocket(9090) is a problem. It should not be called w/ any argument. Since the definition of TServerSocket class's __init__() is: class TServerSocket(TSocketBase, TServerTransportBase): """Socket implementation of TServerTranspor

still seeing the same linking error even when I build from SVN repo..

2011-06-22 Thread Gautam Thaker
/pointers. Perhaps my error is silly, but I can't figure this out. Gautam On 6/13/2011 11:12 PM, Gautam Thaker wrote: > Hi : > > I am new to thrift. I did a "./configure --prefix=/home/gthaker/usr " > and then "make; make install". Things seemed to go ok, i have