discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Thrift bulding make Issus


From: Ihab Zine
Subject: Re: [Discuss-gnuradio] Thrift bulding make Issus
Date: Thu, 1 Sep 2016 11:53:02 +0100

Hi Marcus,

thanks for replaying, the problem is that i don't feel the out put of the command make is OK. 

I deleted the source file and re-clone it again. then I used the following commands 

 ./bootstrap

 ./configure --prefix=/home/ihab/sdr PY_PREFIX=/usr/local/lib/python2.7/dist-packages --with-boost=/usr/include --with-cpp --with-python CXXFLAGS=-DNDEBUG --disable-tests --with-lua=no --disable-tutorial --with-perl=no  

 make

the end of the output of make is the following:

bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I/usr/include/include -I./src  -Wall -Wextra -pedantic -DNDEBUG -std=c++11 -MT src/thrift/transport/TSSLSocket.lo -MD -MP -MF $depbase.Tpo -c -o src/thrift/transport/TSSLSocket.lo src/thrift/transport/TSSLSocket.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I/usr/include/include -I./src -Wall -Wextra -pedantic -DNDEBUG -std=c++11 -MT src/thrift/transport/TSSLSocket.lo -MD -MP -MF src/thrift/transport/.deps/TSSLSocket.Tpo -c src/thrift/transport/TSSLSocket.cpp  -fPIC -DPIC -o src/thrift/transport/.libs/TSSLSocket.o
src/thrift/transport/TSSLSocket.cpp: In constructor ‘apache::thrift::transport::SSLContext::SSLContext(const apache::thrift::transport::SSLProtocol&)’:
src/thrift/transport/TSSLSocket.cpp:146:37: error: ‘SSLv3_method’ was not declared in this scope
ctx_ = SSL_CTX_new(SSLv3_method());
                                     ^
Makefile:1181: recipe for target 'src/thrift/transport/TSSLSocket.lo' failed
make[4]: *** [src/thrift/transport/TSSLSocket.lo] Error 1
make[4]: Leaving directory '/home/compliance/sdr/thrift/lib/cpp'
Makefile:1454: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/compliance/sdr/thrift/lib/cpp'
Makefile:505: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/compliance/sdr/thrift/lib'
Makefile:542: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/compliance/sdr/thrift'
Makefile:464: recipe for target 'all' failed
make: *** [all] Error 2

why did it fail? 

Regards 
Ihab 


On 31 August 2016 at 16:02, Ihab Zine <address@hidden> wrote:
Hi all, 

after cloning the Apache Thrift and configured, i ran to a problem  when  ii tried to build it.

using the command : make , 

i got the following output :

/sdr/thrift$ sudo make
make  all-recursive
make[1]: Entering directory '/home/compliance/sdr/thrift'
Making all in compiler/cpp
make[2]: Entering directory '/home/compliance/sdr/thrift/compiler/cpp'
make  all-am
make[3]: Entering directory '/home/compliance/sdr/thrift/compiler/cpp'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/compiler/cpp'
make[2]: Leaving directory '/home/compliance/sdr/thrift/compiler/cpp'
Making all in lib
make[2]: Entering directory '/home/compliance/sdr/thrift/lib'
Making all in cpp
make[3]: Entering directory '/home/compliance/sdr/thrift/lib/cpp'
Making all in .
make[4]: Entering directory '/home/compliance/sdr/thrift/lib/cpp'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/compliance/sdr/thrift/lib/cpp'
Making all in test
make[4]: Entering directory '/home/compliance/sdr/thrift/lib/cpp/test'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/compliance/sdr/thrift/lib/cpp/test'
make[3]: Leaving directory '/home/compliance/sdr/thrift/lib/cpp'
Making all in py
make[3]: Entering directory '/home/compliance/sdr/thrift/lib/py'
/usr/bin/python setup.py build
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3'
  warnings.warn(msg)
running build
running build_py
running build_ext
make[3]: Leaving directory '/home/compliance/sdr/thrift/lib/py'
Making all in perl
make[3]: Entering directory '/home/compliance/sdr/thrift/lib/perl'
Making all in test
make[4]: Entering directory '/home/compliance/sdr/thrift/lib/perl/test'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/compliance/sdr/thrift/lib/perl/test'
make[4]: Entering directory '/home/compliance/sdr/thrift/lib/perl'
make -f Makefile-perl.mk
make[5]: Entering directory '/home/compliance/sdr/thrift/lib/perl'
make[5]: Leaving directory '/home/compliance/sdr/thrift/lib/perl'
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory '/home/compliance/sdr/thrift/lib/perl'
make[3]: Leaving directory '/home/compliance/sdr/thrift/lib/perl'
make[3]: Entering directory '/home/compliance/sdr/thrift/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/lib'
make[2]: Leaving directory '/home/compliance/sdr/thrift/lib'
Making all in test
make[2]: Entering directory '/home/compliance/sdr/thrift/test'
Making all in cpp
make[3]: Entering directory '/home/compliance/sdr/thrift/test/cpp'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/test/cpp'
Making all in perl
make[3]: Entering directory '/home/compliance/sdr/thrift/test/perl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/test/perl'
Making all in py
make[3]: Entering directory '/home/compliance/sdr/thrift/test/py'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/test/py'
Making all in py.twisted
make[3]: Entering directory '/home/compliance/sdr/thrift/test/py.twisted'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/test/py.twisted'
Making all in py.tornado
make[3]: Entering directory '/home/compliance/sdr/thrift/test/py.tornado'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/test/py.tornado'
make[3]: Entering directory '/home/compliance/sdr/thrift/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/test'
make[2]: Leaving directory '/home/compliance/sdr/thrift/test'
Making all in tutorial
make[2]: Entering directory '/home/compliance/sdr/thrift/tutorial'
Making all in cpp
make[3]: Entering directory '/home/compliance/sdr/thrift/tutorial/cpp'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/tutorial/cpp'
Making all in py
make[3]: Entering directory '/home/compliance/sdr/thrift/tutorial/py'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/tutorial/py'
Making all in py.twisted
make[3]: Entering directory '/home/compliance/sdr/thrift/tutorial/py.twisted'
../../compiler/cpp/thrift --gen py:twisted -r ../../tutorial/tutorial.thrift
make[3]: Leaving directory '/home/compliance/sdr/thrift/tutorial/py.twisted'
Making all in py.tornado
make[3]: Entering directory '/home/compliance/sdr/thrift/tutorial/py.tornado'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/compliance/sdr/thrift/tutorial/py.tornado'
make[3]: Entering directory '/home/compliance/sdr/thrift/tutorial'
../compiler/cpp/thrift --gen html -r ../tutorial/tutorial.thrift
make[3]: Leaving directory '/home/compliance/sdr/thrift/tutorial'
make[2]: Leaving directory '/home/compliance/sdr/thrift/tutorial'
make[2]: Entering directory '/home/compliance/sdr/thrift'
make[2]: Leaving directory '/home/compliance/sdr/thrift'
make[1]: Leaving directory '/home/compliance/sdr/thrift'

what is the problem? 
no indication for missing package, or error.

is it ok to configure it like this :
./configure --prefix=/usr/local.  PY_PREFIX=$prefix --with-cpp --with-python CXXFLAGS="-DNDEBUG"
or it is wrong.

Regards 
Ihab 
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]