Oops, yes - you need to make the build directory in the hackrf/host folder
as Roy mentioned.  Apologies, I wrote my original email from memory...
should have tested it first.

Thanks,


- adam

On Sun, Feb 12, 2017 at 5:59 AM, Roy <[email protected]> wrote:

> Hi Brian,
>
> Try this, it's worked for me on a RPi3 and a RPi2B so far:
>
>
> cd hackrf/*host*
>
> mkdir build
>
> cd build
>
> cmake ..
>
> sudo make install
>
> sudo ldconfig
>
>
> Hope this helps (I didn't send it to the list last time)
>
> I've got a slight problem now, the RPi2 is working fine, sweep and so on
> but my other hackrf on the RPi3 wasn't working on sweep so
> I rebooted and now I'm not getting any hackrf_info either, but
> hackrf_debug works! Something for me to look at tomorrow...
>
> Roy
>
> On 12/02/17 21:40, Brian Gieryk wrote:
>
> Ok, got as far as $cmake .. and it failed.  Error is '/home/Pi/hackrf does
> not appear to contain CmakeLists.text'
>
> Sure enough, using the file manager, no file by that name.
>
> Thank you!
>
> Brian
> KE6IYC
>
>
> Sent from my iPhone
>
> On Feb 11, 2017, at 22:32, Adam Blanquart <[email protected]> wrote:
>
> Brian,
>
> I'm not on a Raspberry Pi at the moment, so your commands may vary
> slightly.  This is how I perform the install on Kali (should be the same
> for Ubuntu (Debian)):
>
> Install dependencies and make sure have you have a local copy of the
> hackrf github repo:
>
>
>
> *overflow@pollan:~$ sudo apt-get install git gcc cmake make fftw3
> fftw3-dev pkg-config build-essential overflow@pollan:~$ git clone
> https://github.com/mossmann/hackrf <https://github.com/mossmann/hackrf> *
> (If you already have this repo cloned locally, you can update it by
> running a git pull):
>
>
> *overflow@pollan:~/hackrf$ cd hackrf *
>
> *overflow@pollan:~/hackrf$ git pull *
> cmake the files
>
>
> *overflow@pollan:~/hackrf$ cd hackrf *
>
> *overflow@pollan:~/hackrf$ mkdir build *
>
> *overflow@pollan:~/hackrf$ cd build *
>
> *overflow@pollan:~/hackrf/build$ cmake .. *
> *overflow@pollan:~/hackrf/build$ make && make install*
>
> Check to see if installed ok (Remember, hackrf_debug is a new command..)
>
> *overflow@pollan:~/hackrf$ hackrf_debug*
>
> If you get instructions here, you should be all set. If you are unable to
> build, it's possible that the dependencies are named slightly different on
> Raspian.  I can fire up my Pi later tonight to be sure if you have issues.
>
> Enjoy!
>
> -adam (overflow_ on freenode)
>
>
>
>
>
> On Sat, Feb 11, 2017 at 7:35 PM, Brian Gieryk <[email protected]> wrote:
>
>> I have successfully updated all the firmware in my Hackrf one.
>>
>> Now, how in the world do I update Hackrf-tools?
>>
>> I really would like to see if I can use the sweep function.
>>
>> FYI, I am completely incompetent with the Linux command line.
>>
>> I am running a Raspberry Pi 3B, with Raspbian Jessie.
>>
>> Thanks in advance,
>>
>> Brian
>> KE6IYC
>>
>> Sent from my iPhone
>> _______________________________________________
>> HackRF-dev mailing list
>> [email protected]
>> https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>>
>
>
>
> --
> ADAM BLANQUART | [email protected] |
>
>
>
> _______________________________________________
> HackRF-dev mailing 
> [email protected]https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
>
>
>


-- 
ADAM BLANQUART | [email protected] |
_______________________________________________
HackRF-dev mailing list
[email protected]
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev

Reply via email to