kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
fa699001e8
commit
e26bdae56e
|
@ -70,17 +70,17 @@ will be needed. See 'configure --help' for more information.
|
||||||
Here is a list of development packages needed for a complete build of the
|
Here is a list of development packages needed for a complete build of the
|
||||||
library (Debian package names are listed, other distributions may differ):
|
library (Debian package names are listed, other distributions may differ):
|
||||||
|
|
||||||
* Gnu C or any C99 compliant compiler # gcc --version
|
* Gnu C (gcc) or any C99 compliant compiler # gcc --version
|
||||||
* Gnu make (or any modern one, BSD okay) # make --version
|
* Gnu make (or any modern one, BSD okay) # make --version
|
||||||
* Git for connection to hamlib.svn.sourceforge.net
|
* libltdl-dev 2.2.6b+
|
||||||
|
|
||||||
N.B. The Debian and derivatives (Ubuntu and friends) 'build-essentials'
|
N.B. The Debian and derivatives (Ubuntu and friends) 'build-essentials'
|
||||||
package will install a number of tools and minimize the number of packages
|
package will install a number of tools and minimize the number of packages
|
||||||
that need to be installed manually.
|
that need to be installed manually.
|
||||||
|
|
||||||
Optional, but highly recommended for a complete build:
|
Optional, but highly recommended for a complete build:
|
||||||
* GNU C++ # g++ --version
|
* GNU C++ (g++) # g++ --version
|
||||||
* swig (for bindings) 1.3.14 # swig -version
|
* swig (for bindings) 1.3.14+ # swig -version
|
||||||
* perl devel # h2xs
|
* perl devel # h2xs
|
||||||
* tcl devel # tcltk-depends
|
* tcl devel # tcltk-depends
|
||||||
* python devel # python-config
|
* python devel # python-config
|
||||||
|
@ -88,6 +88,7 @@ Optional, but highly recommended for a complete build:
|
||||||
* libgd2 devel # gdlib-config --version
|
* libgd2 devel # gdlib-config --version
|
||||||
* libusb devel # libusb-config --version (not 1.0.0!)
|
* libusb devel # libusb-config --version (not 1.0.0!)
|
||||||
* RPC devel (libc-dev) # rpcgen --version
|
* RPC devel (libc-dev) # rpcgen --version
|
||||||
|
* Git for connection to hamlib.git.sourceforge.net
|
||||||
|
|
||||||
N.B The libusb package is required for building most of the 'kit' backend.
|
N.B The libusb package is required for building most of the 'kit' backend.
|
||||||
The older version is needed, not 1.0.0 or higher. Debian and derivatives
|
The older version is needed, not 1.0.0 or higher. Debian and derivatives
|
||||||
|
@ -103,14 +104,14 @@ Git master branch daily snapshot build:
|
||||||
Reading the INSTALL file in top directory will explain in more detail how
|
Reading the INSTALL file in top directory will explain in more detail how
|
||||||
to do the following commands.
|
to do the following commands.
|
||||||
|
|
||||||
./configure --disable-static --prefix=/usr/local
|
./configure [--disable-static] [--prefix=</usr/local>]
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
The prefix argument is optional. Convention is that local packages be
|
The prefix argument is optional. Convention is that local packages be
|
||||||
placed in /usr/local away from distribution installed packages This is the
|
placed in /usr/local away from distribution installed packages This is the
|
||||||
default location for the snapshots so it may be disregarded unless you wish
|
default location for the snapshots so it may be disregarded unless you wish
|
||||||
to install Hamlib elsewhere. The --disable-static option speeds up
|
to install Hamlib elsewhere. The '--disable-static' option speeds up
|
||||||
compilation if you don't plan to use static libraries (static libraries are
|
compilation if you don't plan to use static libraries (static libraries are
|
||||||
usually not needed).
|
usually not needed).
|
||||||
|
|
||||||
|
|
|
@ -236,8 +236,8 @@ distributions may differ).
|
||||||
* Gnu make (or any modern one, BSD okay) # make --version
|
* Gnu make (or any modern one, BSD okay) # make --version
|
||||||
* autoconf 2.59 # autoconf --version
|
* autoconf 2.59 # autoconf --version
|
||||||
* automake 1.7 # automake --version
|
* automake 1.7 # automake --version
|
||||||
* libtool 2.2.6b # libtool --version
|
* libtool 2.2.6b+ # libtool --version
|
||||||
* libltdl-dev 2.2.6b
|
* libltdl-dev 2.2.6b+
|
||||||
* Git for connection to hamlib.git.sourceforge.net
|
* Git for connection to hamlib.git.sourceforge.net
|
||||||
|
|
||||||
N.B. Hamlib requires libtool >= 2.2.6b in compliance with CVE-2009-3736.
|
N.B. Hamlib requires libtool >= 2.2.6b in compliance with CVE-2009-3736.
|
||||||
|
@ -253,7 +253,7 @@ Optional, but highly recommended:
|
||||||
* libusb devel # libusb-config --version (not 1.0.0!)
|
* libusb devel # libusb-config --version (not 1.0.0!)
|
||||||
* RPC devel (libc-dev) # rpcgen --version
|
* RPC devel (libc-dev) # rpcgen --version
|
||||||
|
|
||||||
N.B The libusb package is required for building most of the 'kit' backend.
|
N.B.: The libusb package is required for building most of the 'kit' backend.
|
||||||
The older version is needed, not 1.0.0 or higher. Debian and derivatives
|
The older version is needed, not 1.0.0 or higher. Debian and derivatives
|
||||||
package libusb 0.1.12 which is what is needed.
|
package libusb 0.1.12 which is what is needed.
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ versions seen in the previous section (most systems will be fine with the
|
||||||
default names, only do this if a problem arises).
|
default names, only do this if a problem arises).
|
||||||
|
|
||||||
cd hamlib
|
cd hamlib
|
||||||
sh ./autogen.sh --disable-static CFLAGS="-g -O0"
|
sh ./autogen.sh [--disable-static] [CFLAGS=<"-g -O0">]
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ If you don't want the build files cluttering the source directories, do the
|
||||||
following in the same parent directory of hamlib:
|
following in the same parent directory of hamlib:
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
sh ../hamlib/autogen.sh --disable-static CFLAGS="-g -O0"
|
sh ../hamlib/autogen.sh [--disable-static] [CFLAGS=<"-g -O0">]
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue