Seems to spiral down at this point now: BUILD SUCCESSFUL Total time: 0 seconds make[4]: Leaving directory `/home/hadoop/thrift/lib/java' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/hadoop/thrift/lib/java' make[2]: Leaving directory `/home/hadoop/thrift/lib/java' Making install in py make[2]: Entering directory `/home/hadoop/thrift/lib/py' /usr/bin/python setup.py build running build running build_py running build_ext building 'thrift.protocol.fastbinary' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c src/protocol/fastbinary.c -o build/temp.linux-x86_64-2.5/src/protocol/fastbinary.o src/protocol/fastbinary.c:13:20: error: Python.h: No such file or directory src/protocol/fastbinary.c:14:23: error: cStringIO.h: No such file or directory src/protocol/fastbinary.c:116: error: expected specifier-qualifier-list before 'PyObject'
On Thu, Mar 19, 2009 at 11:35 AM, Hannes Baldursson <[email protected]>wrote: > Double-check that you've got all the required libraries installed. Go > through the checklist at > http://wiki.apache.org/thrift/ThriftRequirementsand if there's any > dependency missing you'll need to install it and re-run > ./configure. If they're all installed, try updating them. > > Other than that I'm not sure, but it would be really helpful if you could > give us the version of your distro and thrift. > > Hannes Baldursson > > > On Thu, Mar 19, 2009 at 18:10, Suhail Doshi <[email protected]> wrote: > > > I am sure this error has come up before: > > > > li57-125 /home/hadoop/thrift: make install > > Making install in compiler/cpp > > make[1]: Entering directory `/home/hadoop/thrift/compiler/cpp' > > Regenerating version.h... No changes. > > make install-am > > make[2]: Entering directory `/home/hadoop/thrift/compiler/cpp' > > \ > > /bin/bash ../../ylwrap `test -f 'src/thriftl.ll' || echo > > './'`src/thriftl.ll .c thriftl.cc -- /bin/bash > /home/hadoop/thrift/missing > > --run flex > > make[2]: *** [thriftl.cc] Error 1 > > make[2]: Leaving directory `/home/hadoop/thrift/compiler/cpp' > > make[1]: *** [install] Error 2 > > make[1]: Leaving directory `/home/hadoop/thrift/compiler/cpp' > > make: *** [install-recursive] Error 1 > > > > Anyone know how to resolve it? > > > > Suhail > > > -- http://mixpanel.com Blog: http://blog.mixpanel.com
