enhanced librtlsdr for RTL_SDR dongle

157 views
Skip to first unread message

w6sz

unread,
Oct 26, 2015, 6:43:24 PM10/26/15
to Linrad
Hello Leif,

Still trying to get a dongle to work.

The linrad installation and ./configure(s)  are running fine up to the point that I need to install the librtlsdr ( lin04.07 )

 Not present: librtlsdr.so 
 This package is needed for the Realtek RTL2832 based DVB dongle
 Modern Linux distributions may have a librtlsdr-dev(el) package
 You may install the standard osmocom package from source
 http://sdr.osmocom.org/trac/wiki/rtl-sdr
 To get the improved library for Linrad use the following commands:
    cd /usr/src
    rm -r -f librtlsdr
    wget http://sm5bsz.com/linuxdsp/hware/rtlsdr/rtl-sdr-linrad5.tbz
    tar xvfj rtl-sdr-linrad5.tbz
    cd librtlsdr
    mkdir build
    cd build      ( Everything progressing fine up to cd /build.)
    cmake ..     
make make install

--------------

the cmake does not seem to do anything, needs cmake unknown for me at least

see cmake using in /build

root@raspberrypi:/usr/src/librtlsdr/build# cmake cmake version 2.8.9 Usage cmake [options] <path-to-source> cmake [options] <path-to-existing-build> Options -C <initial-cache> = Pre-load a script to populate the cache. -D <var>:<type>=<value> = Create a cmake cache entry. -U <globbing_expr> = Remove matching entries from CMake cache. -G <generator-name> = Specify a makefile generator. -Wno-dev = Suppress developer warnings. -Wdev = Enable developer warnings. -E = CMake command mode. -i = Run in wizard mode. -L[A][H] = List non-advanced cached variables. --build <dir> = Build a CMake-generated project binary tree. -N = View mode only. -P <file> = Process script mode. --find-package = Run in pkg-config like mode. --graphviz=[file] = Generate graphviz of dependencies. --system-information [file] = Dump information about this system. --debug-trycompile = Do not delete the try_compile build tree. Only useful on one try_compile at a time. --debug-output = Put cmake in a debug mode. --trace = Put cmake in trace mode. --warn-uninitialized = Warn about uninitialized values. --warn-unused-vars = Warn about unused variables. --no-warn-unused-cli = Don't warn about command line options. --check-system-vars = Find problems with variable usage in system files. --help-command cmd [file] = Print help for a single command and exit. --help-command-list [file] = List available listfile commands and exit. --help-commands [file] = Print help for all commands and exit. --help-compatcommands [file]= Print help for compatibility commands. --help-module module [file] = Print help for a single module and exit. --help-module-list [file] = List available modules and exit. --help-modules [file] = Print help for all modules and exit. --help-custom-modules [file]= Print help for all custom modules and exit. --help-policy cmp [file] = Print help for a single policy and exit. --help-policies [file] = Print help for all policies and exit. --help-property prop [file] = Print help for a single property and exit. --help-property-list [file] = List available properties and exit. --help-properties [file] = Print help for all properties and exit. --help-variable var [file] = Print help for a single variable and exit. --help-variable-list [file] = List documented variables and exit. --help-variables [file] = Print help for all variables and exit. --copyright [file] = Print the CMake copyright and exit. --help,-help,-usage,-h,-H,/?= Print usage information and exit. --help-full [file] = Print full help and exit. --help-html [file] = Print full help in HTML format. --help-man [file] = Print full help as a UNIX man page and exit. --version,-version,/V [file]= Show program name/version banner and exit. Generators The following generators are available on this platform: Ninja = Generates build.ninja files (experimental). Unix Makefiles = Generates standard UNIX makefiles. CodeBlocks - Ninja = Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files. Eclipse CDT4 - Unix Makefiles = Generates Eclipse CDT 4.0 project files. KDevelop3 = Generates KDevelop 3 project files. KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files. root@raspberrypi:/usr/src/librtlsdr/build# ls root@raspberrypi:/usr/src/librtlsdr/build#

the result up to here is an empty /build

make

and make install

both unknown No action

Not sure this is the problem, but probably part of the problem''

Sorry Leif for all the hassle.
I really like getting that dongle to run again as before I had to redo the Rasppi

73 Rein W6SZ





Leif Asbrink

unread,
Oct 26, 2015, 9:10:24 PM10/26/15
to lin...@googlegroups.com
Hello Rein,

> cd build ( Everything progressing fine up to cd /build.)
> cmake ..
> make
> make install
>
> --------------
>
> the cmake does not seem to do anything, needs cmake unknown for me at least
Oooh!!!

The command is "cmake .."
The two dots are essential, they mean run cmake on the
parent directory.

73

Leif
Reply all
Reply to author
Forward
0 new messages