Dear tzopik,

        Thank you for your help! Unfortunately, I didn't build gnuradio from 
source, so I am trying to do that now. I am installing it on gentoo and 
following the gentoo instructions: 
http://gnuradio.org/redmine/projects/gnuradio/wiki/GentooInstall

1. emerge swig fftw cppunit boost alsa-lib sdcc guile wxpython xmlto numpy gsl
2. git clone git://github.com/gnuradio/gnuradio.git
3. cd ./gnuradio; mkdir build; cd build
4. cmake -DCMAKE_INSTALL_PREFIX=/usr -DQWT_INCLUDE_DIRS=/usr/include/qwt5 ../

At this point it looks like a bunch of errors occurred. I don't need anything 
gui-related, because this computer is headless.

XPedite7170 build # cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DQWT_INCLUDE_DIRS=/usr/include/qwt5 ../
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Found Git: /usr/bin/git 
-- Extracting version information from git describe...
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_WARN_SIGN_COMPARE
-- Performing Test HAVE_WARN_SIGN_COMPARE - Success
-- Performing Test HAVE_WARN_ALL
-- Performing Test HAVE_WARN_ALL - Success
-- Performing Test HAVE_WARN_NO_UNINITIALIZED
-- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success
-- Found PythonLibs: /usr/lib/libpython2.7.so 
-- Found SWIG: /usr/bin/swig (found version "2.0.4")
-- Minimum SWIG version required is 1.3.31
-- 
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
-- 
-- Configuring python-support support...
--   Dependency PYTHONLIBS_FOUND = TRUE
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
--   Enabling python-support support.
--   Override with -DENABLE_PYTHON=ON/OFF
-- checking for module 'cppunit'
--   found cppunit, version 1.12.1
-- Found CPPUNIT: /usr/lib/libcppunit.so;dl 
-- 
-- Configuring testing-support support...
--   Dependency CPPUNIT_FOUND = TRUE
--   Enabling testing-support support.
--   Override with -DENABLE_TESTING=ON/OFF
-- 
-- Configuring volk support...
--   Enabling volk support.
--   Override with -DENABLE_VOLK=ON/OFF
CMake Error at CMakeLists.txt:218 (add_subdirectory):
  add_subdirectory given source "volk" which is not an existing directory.


-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE) 
-- 
-- Configuring doxygen support...
--   Dependency DOXYGEN_FOUND = NO
--   Disabling doxygen support.
--   Override with -DENABLE_DOXYGEN=ON/OFF
-- 
-- Configuring sphinx support...
--   Dependency SPHINX_FOUND = FALSE
--   Disabling sphinx support.
--   Override with -DENABLE_SPHINX=ON/OFF
CMake Error at CMakeLists.txt:245 (add_subdirectory):
  add_subdirectory given source "gruel" which is not an existing directory.


-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   program_options
--   filesystem
--   system
--   thread
-- checking for module 'fftw3f >= 3.0'
--   found fftw3f , version 3.2.2
-- Found FFTW3F: /usr/lib/libfftw3f.so 
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- 
-- Configuring gnuradio-core support...
--   Dependency ENABLE_GRUEL = 
--   Dependency ENABLE_VOLK = ON
--   Dependency Boost_FOUND = TRUE
--   Dependency FFTW3F_FOUND = TRUE
--   Dependency PYTHONINTERP_FOUND = TRUE
--   Disabling gnuradio-core support.
--   Override with -DENABLE_GR_CORE=ON/OFF
CMake Error at CMakeLists.txt:247 (add_subdirectory):
  add_subdirectory given source "grc" which is not an existing directory.


CMake Error at CMakeLists.txt:249 (add_subdirectory):
  add_subdirectory given source "gr-fft" which is not an existing directory.


CMake Error at CMakeLists.txt:250 (add_subdirectory):
  add_subdirectory given source "gr-filter" which is not an existing
  directory.


CMake Error at CMakeLists.txt:251 (add_subdirectory):
  add_subdirectory given source "gr-atsc" which is not an existing directory.


CMake Error at CMakeLists.txt:252 (add_subdirectory):
  add_subdirectory given source "gr-audio" which is not an existing
  directory.


CMake Error at CMakeLists.txt:253 (add_subdirectory):
  add_subdirectory given source "gr-comedi" which is not an existing
  directory.


CMake Error at CMakeLists.txt:254 (add_subdirectory):
  add_subdirectory given source "gr-analog" which is not an existing
  directory.


CMake Error at CMakeLists.txt:255 (add_subdirectory):
  add_subdirectory given source "gr-digital" which is not an existing
  directory.


