Still problems building gr 3.4.2 / Debian

On Fri, Aug 2, 2013 at 11:38 PM, Ralph A. Schmid [email protected]
wrote:

mv: cannot stat `gen/lib/Makefile.am’: No such file or directory
ras@dk5ras:~/gnuradio-3.4.2$

Not good. Try this from the beginning. It built on my Fedora 19
machine 30 seconds ago.

$ git clone -b fedora17 git://github.com/ttsou/gnuradio.git

$ ./bootstrap

$ ./configure --disable-volk --with-fusb-tech=libusb1 --disable-usrp2
–disable-gr-msdd6000 --disable-gr-audio --disable-gr-atsc
–disable-gr-cvsd-vocoder --disable-gr-gpio
–disable-gr-gsm-fr-vocoder --disable-gr-noaa --disable-gr-pager
–disable-gr-radar-mono --disable-gr-radio-astronomy
–disable-gr-trellis --disable-gr-wxgui --disable-gr-sounder
–disable-gr-utils --disable-gnuradio-examples --disable-grc
–disable-docs


The following GNU Radio components have been successfully configured:

config
gruel
usrp

$ make
$ make install

-TT

Hi,

Without gr-usrp everything builds and installs just fine - but when
trying
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

Ralph.

-----Original Message-----
From: Tom T. [mailto:[email protected]]
Sent: Friday, 02 August, 2013 22:39
To: Ralph A. Schmid, dk5ras
Cc: [email protected]
Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 / Debian

On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras
[email protected]

command line
make[2]: Leaving directory /home/ras/gnuradio-3.4.2/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/ras/gnuradio-3.4.2’
make: *** [all] Error 2
ras@dk5ras:~/gnuradio-3.4.2$

If I’m not mistaken, that means the driver is built. Anyhow, the gr-usrp
module isn’t needed so you can add that to the disable list too
'–disable-gr-

Hi,

Without gr-usrp everything builds and installs just fine - but when
trying
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

Ralph.

-----Original Message-----
From: Tom T. [mailto:[email protected]]
Sent: Friday, 02 August, 2013 22:39
To: Ralph A. Schmid, dk5ras
Cc: [email protected]
Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 / Debian

On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras
[email protected]

command line
make[2]: Leaving directory /home/ras/gnuradio-3.4.2/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/ras/gnuradio-3.4.2’
make: *** [all] Error 2
ras@dk5ras:~/gnuradio-3.4.2$

If I’m not mistaken, that means the driver is built. Anyhow, the gr-usrp
module isn’t needed so you can add that to the disable list too
'–disable-gr-

On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras
[email protected] wrote:

collect2: error: ld returned 1 exit status
make: *** [all] Error 2
ras@dk5ras:~/gnuradio-3.4.2$

If I’m not mistaken, that means the driver is built. Anyhow, the
gr-usrp module isn’t needed so you can add that to the disable list
too ‘–disable-gr-usrp’.

Or, since you only care about the usrp driver, just go into the
‘usrp’ subdirectory and run make and make install from there and
ignore everything else.

-TT

On Aug 3, 2013 9:18 AM, “Ralph A. Schmid, dk5ras” [email protected]
wrote:

Without gr-usrp everything builds and installs just fine - but when trying
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

It’s not.

What are the contents of the following directories?

/usr/local/lib/pkgconfig
/usr/local/lib64/pkgconfig

-TT

Hi,

Without gr-usrp everything builds and installs just fine - but when
trying
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

Ralph.

-----Original Message-----
From: Tom T. [mailto:[email protected]]
Sent: Friday, 02 August, 2013 22:39
To: Ralph A. Schmid, dk5ras
Cc: [email protected]
Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 / Debian

On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras
[email protected]

command line
make[2]: Leaving directory /home/ras/gnuradio-3.4.2/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/ras/gnuradio-3.4.2’
make: *** [all] Error 2
ras@dk5ras:~/gnuradio-3.4.2$

If I’m not mistaken, that means the driver is built. Anyhow, the gr-usrp
module isn’t needed so you can add that to the disable list too
'–disable-gr-

It works now. It is a number of traps a newby never could figure out on
his
own, but finally it is possible, and even not too complicated when you
know
what you need to do.

I had no choice, as I have a relative new tablet PC (Microsoft Surface
pro),
and it even was difficult to find a Linux distribution that worked
without
too much of a hassle. Many hours during the last weeks and months seem
to be
wasted and could have been used for so much interesting SDR experiments,
but
now I have a super portable system. As I am traveling a lot, this is
very
useful, especially when the long awaited BladeRF finally arrives.

With best regards

Ralph.

From: Christophe Devine [mailto:[email protected]]
Sent: Saturday, August 03, 2013 1:33 PM
To: Ralph A. Schmid, dk5ras
Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 /
Debian

Ralph,

I tried the same as you, compiling 3.4.2 on the latest Debian. I gave
up,
and went back to Ubuntu 12.04. What you can do is to compile 3.4.2 to
obtain
just libusrp on Ubuntu 12.04 (or older), for example using a VM, then
move
the libusrp library to your Debian, to enable compilation with OpenBTS.
I
haven’t tried this in practise though, as I still use 12.04.

On Fri, Aug 2, 2013 at 6:27 AM, Ralph A. Schmid, dk5ras
[email protected]
wrote:

Hi,

After compiling and installing sdcc2.9 from source this problem seems to
be
solved, but now building gr 3.4.2 on a Debian / Jessie (testing) AMD64
machine gives right after confirming the sdcc version another error. It
says
that it does not find libusb, but in fact the packages are installed,
and gr
3.7 uses them just fine.

Any ideas what the reason could be?

Ralph A. Schmid
Mondstr. 10
90762 Frth
+49-171-3631223 tel:%2B49-171-3631223
[email protected]
http://www.bclog.de/