Hi Achilleas,

I can fully relate to the problems you've encountered with thrift; the
problem is that their build system is "a little broken" on Fedora; I
have saved the options I passed to ./configure to make it build; for
example, I couldn't get the tests to build, nor the tutorial:

./configure --prefix=/home/marcus/.usrlocal --disable-tests
--with-lua=no --disable-tutorial --with-perl=no

Cheers,
Marcus

On 10/16/2015 03:18 AM, Achilleas Anastasopoulos wrote:
> With some help from the thrift maillist I figured out what the problem
> was:
>
> thrift requires "trial" and this is not part of the pybomb recipies,
> so thrift fails silently. So after installing "trail" the installation
> of thrift 0.9.3 manually from the latest source was a breeze.
> After configuring gnuradio it gives:
>
>
> -- Configuring gr-ctrlport support...
> --   Dependency Boost_FOUND = 1
> --   Dependency SWIG_FOUND = TRUE
> --   Dependency SWIG_VERSION_CHECK = TRUE
> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
> --   Enabling gr-ctrlport support.
> --   Override with -DENABLE_GR_CTRLPORT=ON/OFF
> -- Looking for C++ include sys/resource.h
> -- Looking for C++ include sys/resource.h - found
> -- Loading build date Fri, 16 Oct 2015 00:57:44 into constants...
> -- Loading version v3.7.8-172-g77083c5d into constants...
> -- checking for module 'thrift'
> --   found thrift, version 0.9.3
> --
> -- Python checking for Thrift
> -- Python checking for Thrift - found
> -- Found THRIFT: /usr/local/lib/libthrift.so
> -- Found and enabling Thrift backend to ControlPort
> -- Running thrift to build C++ bindings
>
>
> so thrift is recognized.
>
> So I guess, trial should be added to the recipie for thrift and a new
> trial recipie should be created.
>
> thanks everyone,
> Achilleas
>
>
> On Thu, Oct 15, 2015 at 8:04 PM, Francisco Albani
> <[email protected] <mailto:[email protected]>> wrote:
>
>     I'm building gnuradio right now on Arch Linux to get thrift
>     working. Arch official repositories only have a 'thrift' package
>     [1], which was not sufficient.
>
>     I had also to install from the Arch User Repository,
>     'python2-thrift' [2].
>
>     Now I get the correct cmake output.
>
>     I have never used Fedora, but maybe you can "translate" my solution.
>
>     [1] https://www.archlinux.org/packages/community/x86_64/thrift/
>     [2] https://aur.archlinux.org/packages/python2-thrift/
>
>     2015-10-15 18:15 GMT-03:00 Chris Kuethe <[email protected]
>     <mailto:[email protected]>>:
>
>         Clearly I'm not running on a redhat-like system so I don't
>         have any more specific advice to offer. What I can suggest is
>         spend some time figuring out why the python library isn't able
>         to build. Have a look at the config log, grep for errors and
>         google for them, figure out if you're missing some some
>         developer libraries/headers, maybe check stackoverflow to see
>         how other people have solved it...
>
>         On Thu, Oct 15, 2015 at 2:04 PM, Achilleas Anastasopoulos
>         <[email protected] <mailto:[email protected]>> wrote:
>
>             here is the output of configure for thrift:
>
>             Building C++ Library ......... : yes
>             Building C (GLib) Library .... : yes
>             Building Java Library ........ : no
>             Building C# Library .......... : no
>             Building Python Library ...... : no
>             Building Ruby Library ........ : no
>             Building Haxe Library ........ : no
>             Building Haskell Library ..... : no
>             Building Perl Library ........ : no
>             Building PHP Library ......... : no
>             Building Erlang Library ...... : no
>             Building Go Library .......... : no
>             Building D Library ........... : no
>             Building NodeJS Library ...... : no
>             Building Lua Library ......... : no
>
>             C++ Library:
>                Build TZlibTransport ...... : yes
>                Build TNonblockingServer .. : yes
>                Build TQTcpServer (Qt4) .... : yes
>                Build TQTcpServer (Qt5) .... : no
>
>
>
>             On Thu, Oct 15, 2015 at 4:36 PM, Chris Kuethe
>             <[email protected] <mailto:[email protected]>>
>             wrote:
>
>                 I saw something like this at grcon and it was due to
>                 an incorrectly set PYTHONPATH. Thrift installs into
>                 .../site-packages, gnuradio installs into
>                 .../dist-packages - make sure both of those are in there.
>
>                 On Thu, Oct 15, 2015 at 1:14 PM, Achilleas
>                 Anastasopoulos <[email protected]
>                 <mailto:[email protected]>> wrote:
>
>                     I attempted a complete installation of gnuradio
>                     with pybombs (on fedora22).
>                     It went smoothly, but the result is that  although
>                     "thrift" executable was generated, as well as
>                     g_lib  and g++ and some other libraries,
>                     no python related libraries were generated.
>                     As a result, I get the following (no "*thrift" in
>                     the installed components)
>
>                     gnuradio-config-info --enabled-components
>                     
> python-support;testing-support;volk;sphinx;gnuradio-runtime;gr-ctrlport;gr-blocks;gnuradio-companion;gr-fec;gr-fft;gr-filter;gr-analog;gr-digital;gr-dtv;gr-atsc;gr-audio;*
>                     alsa;*
>                     
> oss;gr-comedi;gr-channels;gr-noaa;gr-pager;gr-qtgui;gr-trellis;gr-uhd;gr-utils;gr-video-sdl;gr-vocoder;gr-fcd;gr-wavelet;gr-wxgui;gr-zeromq
>
>                     =========
>
>                     I also attempted a separate installation of
>                     gnuradio (not with pybombs)
>                     after manually installing thrift with the same
>                     configure options as in pybombs ie,
>
>                     ./configure --prefix=/usr/local  \
>                         --with-c_glib --with-cpp --with-libevent
>                     --with-python \
>                         --without-csharp --without-d --without-erlang
>                     --without-go \
>                         --without-haskell --without-java --without-lua
>                     --without-nodejs \
>                         --without-perl --without-php --without-ruby
>                     --without-zlib \
>                         --disable-tests --disable-tutorial $config_opt \
>                         CC=$cc CXX=$cxx PY_PREFIX=$prefix
>                     CXXFLAGS="-DNDEBUG"
>
>                     after installation I get
>
>                     [anastas@jefe ~]$ pkg-config --libs thrift
>                     thrift-nb thrift_c_glib thrift-z thrift-qt
>                     -L/usr/local/lib -lthriftnb -lthrift_c_glib
>                     -lgobject-2.0 -lglib-2.0 -lthriftz -lthriftqt -lthrift
>
>                     and while  cmaking gnuradio I get :
>
>                     --
>                     -- Configuring gr-ctrlport support...
>                     --   Dependency Boost_FOUND = 1
>                     --   Dependency SWIG_FOUND = TRUE
>                     --   Dependency SWIG_VERSION_CHECK = TRUE
>                     --   Dependency ENABLE_GNURADIO_RUNTIME = ON
>                     --   Enabling gr-ctrlport support.
>                     --   Override with -DENABLE_GR_CTRLPORT=ON/OFF
>                     -- Loading build date Thu, 15 Oct 2015 20:03:55
>                     into constants...
>                     -- Loading version v3.7.8-172-g77083c5d into
>                     constants...
>                     --
>                     -- Python checking for Thrift
>                     -- Python checking for Thrift - not found
>                     -- Could NOT find THRIFT (missing: 
>                     PYTHON_THRIFT_FOUND THRIFT_FOUND)
>                     -- TRY_SHM_VMCIRCBUF set to ON.
>                     --
>
>                     Any help is appreciated.
>
>                     I also attach here the config.log that i get from
>                     configuring thrift manually
>
>                     thanks
>                     Achilleas
>
>
>
>
>
>
>                     _______________________________________________
>                     Discuss-gnuradio mailing list
>                     [email protected]
>                     <mailto:[email protected]>
>                     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
>
>                 -- 
>                 GDB has a 'break' feature; why doesn't it have 'fix' too?
>
>
>
>
>
>         -- 
>         GDB has a 'break' feature; why doesn't it have 'fix' too?
>
>         _______________________________________________
>         Discuss-gnuradio mailing list
>         [email protected] <mailto:[email protected]>
>         https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to