CMake Error at CMakeLists.txt:256 (add_subdirectory):
  add_subdirectory given source "gr-noaa" which is not an existing directory.


CMake Error at CMakeLists.txt:257 (add_subdirectory):
  add_subdirectory given source "gr-pager" which is not an existing
  directory.


CMake Error at CMakeLists.txt:258 (add_subdirectory):
  add_subdirectory given source "gr-qtgui" which is not an existing
  directory.


CMake Error at CMakeLists.txt:259 (add_subdirectory):
  add_subdirectory given source "gr-trellis" which is not an existing
  directory.


CMake Error at CMakeLists.txt:260 (add_subdirectory):
  add_subdirectory given source "gr-uhd" which is not an existing directory.


CMake Error at CMakeLists.txt:261 (add_subdirectory):
  add_subdirectory given source "gr-shd" which is not an existing directory.


CMake Error at CMakeLists.txt:262 (add_subdirectory):
  add_subdirectory given source "gr-utils" which is not an existing
  directory.


CMake Error at CMakeLists.txt:263 (add_subdirectory):
  add_subdirectory given source "gr-video-sdl" which is not an existing
  directory.


CMake Error at CMakeLists.txt:264 (add_subdirectory):
  add_subdirectory given source "gr-vocoder" which is not an existing
  directory.


CMake Error at CMakeLists.txt:265 (add_subdirectory):
  add_subdirectory given source "gr-fcd" which is not an existing directory.


CMake Error at CMakeLists.txt:266 (add_subdirectory):
  add_subdirectory given source "gr-wavelet" which is not an existing
  directory.


CMake Error at CMakeLists.txt:267 (add_subdirectory):
  add_subdirectory given source "gr-wxgui" which is not an existing
  directory.


CMake Error at CMakeLists.txt:268 (add_subdirectory):
  add_subdirectory given source "gr-blocks" which is not an existing
  directory.


-- 
-- ######################################################
-- # Gnuradio enabled components                         
-- ######################################################
--   * python-support
--   * testing-support
--   * volk
-- 
-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
--   * doxygen
--   * sphinx
--   * gnuradio-core
-- 
-- Using install prefix: /usr
-- Building for version: 3.6.1git-576-g3abf4a11 / 3.6.4git
-- Configuring incomplete, errors occurred!

I do want the gnuradio-core enabled though. Does the current installer work 
with Gentoo?

                   Sincerely,
          Tommy James Tracy II
                  PhD Student
High Performance Low Power Lab 
           University of Virginia

On Jan 10, 2013, at 12:51 PM, tzopik <tzo...@gmail.com> wrote:

> Tommy
> 
> You need to re-compile the source of the module in the gentoo computer 
> because the libs and so many things is diferent in Gentoo vs Ubuntu
> copy all project created by gr-modtool from ubuntu to gentoo and run in 
> gentoo:
> 
> cd /path/your_blocks
> rm build/ -rf
> mkdir build
> cd build
> cmake ../
> make
> sudo make install
> 
> 
> 
> 2013/1/10 Tommy Tracy II <tj...@virginia.edu>
> Dear Gnuradio Mailing List,
> 
>       I created a gr-modtool block on my Ubuntu machine; it works well, but I 
> want to run it on my Gentoo machine. At first, I thought I could just copy 
> over the module in dist-packages, but that doesn't seem to work:
> 
> I copied my custom module from: /usr/local/lib/python2.7/dist-packages/tom
> to (on my gentoo machine): /usr/lib/python2.7/site-packages/
> 
> I then tried an import and got the following error:
> >>> import tom
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.7/site-packages/tom/__init__.py", line 45, in 
> <module>
>     from tom_swig import *
>   File "/usr/lib/python2.7/site-packages/tom/tom_swig.py", line 26, in 
> <module>
>     _tom_swig = swig_import_helper()
>   File "/usr/lib/python2.7/site-packages/tom/tom_swig.py", line 22, in 
> swig_import_helper
>     _mod = imp.load_module('_tom_swig', fp, pathname, description)
> ImportError: /usr/lib/python2.7/site-packages/tom/_tom_swig.so: wrong ELF 
> class: ELFCLASS64
> 
> This indicates that I need to rebuild my module. Is there a way to build a 
> 32-bit version of the module on a 64 bit machine?
> 
>                    Sincerely,
>           Tommy James Tracy II
>                 PhD Student
> High Performance Low Power Lab 
>            University of Virginia
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> 
> -- 
> Cumprimentos,
> 
> José Quaresma

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

Reply via email to