Re: [Discuss-gnuradio] Error installing gnuradio.

2011-07-14 Thread Moritz Fischer

On 07/12/2011 09:55 AM, N.v wrote:

Hello.
I'm trying to compile gnuradio on arch linux from AUR
(https://aur.archlinux.org/packages.php?ID=39425)


I'm working on it ... there seems to be some other stuff besides
of the nousrp.patch stuff. I'll keep you updated.

Also you may check the attached patch.

Cheers,
Moritz


From e6fb610459cac0f01c3253de6fa87f6b485cb6b9 Mon Sep 17 00:00:00 2001
From: Moritz Fischer moritz.fisc...@student.kit.edu
Date: Thu, 14 Jul 2011 18:51:50 +0200
Subject: [PATCH] Fixed some tab / whitespace issues.

---
 volk/gen/make_makefile_am.py |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/volk/gen/make_makefile_am.py b/volk/gen/make_makefile_am.py
index d700626..f843b44 100644
--- a/volk/gen/make_makefile_am.py
+++ b/volk/gen/make_makefile_am.py
@@ -77,9 +77,9 @@ noinst_LTLIBRARIES =
 if archflags_dict[arch] != none:
 tempstring += - + archflags_dict[arch] +  
 
-	tempstring += \nnoinst_LTLIBRARIES += libvolk_ + machine_name + .la 
+tempstring += \nnoinst_LTLIBRARIES += libvolk_ + machine_name + .la 
 tempstring += \nlibvolk_la_LIBADD += libvolk_ + machine_name + .la\n
-	tempstring += libvolk_la_CPPFLAGS += -DLV_MACHINE_ + machine_name.swapcase() +  \n
+tempstring += libvolk_la_CPPFLAGS += -DLV_MACHINE_ + machine_name.swapcase() +  \n
 tempstring += endif\n
 
 
-- 
1.7.6

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


Re: [Discuss-gnuradio] Error installing gnuradio.

2011-07-14 Thread Moritz Fischer

Hey there,

I think I fixed it, can you give it another shot? I just updated the 
gnuradio-git PKGBUILD.


Cheers,

Moritz

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


Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

2011-05-11 Thread Jonathan Loo
Hi Josh, and others,

I have tried your suggestion by removing the python/uhd_swig.cc, and I follow 
the usual steps again from ./bootstrap to make.
Unfortunately, the errors still persist.

make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1
make[5]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathan/gnuradio'
make: *** [all] Error 2

Any other suggestion to resolve these errors? 

Another question:
As I learned from others, I set the environment variables as follows:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

I guess this is pointing towards the UHD driver which stalled in there.  I 
wonder if the above variables got anything to do with the gnuradio installation?

Hope to hear from anyone.

Kind regards,
Jonathan


From: discuss-gnuradio-bounces+j.loo=mdx.ac...@gnu.org 
[discuss-gnuradio-bounces+j.loo=mdx.ac...@gnu.org] On Behalf Of Josh Blum 
[j...@ettus.com]
Sent: 11 May 2011 00:59
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

On 05/10/2011 04:45 PM, Jonathan Loo wrote:
 Hi there,

 Please could someone shed some lights on the following problem I am facing.

 I have installed UHD drivers following the guidance from this site: 
 http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/

 My N210 works perfectly. I have even installed openbts-uhd, all works well.

 Unfortunately,  I am having problem install Gnuradio with the gr-uhd.

 git clone http://gnuradio.org/git/gnuradio.git
 cd gnuradio
 ./bootstrap
 ./configure --enable-gr-uhd
 make


That was related to a recent bug fix.
Can you remove python/uhd_swig.cc so it gets regenerated and/or make
clean and try again?

-Josh

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

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


Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

2011-05-11 Thread Josh Blum
Just nuke everything. Delete the source repository checkouts and any
installed folders from uhd/gnuradio. It will probably be quicker, and
you will catch the problem if there is one.

Marcus has an automated script to install everything floating around on
this list. If that helps.

-josh

On 05/11/2011 06:41 AM, Jonathan Loo wrote:
 Hi Josh, and others,
 
 I have tried your suggestion by removing the python/uhd_swig.cc, and I follow 
 the usual steps again from ./bootstrap to make.
 Unfortunately, the errors still persist.
 
 make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1
 make[5]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/jonathan/gnuradio'
 make: *** [all] Error 2
 
 Any other suggestion to resolve these errors? 
 
 Another question:
 As I learned from others, I set the environment variables as follows:
 
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 
 I guess this is pointing towards the UHD driver which stalled in there.  I 
 wonder if the above variables got anything to do with the gnuradio 
 installation?
 
 Hope to hear from anyone.
 
 Kind regards,
 Jonathan
 
 
 From: discuss-gnuradio-bounces+j.loo=mdx.ac...@gnu.org 
 [discuss-gnuradio-bounces+j.loo=mdx.ac...@gnu.org] On Behalf Of Josh Blum 
 [j...@ettus.com]
 Sent: 11 May 2011 00:59
 To: discuss-gnuradio@gnu.org
 Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig
 
 On 05/10/2011 04:45 PM, Jonathan Loo wrote:
 Hi there,

 Please could someone shed some lights on the following problem I am facing.

 I have installed UHD drivers following the guidance from this site: 
 http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/

 My N210 works perfectly. I have even installed openbts-uhd, all works well.

 Unfortunately,  I am having problem install Gnuradio with the gr-uhd.

 git clone http://gnuradio.org/git/gnuradio.git
 cd gnuradio
 ./bootstrap
 ./configure --enable-gr-uhd
 make

 
 That was related to a recent bug fix.
 Can you remove python/uhd_swig.cc so it gets regenerated and/or make
 clean and try again?
 
 -Josh
 
 ___
 Discuss-gnuradio mailing list
 Discuss-gnuradio@gnu.org
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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


Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

2011-05-11 Thread Tom Rondeau
On Wed, May 11, 2011 at 4:38 PM, Josh Blum j...@ettus.com wrote:

 Just nuke everything. Delete the source repository checkouts and any
 installed folders from uhd/gnuradio. It will probably be quicker, and
 you will catch the problem if there is one.

 Marcus has an automated script to install everything floating around on
 this list. If that helps.

 -josh


Make sure you take care of anything in /usr/lib or /usr/include. Somehow
some UHD stuff was installed there on my machine (probably from a deb
package install at some point) and was taking over, so the newer libuhd
built and installed into /usr/local/ was not being found and causing this
problem.

Tom



 On 05/11/2011 06:41 AM, Jonathan Loo wrote:
  Hi Josh, and others,
 
  I have tried your suggestion by removing the python/uhd_swig.cc, and I
 follow the usual steps again from ./bootstrap to make.
  Unfortunately, the errors still persist.
 
  make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1
  make[5]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
  make[4]: *** [all] Error 2
  make[4]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
  make[2]: *** [all] Error 2
  make[2]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/jonathan/gnuradio'
  make: *** [all] Error 2
 
  Any other suggestion to resolve these errors?
 
  Another question:
  As I learned from others, I set the environment variables as follows:
 
  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
  export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 
  I guess this is pointing towards the UHD driver which stalled in there.
  I wonder if the above variables got anything to do with the gnuradio
 installation?
 
  Hope to hear from anyone.
 
  Kind regards,
  Jonathan
 
  
  From: 
  discuss-gnuradio-bounces+j.loo=mdx.ac...@gnu.org[discuss-gnuradio-bounces+j.loo=
 mdx.ac...@gnu.org] On Behalf Of Josh Blum [j...@ettus.com]
  Sent: 11 May 2011 00:59
  To: discuss-gnuradio@gnu.org
  Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd --
 gr-uhd/swig
 
  On 05/10/2011 04:45 PM, Jonathan Loo wrote:
  Hi there,
 
  Please could someone shed some lights on the following problem I am
 facing.
 
  I have installed UHD drivers following the guidance from this site:
 http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/
 
  My N210 works perfectly. I have even installed openbts-uhd, all works
 well.
 
  Unfortunately,  I am having problem install Gnuradio with the gr-uhd.
 
  git clone http://gnuradio.org/git/gnuradio.git
  cd gnuradio
  ./bootstrap
  ./configure --enable-gr-uhd
  make
 
 
  That was related to a recent bug fix.
  Can you remove python/uhd_swig.cc so it gets regenerated and/or make
  clean and try again?
 
  -Josh
 
  ___
  Discuss-gnuradio mailing list
  Discuss-gnuradio@gnu.org
  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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

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


Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

2011-05-11 Thread Jonathan Loo
ThanksJosh and Tom. Both your comments are extremely useful!

I have got it fully working now. I have actually reinstalled a clean Ubuntu 
11.04, and just executed Marcus' script. It works beautifully...!

Jonathan 


From: Tom Rondeau [trondeau1...@gmail.com]
Sent: 11 May 2011 17:41
To: j...@ettus.com
Cc: Jonathan Loo; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

On Wed, May 11, 2011 at 4:38 PM, Josh Blum 
j...@ettus.commailto:j...@ettus.com wrote:
Just nuke everything. Delete the source repository checkouts and any
installed folders from uhd/gnuradio. It will probably be quicker, and
you will catch the problem if there is one.

Marcus has an automated script to install everything floating around on
this list. If that helps.

-josh

Make sure you take care of anything in /usr/lib or /usr/include. Somehow some 
UHD stuff was installed there on my machine (probably from a deb package 
install at some point) and was taking over, so the newer libuhd built and 
installed into /usr/local/ was not being found and causing this problem.

Tom


On 05/11/2011 06:41 AM, Jonathan Loo wrote:
 Hi Josh, and others,

 I have tried your suggestion by removing the python/uhd_swig.cc, and I follow 
 the usual steps again from ./bootstrap to make.
 Unfortunately, the errors still persist.

 make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1
 make[5]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/jonathan/gnuradio'
 make: *** [all] Error 2

 Any other suggestion to resolve these errors?

 Another question:
 As I learned from others, I set the environment variables as follows:

 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

 I guess this is pointing towards the UHD driver which stalled in there.  I 
 wonder if the above variables got anything to do with the gnuradio 
 installation?

 Hope to hear from anyone.

 Kind regards,
 Jonathan

 
 From: 
 discuss-gnuradio-bounces+j.loo=mdx.ac.ukhttp://mdx.ac.uk@gnu.orghttp://gnu.org
  
 [discuss-gnuradio-bounces+j.loo=mdx.ac.ukhttp://mdx.ac.uk@gnu.orghttp://gnu.org]
  On Behalf Of Josh Blum [j...@ettus.commailto:j...@ettus.com]
 Sent: 11 May 2011 00:59
 To: discuss-gnuradio@gnu.orgmailto:discuss-gnuradio@gnu.org
 Subject: Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

 On 05/10/2011 04:45 PM, Jonathan Loo wrote:
 Hi there,

 Please could someone shed some lights on the following problem I am facing.

 I have installed UHD drivers following the guidance from this site: 
 http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/

 My N210 works perfectly. I have even installed openbts-uhd, all works well.

 Unfortunately,  I am having problem install Gnuradio with the gr-uhd.

 git clone http://gnuradio.org/git/gnuradio.git
 cd gnuradio
 ./bootstrap
 ./configure --enable-gr-uhd
 make


 That was related to a recent bug fix.
 Can you remove python/uhd_swig.cc so it gets regenerated and/or make
 clean and try again?

 -Josh

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

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


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


Re: [Discuss-gnuradio] error installing gnuradio+uhd -- gr-uhd/swig

2011-05-10 Thread Josh Blum


On 05/10/2011 04:45 PM, Jonathan Loo wrote:
 Hi there,
 
 Please could someone shed some lights on the following problem I am facing.
 
 I have installed UHD drivers following the guidance from this site: 
 http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/
 
 My N210 works perfectly. I have even installed openbts-uhd, all works well.
 
 Unfortunately,  I am having problem install Gnuradio with the gr-uhd.
 
 git clone http://gnuradio.org/git/gnuradio.git
 cd gnuradio
 ./bootstrap
 ./configure --enable-gr-uhd
 make
 

That was related to a recent bug fix.
Can you remove python/uhd_swig.cc so it gets regenerated and/or make
clean and try again?

-Josh

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