BTW, I forgot to say that I am building from the latest master branch and I have already built/installed the latest gnuradio from the master branch.
Achilleas On Thu, Feb 16, 2012 at 11:49 AM, Achilleas Anastasopoulos <anas...@umich.edu> wrote: > OK, I am having a problem building the howto module with CMake. > > Here is the output of all the steps: > > > [anastas@jefe build]$ cmake ../ > -- The CXX compiler identification is GNU > -- Check for working CXX compiler: /usr/lib64/ccache/c++ > -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Build type not specified: defaulting to release. > -- Boost version: 1.46.0 > -- checking for module 'gruel' > -- found gruel, version 3.5.2git > -- Found GRUEL: /usr/local/lib64/libgruel.so > -- checking for module 'gnuradio-core' > -- found gnuradio-core, version 3.5.2git > -- Found GNURADIO_CORE: /usr/local/lib64/libgnuradio-core.so > -- Boost version: 1.46.0 > -- Found the following Boost libraries: > -- unit_test_framework > -- Found SWIG: /usr/bin/swig (found version "2.0.4") > -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) > -- Found PythonInterp: /usr/bin/python2.7 > -- Found Doxygen: /usr/bin/doxygen > -- Configuring done > -- Generating done > -- Build files have been written to: > /n/harrisville/x/anastas/gnuradio_trunk/gr-howto-write-a-block-cmake/build > > > Then > > > > [anastas@jefe build]$ make > [ 12%] Building CXX object > lib/CMakeFiles/gnuradio-howto.dir/howto_square_ff.cc.o > [ 25%] Building CXX object > lib/CMakeFiles/gnuradio-howto.dir/howto_square2_ff.cc.o > [ 37%] Building CXX object > lib/CMakeFiles/gnuradio-howto.dir/howto_demod_filterbank_ccvc.cc.o > Linking CXX shared library libgnuradio-howto.so > [ 37%] Built target gnuradio-howto > [ 50%] Building CXX object > lib/CMakeFiles/qa_howto_square2_ff.dir/qa_howto_square2_ff.cc.o > Linking CXX executable qa_howto_square2_ff > [ 50%] Built target qa_howto_square2_ff > [ 62%] Building CXX object > lib/CMakeFiles/qa_howto_square_ff.dir/qa_howto_square_ff.cc.o > Linking CXX executable qa_howto_square_ff > [ 62%] Built target qa_howto_square_ff > [ 62%] Generating __init__.pyc > [ 62%] Generating __init__.pyo > [ 87%] Built target pygen_python_6b399 > [ 87%] Shebangin howto_square.py > [100%] Built target pygen_apps_19307 > > > Then > > > [anastas@jefe build]$ sudo make install > Built target gnuradio-howto > Built target qa_howto_square2_ff > Built target qa_howto_square_ff > Built target pygen_python_6b399 > Built target pygen_apps_19307 > Install the project... > -- Install configuration: "Release" > -- Installing: /usr/local/include/howto/howto_api.h > -- Installing: /usr/local/include/howto/howto_square_ff.h > -- Installing: /usr/local/include/howto/howto_square2_ff.h > -- Installing: /usr/local/lib64/libgnuradio-howto.so > -- Removed runtime path from "/usr/local/lib64/libgnuradio-howto.so" > -- Installing: /usr/local/lib64/python2.7/site-packages/howto/__init__.py > -- Installing: /usr/local/lib64/python2.7/site-packages/howto/__init__.pyc > -- Installing: /usr/local/lib64/python2.7/site-packages/howto/__init__.pyo > -- Installing: /usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml > -- Installing: /usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml > -- Installing: /usr/local/bin/howto_square.py > > > Now in python I try: > > [anastas@jefe build]$ python > Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) > [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import howto > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/local/lib64/python2.7/site-packages/howto/__init__.py", > line 45, in <module> > from howto_swig import * > ImportError: No module named howto_swig > > > The module howto_swig is missing.... > Any thoughts? > > thanks > Achilleas _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio