kopia lustrzana https://github.com/Hamlib/Hamlib
Note that libltdl-dev is needed for build
Other minor edits.
(Same patch as e26bdae56e
in Hamlib-1.2.15
branch.)
Hamlib-3.0
rodzic
1d6a7249fb
commit
600be45fb8
|
@ -70,23 +70,24 @@ will be needed. See 'configure --help' for more information.
|
|||
Here is a list of development packages needed for a complete build of the
|
||||
library (Debian package names are listed, other distributions may differ):
|
||||
|
||||
* Gnu C or any C99 compliant compiler # gcc --version
|
||||
* Gnu make (or any modern one, BSD okay) # make --version
|
||||
* Git for connection to hamlib.svn.sourceforge.net
|
||||
* Gnu C (gcc) or any C99 compliant compiler # gcc --version
|
||||
* Gnu make (or any modern one, BSD okay) # make --version
|
||||
* libltdl-dev 2.2.6b+
|
||||
|
||||
N.B. The Debian and derivatives (Ubuntu and friends) 'build-essentials'
|
||||
package will install a number of tools and minimize the number of packages
|
||||
that need to be installed manually.
|
||||
|
||||
Optional, but highly recommended for a complete build:
|
||||
* GNU C++ # g++ --version
|
||||
* swig (for bindings) 1.3.14 # swig -version
|
||||
* GNU C++ (g++) # g++ --version
|
||||
* swig (for bindings) 1.3.14+ # swig -version
|
||||
* perl devel # h2xs
|
||||
* tcl devel # tcltk-depends
|
||||
* python devel # python-config
|
||||
* libxml2 devel # xml2-config --version
|
||||
* libgd2 devel # gdlib-config --version
|
||||
* libusb devel # libusb-config --version (not 1.0.0!)
|
||||
* Git for connection to hamlib.git.sourceforge.net
|
||||
|
||||
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
|
||||
|
@ -102,14 +103,14 @@ Git master branch daily snapshot build:
|
|||
Reading the INSTALL file in top directory will explain in more detail how
|
||||
to do the following commands.
|
||||
|
||||
./configure --disable-static --prefix=/usr/local
|
||||
./configure [--disable-static] [--prefix=</usr/local>]
|
||||
make
|
||||
make install
|
||||
|
||||
The prefix argument is optional. Convention is that local packages be
|
||||
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
|
||||
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
|
||||
usually not needed).
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ Hamlib also enables developers to develop professional looking
|
|||
GUI's towards a standard control library API, and they would not have
|
||||
to worry about the underlying connection towards physical hardware.
|
||||
|
||||
Serial (RS232) connectivity is built in as well as IP (also via a socket
|
||||
Serial (RS232) connectivity is built in as are RPC, IP (also via a socket
|
||||
utility), and USB. Other connectivity will follow afterwards.
|
||||
|
||||
|
||||
|
@ -234,8 +234,8 @@ distributions may differ).
|
|||
* Gnu make (or any modern one, BSD okay) # make --version
|
||||
* autoconf 2.59 # autoconf --version
|
||||
* automake 1.7 # automake --version
|
||||
* libtool 2.2.6b # libtool --version
|
||||
* libltdl-dev 2.2.6b
|
||||
* libtool 2.2.6b+ # libtool --version
|
||||
* libltdl-dev 2.2.6b+
|
||||
* Git for connection to hamlib.git.sourceforge.net
|
||||
|
||||
N.B. Hamlib requires libtool >= 2.2.6b in compliance with CVE-2009-3736.
|
||||
|
@ -250,7 +250,7 @@ Optional, but highly recommended:
|
|||
* libgd2 devel # gdlib-config --version
|
||||
* libusb devel # libusb-config --version (not 1.0.0!)
|
||||
|
||||
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
|
||||
package libusb 0.1.12 which is what is needed.
|
||||
|
||||
|
@ -280,7 +280,7 @@ versions seen in the previous section (most systems will be fine with the
|
|||
default names, only do this if a problem arises).
|
||||
|
||||
cd hamlib
|
||||
sh ./autogen.sh --disable-static CFLAGS="-g -O0"
|
||||
sh ./autogen.sh [--disable-static] [CFLAGS=<"-g -O0">]
|
||||
make
|
||||
make install
|
||||
|
||||
|
@ -288,7 +288,7 @@ If you don't want the build files cluttering the source directories, do the
|
|||
following in the same parent directory of hamlib:
|
||||
|
||||
mkdir build && cd build
|
||||
sh ../hamlib/autogen.sh --disable-static CFLAGS="-g -O0"
|
||||
sh ../hamlib/autogen.sh [--disable-static] [CFLAGS=<"-g -O0">]
|
||||
make
|
||||
make install
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue