Error during "sudo make install" in Ubuntu 9.10

Any idea about the following error ? I got this during the “sudo make
install”. I am using ubuntu 9.10 and gnuradio from the tar ball. Any
help
would be appreciated. Thanks.

-Hasan

  1. make[5]: Nothing to be done for `install-data-am’.
  2. make[5]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib’
  3. make[4]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib’
  4. Making install in swig
  5. make[4]: Entering directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
  6. make install-am
  7. make[5]: Entering directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
  8. make[6]: Entering directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
  9. make[6]: Nothing to be done for `install-exec-am’.
  10. test -z “/usr/local/lib/python2.6/dist-packages/gnuradio/gr” ||
    /bin/mkdir -p “/usr/local/lib/python2.6/dist-packages/gnuradio/gr”
  11. /bin/bash …/…/…/…/libtool --mode=install /usr/bin/install
    -c
    _gnuradio_swig_py_filter.la’/usr/local/lib/python2.6/dist-packages/gnuradio/gr’
  12. libtool: install: error: cannot install
    `_gnuradio_swig_py_filter.la’
    to a directory not ending in
    /usr/lib/python2.6/dist-packages/gnuradio/gr
  13. make[6]: *** [install-gnuradio_swig_py_filter_pylibLTLIBRARIES]
    Error
    1
  14. make[6]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
  15. make[5]: *** [install-am] Error 2
  16. make[5]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
  17. make[4]: *** [install] Error 2
  18. make[4]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib/swig’
  19. make[3]: *** [install-recursive] Error 1
  20. make[3]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src/lib’
  21. make[2]: *** [install-recursive] Error 1
  22. make[2]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core/src’
  23. make[1]: *** [install-recursive] Error 1
  24. make[1]: Leaving directory
    `/home/hasan/Documents/gnuradio-3.2.2/gnuradio-core’
  25. make: *** [install-recursive] Error 1
  26. hasan@hasan-laptop:~/Documents/gnuradio-3.2.2$

On Fri, Mar 19, 2010 at 11:21, S.M. Hasan [email protected] wrote:

Any idea about the following error ? I got this during the “sudo make
install”. I am using ubuntu 9.10 and gnuradio from the tar ball. Any help
would be appreciated. Thanks.

‘/usr/local/lib/python2.6/dist-packages/gnuradio/gr’
libtool: install: error: cannot install `_gnuradio_swig_py_filter.la’ to a
directory not ending in /usr/lib/python2.6/dist-packages/gnuradio/gr
make[6]: *** [install-gnuradio_swig_py_filter_pylibLTLIBRARIES] Error 1
make[6]: Leaving directory

This is usually the case if you had previously run configure with a
particular --prefix= command-line variable (or the default), compiled,
then reran configure with a different --prefix= variable. You need to
do:

$ make distclean

…in order to remove all the generated files from the previous build,
then start over at the ./configure stage. (Even if the above reason
isn’t why you see this error, the make distclean should fix it.)

Johnathan