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: Marcus Müller
Subject: Re: [Discuss-gnuradio] Thrift bulding make Issus
Date: Wed, 31 Aug 2016 19:05:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Hi Ihab,

You should *never* use sudo to run make; `sudo make install` might be appropriate. I don't see an error in your compile log, so maybe you'd need to explain the problem you're encountering in more detail?

I'd recommend deleting the source folder and cloning it again; it's now riddled with files that belong to root, and it'll be impossible for a non-root user to build it again.

Whether the configure line is correct: yes, the options I'd expect are there. However, typically, thrift is a nightmare to configure, and analyzing the ./configure output most of the time lead me to disable further things (demos/tutorials/ruby bindings/...) explicitly.

Best regards,
Marcus

On 08/31/2016 05:02 PM, Ihab Zine 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 
 


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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