On Mon, Jul 17, 2017 at 10:21 AM, Jerry <jster...@att.net> wrote: > > I would like to install the hackrf software on to a fresh install of Ubuntu > 16.04.2 LTS. I did an update and upgrade afterwards then the only > installation instructions I could find for the 2017 hackrf version was in > current hackrf github repository host README.md. >
The not-very-good instructions that I guess you're reading from https://github.com/mossmann/hackrf/blob/master/host/README.md are assuming that you have either git cloned or zip downloaded the hackrf repository from github. > The file says > > ##How to build the host software on Linux: > > ###Prerequisites for Linux (Debian/Ubuntu): sudo apt-get install > build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev > > So I ran it and it did its thing without errors. > > Next instruction says: > ###Build host software on Linux: > > mkdir host/build > Yep, mkdir needs a -p if you're making a directory path rather than just a directory. That's a mistake in the doc. > cd host/build > cmake .. > make > sudo make install > sudo ldconfig > > I could not get past the first line, even running it as sudo but Google is > good and said the current version of Ubuntu wants : 'mkdir -p host/build' > > > OK that works and cd host/build and ran > > cmake .. > > That command tells cmake to look for a CMakeLists.txt file in the directory above where you ran the command. So... go and get the hackrf github repo. If you're unfamilair with git, just click in the web page to download the zip. Unzip the zip. cd hackrf/host ls You should see the files listed at https://github.com/mossmann/hackrf/tree/master/host mkdir build cd build cmake .. And the rest ought to work. -- MC
_______________________________________________ HackRF-dev mailing list HackRF-dev@greatscottgadgets.com https://pairlist9.pair.net/mailman/listinfo/hackrf-dev