thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yosuke Suzuki <yosuke.suz...@nex.nikkei.co.jp>
Subject install error on Redhat ES4
Date Mon, 06 Sep 2010 12:51:49 GMT
Hi,

I'm trying to install thrift-0.4.0 on Redhat Es4.

When I type "make", I got errors below.

What is the problem?

src/concurrency/ThreadManager.h:24:26: tr1/functional: No such file or
directory
In file included from src/concurrency/ThreadManager.cpp:20:
src/concurrency/ThreadManager.h:61: error: `std::tr1' has not been declared
src/concurrency/ThreadManager.h:61: error: ISO C++ forbids declaration
of `function' with no type
src/concurrency/ThreadManager.h:61: error: expected `;' before '<' token
src/concurrency/ThreadManager.h:182: error: `ExpireCallback' has not
been declared
src/concurrency/ThreadManager.h:182: error: ISO C++ forbids declaration
of `expireCallback' with no type
src/concurrency/ThreadManager.cpp:135: error: `ExpireCallback' has not
been declared
src/concurrency/ThreadManager.cpp:135: error: ISO C++ forbids
declaration of `expireCallback' with no type
src/concurrency/ThreadManager.cpp:145: error: `ExpireCallback' does not
name a type
src/concurrency/ThreadManager.cpp: In member function `virtual void
apache::thrift::concurrency::ThreadManager::Impl::removeExpiredTasks()':
src/concurrency/ThreadManager.cpp:533: error: `expireCallback_' was not
declared in this scope
src/concurrency/ThreadManager.cpp: At global scope:
src/concurrency/ThreadManager.cpp:542: error: variable or field
`setExpireCallback' declared void
src/concurrency/ThreadManager.cpp:542: error: `int
apache::thrift::concurrency::ThreadManager::Impl::setExpireCallback' is
not a static member of `class
apache::thrift::concurrency::ThreadManager::Impl'
src/concurrency/ThreadManager.cpp:542: error: `ExpireCallback' was not
declared in this scope
src/concurrency/ThreadManager.cpp:542: error: expected `,' or `;' before
'{' token
make[3]: *** [ThreadManager.lo] error 1
make[3]: Leaving directory `/usr/local/share/thrift-0.4.0/lib/cpp'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/usr/local/share/thrift-0.4.0/lib'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/usr/local/share/thrift-0.4.0'
make: *** [all] error 2



Mime
View raw message