On Thu, Feb 16, 2012 at 11:57 AM, Achilleas Anastasopoulos < anas...@umich.edu> wrote:
> 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 > Achilleas, Something definitely looks off on your installation. Here's what I get when I do a make install: howto $ sudo make install [sudo] password for trondeau: [ 10%] Built target gnuradio-howto [ 15%] Built target qa_howto_square2_ff [ 20%] Built target qa_howto_square_ff [ 25%] Built target _howto_swig_doc_tag [ 30%] Built target _howto_swig_swig_tag [ 55%] Built target _howto_swig [ 85%] Built target pygen_swig_abbee [ 95%] Built target pygen_python_8d1a5 [100%] Built target pygen_apps_3fd98 Install the project... -- Install configuration: "Release" -- Installing: /opt/gr/include/howto/howto_api.h -- Installing: /opt/gr/include/howto/howto_square_ff.h -- Installing: /opt/gr/include/howto/howto_square2_ff.h -- Installing: /opt/gr/lib/libgnuradio-howto.so -- Removed runtime path from "/opt/gr/lib/libgnuradio-howto.so" -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/_howto_swig.so -- Removed runtime path from "/opt/gr/lib/python2.6/dist-packages/howto/_howto_swig.so" -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/howto_swig.py -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/howto_swig.pyc -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/howto_swig.pyo -- Installing: /opt/gr/include/howto/swig/howto_swig.i -- Installing: /opt/gr/include/howto/swig/howto_swig_doc.i -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/__init__.py -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/__init__.pyc -- Installing: /opt/gr/lib/python2.6/dist-packages/howto/__init__.pyo -- Installing: /opt/gr/share/gnuradio/grc/blocks/howto_square_ff.xml -- Installing: /opt/gr/share/gnuradio/grc/blocks/howto_square2_ff.xml -- Installing: /opt/gr/bin/howto_square.py Yours never hits the "Built target _howto_swig_doc_tag" or any other _howto_swig line. It then shows that these are not installing, either. I just did it on my machine with no problem. Can you just blow away your build directory and try again? Thanks, Tom
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio