too many compile erros in thrift-0.9.2 and higher, thrift-0.9.0 and lower
is easy. Except erros, and there are many warnings.
thrift-0.9.2.tar.gz
*# g++ --version*
*g++ (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux 10.1)*
*x86_64*
In file included from ./src/thrift/Thrift.h:48,
from src/thrift/Thrift.cpp:20:
./src/thrift/TLogging.h:63:33: warning: anonymous variadic macros were
introduced in C99
I got errors (branch: https://github.com/eyjian/thrift):
# ./bootstrap.sh
.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with
ACLOCAL_AMFLAGS=-I ./aclocal
*Environments*:
bison 2.7
autoconf 2.69
automake 1.15
libtool 2.4.2
OpenSSL 1.0.1k-fips 8 Jan 2015
boost 1.54.0
libevent 2.0.5
m4
If this is in Makefile.am
ACLOCAL_AMFLAGS = -I ./aclocal
and this is in configure.ac:
AC_CONFIG_MACRO_DIR([./aclocal])
Then libtoolize fails with
.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with
ACLOCAL_AMFLAGS=-I ./aclocal4
2015-04-14 14:23 GMT+08:00 易剑 eyj...@gmail.com
: 易剑
Sent: Monday, April 13, 2015 10:36 AM
To: dev@thrift.apache.org
Subject: How to comiple https://github.com/eyjian/thrift?
I forked branches to https://github.com/eyjian/thrift, but failed to
compile it with errors:
*./bootstrap.sh *
*.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts
with C++11 support was found
./configure: line 16746: syntax error near unexpected token `fi'
./configure: line 16746: `fi'
2015-04-14 14:42 GMT+08:00 易剑 eyj...@gmail.com:
If this is in Makefile.am
ACLOCAL_AMFLAGS = -I ./aclocal
and this is in configure.ac:
AC_CONFIG_MACRO_DIR([./aclocal
Error at *$LIBTOOLIZE --copy --automake* in bootstrap.sh
2015-04-14 14:18 GMT+08:00 易剑 eyj...@gmail.com:
I want to add lib/cpp/src/thrift/*TThriftHelper*.h attached, but I can't
build it to test:
bison-3.0
autoconf-2.69
automake-1.15
libtool-2.4
openssl-1.0.2a
boost_1_57_0
libevent
I want to add lib/cpp/src/thrift/*TThriftHelper*.h attached, but I can't
build it to test:
bison-3.0
autoconf-2.69
automake-1.15
libtool-2.4
openssl-1.0.2a
boost_1_57_0
libevent-2.0.22-stable
m4-1.4.17
SUSE Linux Enterprise Server 10 (x86_64)
gcc (GCC) 4.1.2
My forked branch:
with C++11 support was found
./configure: line 16746: syntax error near unexpected token `fi'
./configure: line 16746: `fi'
2015-04-14 14:07 GMT+08:00 易剑 eyj...@gmail.com:
I got errors (branch: https://github.com/eyjian/thrift):
# ./bootstrap.sh
.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal
with C++11 support was found
./configure: line 16746: syntax error near unexpected token `fi'
./configure: line 16746: `fi'
2015-04-14 14:22 GMT+08:00 易剑 eyj...@gmail.com:
Error at *$LIBTOOLIZE --copy --automake* in bootstrap.sh
2015-04-14 14:18 GMT+08:00 易剑 eyj...@gmail.com:
I want to add lib
, have_qt=yes, have_qt=no)'
2015-04-14 15:06 GMT+08:00 Jens Geyer jensge...@hotmail.com:
Check your git settings, especially the EOL-style related ones. Using
dos2unix is not normal behaviour.
The subdir warnings can be ignored for now.
Von: 易剑
Gesendet
:00 易剑 eyj...@gmail.com:
--with-qt4=no not work
2015-04-14 16:32 GMT+08:00 易剑 eyj...@gmail.com:
Thanks,
You are right, I remove and checkout again with:
git config --global core.autocrlf false
git config --global core.safecrlf true
git config --global core.eol lf
But failed yet
--with-qt4=no not work
2015-04-14 16:32 GMT+08:00 易剑 eyj...@gmail.com:
Thanks,
You are right, I remove and checkout again with:
git config --global core.autocrlf false
git config --global core.safecrlf true
git config --global core.eol lf
But failed yet:
# ./*configure *--prefix
install
2015-04-14 14:55 GMT+08:00 易剑 eyj...@gmail.com:
Solution:
dos2unix *.sh
chmod +x *.sh
dos2unix configure.ac
find . -name Makefile.am |xargs dos2unix
Bug got many warning and error:
# ./bootstrap.sh
configure.ac:90: installing './config.guess'
configure.ac:90: installing
=no \
--with-java=no --with-erlang=no --with-python=no \
--with-perl=no --with-ruby=no --with-haskell=no \
--with-go=no --with-d=no \
--with-qt4=no --with-qt5=no \
--with-c_glib=no
make
make install
2015-04-14 16:52 GMT+08:00 易剑 eyj...@gmail.com
C++
does not support 'long long'
/usr/local/thirdparty/openssl/include/openssl/sha.h:185: error: ISO C++
does not support 'long long'
/usr/local/thirdparty/openssl/include/openssl/sha.h:187: error: ISO C++
does not support 'long long'
2015-04-14 17:51 GMT+08:00 易剑 eyj...@gmail.com:
Build success
// specified for 0 argument
template typename R
class ClosureR : public ClosureBase
{
public:
virtual R Run() = 0;
};
// specified for 1 argument
template typename R, typename Arg1
class ClosureR, Arg1 : public ClosureBase
{
public:
virtual R Run(Arg1 arg1) = 0;
};
// specified for 2
with nonstandard names/locations.
-Ursprüngliche Nachricht- From: 易剑
Sent: Tuesday, April 14, 2015 11:51 AM
To: dev@thrift.apache.org
Subject: Re: How to comiple https://github.com/eyjian/thrift?
Build success by commenting these lines:
17656 echo with_qt4 = $with_qt4
17657
I forked branches to https://github.com/eyjian/thrift, but failed to
compile it with errors:
*./bootstrap.sh *
*.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with
ACLOCAL_AMFLAGS=-I ./aclocal*
i had updated deps as the followings:
bison-3.0
autoconf-2.69
automake-1.15
libtool-2.4
19 matches
Mail list logo