[Hackrf-dev] ubuntu 14.04lts

Donald Pupecki pupeckd at sunyit.edu
Sun Jul 5 17:56:09 EDT 2015


I always find the most straightforward way is to compile from source. Grab
hackrf, (uhd, rtlsdr, etc if you have those), gnuradio, gr-osmosdr, gqrx
from their respective git repos and build in that order. Except for gqrx
they all use cmake so the instructions are basically the same.
Goto the directly with the cmakelists.txt file. (Hackrf this is host I
believe, the rest I think are in the root) Run:
mkdir build
cd build
cmake ../
(Observe the output and make sure all desired components are set to build)
If you get an error about a missing package or a component you want isn't
set to build due to a dependency error, apt-cache  (or aptitude) search
<missing thing>, aptitude install <package that looks closest to missing
thing> (usually they will start with lib and/or end in dev/devel)
make -j <# of cpu cores>
sudo make install

For gqrx run qmake instead of cmake.

It may not be easiest but you'll learn the most and not have to rely on the
(seemingly always broken) build scripts or (also always broken, very
immature) pybombs.

If you want the easiest solution, use the Pentoo live cd.
On Jul 5, 2015 5:12 PM, "Paul Connolly" <eeipcy at gmail.com> wrote:

>  try
> "sudo apt-get --force-yes remove gr-iqbal"
>
>        --force-yes
>            Force yes; this is a dangerous option that will cause apt to
> continue without prompting if it is doing something potentially harmful. It
> should not be used except in very
>            special situations. Using force-yes can potentially destroy
> your system! Configuration Item: APT::Get::force-yes.
>
>
>
> On 05/07/2015 21:59, tokens at myranch.com wrote:
>
> Gives same result as trying to remove gr-iqbal.
>
> -----Original Message----- From: Alexandru Csete
> Sent: Sunday, July 05, 2015 4:52 PM
> To: tokens at myranch.com
> Cc: Simon Kennedy ; hackrf-dev at greatscottgadgets.com
> Subject: Re: [Hackrf-dev] ubuntu 14.04lts
>
> Then try removing gr-osmosdr first.
>
> Alex
>
> On Sun, Jul 5, 2015 at 10:39 PM,  <tokens at myranch.com>
> <tokens at myranch.com> wrote:
>
> Alex,
>
> Here is what happens. It just isn't going to let me get out of this mess.
>
> allen at allen-laptop:~$ sudo apt-get remove gr-iqbal
> [sudo] password for allen:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
> gr-osmosdr : Depends: libgnuradio-iqbalance but it is not going to be
> installed
> libgnuradio-osmosdr0.1.4 : Depends: libgnuradio-iqbalance but it is not
> going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify
> a solution).
> allen at allen-laptop:~$
>
> Al
>
> -----Original Message----- From: Alexandru Csete
> Sent: Sunday, July 05, 2015 4:28 PM
> To: tokens at myranch.com
> Cc: Simon Kennedy ; hackrf-dev at greatscottgadgets.com
> Subject: Re: [Hackrf-dev] ubuntu 14.04lts
>
> On Sun, Jul 5, 2015 at 9:45 PM,  <tokens at myranch.com> <tokens at myranch.com>
> wrote:
>
>
> Unpacking libgnuradio-iqbalance (0.37.2-gqrx~trusty8) ...
> dpkg: error processing archive
> /var/cache/apt/archives/libgnuradio-iqbalance_0.37.2-gqrx~trusty8_i386.deb
> (--unpack):
> trying to overwrite
> '/usr/lib/python2.7/dist-packages/gnuradio/iqbalance/iqbalance_swig.py',
> which is also in package gr-iqbal 0.37.1.5.d4fd4d-1
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Errors were encountered while processing:
> /var/cache/apt/archives/libgnuradio-iqbalance_0.37.2-gqrx~trusty8_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> allen at allen-laptop:~$
>
> It seems the failure of the installation of libgnuradio-iqbalance has me
> in
> a corner. I can’t install the file and I can’t remove what I have done.
>
>
>
> There is a conflict with the gr-iqbal package provided by Ubuntu
> 14.04. Try removing that first
>
> sudo apt.get remove gr-iqbal
>
> Then you can continue with installing or uninstalling.
>
> Alex
>
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
>
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist9.pair.net/pipermail/hackrf-dev/attachments/20150705/493bf0fc/attachment.html>


More information about the HackRF-dev mailing list