kopia lustrzana https://github.com/Hamlib/Hamlib
Remove --prefix=/usr/local from examples
The --prefix option to autogen.sh is not needed as /usr/local is GNU Build System default.Hamlib-1.2.14
rodzic
e02864ce28
commit
974cdba8cc
|
@ -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 --prefix=/usr/local 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 --prefix=/usr/local CFLAGS="-g -O0"
|
sh ../hamlib/autogen.sh --disable-static CFLAGS="-g -O0"
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
@ -305,12 +305,13 @@ year 2004 should be fine, unless you run some exotic hardware/software system:
|
||||||
./config.guess --version
|
./config.guess --version
|
||||||
./config.sub --version
|
./config.sub --version
|
||||||
|
|
||||||
The '--prefix' option to `autogen.sh' is optional. Convention is that
|
The '--prefix' option to `autogen.sh' is optional and not shown as it
|
||||||
locally built packages be installed in /usr/local away from distribution
|
defaults to /usr/local. Convention is that locally built packages be
|
||||||
installed packages. The '--disable-static' and 'CFLAGS="-g -O0"' speeds up
|
installed in /usr/local away from distribution installed packages. The
|
||||||
compilation if you don't plan to use static libraries and can bear less
|
'--disable-static' and 'CFLAGS="-g -O0"' speeds up compilation if you don't
|
||||||
optimized binaries while the '-g' option adds debugging info which can be
|
plan to use static libraries and can bear less optimized binaries while the
|
||||||
changed to -ggdb to generate debugging info for gdb.
|
'-g' option adds debugging info which can be changed to -ggdb to generate
|
||||||
|
debugging info for gdb.
|
||||||
|
|
||||||
Additionally, you may want to add the '--with-perl-binding' or
|
Additionally, you may want to add the '--with-perl-binding' or
|
||||||
'--with-python-binding' or '--enable-tcl-binding' if you are interested in
|
'--with-python-binding' or '--enable-tcl-binding' if you are interested in
|
||||||
|
|
|
@ -90,7 +90,7 @@ release:
|
||||||
rc testing/release.
|
rc testing/release.
|
||||||
|
|
||||||
* Build source tarball from a cleaned tree (as above):
|
* Build source tarball from a cleaned tree (as above):
|
||||||
./autogen.sh --prefix=/usr/local
|
./autogen.sh
|
||||||
make dist
|
make dist
|
||||||
|
|
||||||
The resulting tarball--hamlib-1.x.y[.z].tar.gz--should be tested as much
|
The resulting tarball--hamlib-1.x.y[.z].tar.gz--should be tested as much
|
||||||
|
|
Ładowanie…
Reference in New Issue