"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "udunits2.texi" between
udunits-2.2.26.tar.gz and udunits-2.2.28.tar.gz

About: UDUNITS supports units of physical quantities. Its C library provides for arithmetic manipulation of units and for conversion of numeric values between compatible units.

udunits2.texi  (udunits-2.2.26):udunits2.texi  (udunits-2.2.28)
skipping to change at line 111 skipping to change at line 111
have not yet been created. Contact have not yet been created. Contact
@email{support-udunits@@unidata.ucar.edu} if you are interested in @email{support-udunits@@unidata.ucar.edu} if you are interested in
helping to create these interfaces. helping to create these interfaces.
@end itemize @end itemize
One thing that has not changed is that almost all unit string specifications One thing that has not changed is that almost all unit string specifications
understood by the @code{UDUNITS-1} package are also understood by the @code{UDUNITS-1} package are also
understood by the @code{UDUNITS-2} package. One exception is understood by the @code{UDUNITS-2} package. One exception is
the symbol @code{g}, which in version 1 of the package was associated with the symbol @code{g}, which in version 1 of the package was associated with
standard free fall (a unit of accelleration) but which is associated standard free fall (a unit of acceleration) but which is associated
with the unit gram in version 2 of the package. with the unit gram in version 2 of the package.
@node Installation, Library, Differences, Top @node Installation, Library, Differences, Top
@chapter Installing this Package @chapter Installing this Package
@cindex installation @cindex installation
@menu @menu
* Binary:: Installing from a binary distribution
* Source:: Installing from a source distribution
@end menu
@node Binary, Source, , Installation
@section Installing from a Binary Distribution
@cindex Installation, binary
@subsection 64-bit CentOS 6.4
If your operating system is compatible with 64-bit CentOS 6.4 (e.g., your system
is 64-bit CentOS, Fedora, or RedHat), then create the file
@code{/etc/yum.repos.d/unidata.repo} with the following contents:
@example
[unidata]
name=Unidata Repository
baseurl=http://www.unidata.ucar.edu/repos/yum/CentOS/6/$basearch
enabled=1
@end example
You should then be able to install this package in the usual manner.
For example,
@example
su -
yum install udunits
@end example
@subsection 32-bit Ubuntu 12
If your operating system is compatible with 32-bit Ubuntu 12 (precious pangolin)
(e.g., your system is 32-bit Debian or Ubuntu), then add the following line to
the file @code{/etc/apt/sources.list} or
@code{/etc/apt/sources.list.d/unidata.list}:
@example
deb http://www.unidata.ucar.edu/repos/apt i386/
@end example
You should then be able to install this package in the usual manner.
For example,
@example
su -
apt-get update
apt-get install udunits
@end example
@node Source, , Binary, Installation
@section Installing from a Source Distribution
@cindex Installation, source
@menu
* Prerequisites:: Prerequisites for this package * Prerequisites:: Prerequisites for this package
* Obtain:: Obtaining this package * Obtain:: Obtaining this package
* Unix:: Installing on Unix-like environments * Unix:: Installing on Unix-like environments
* Windows:: Installing on Windows environments * Windows:: Installing on Windows environments
@end menu @end menu
@node Prerequisites, Obtain, , Source @node Prerequisites, Obtain, , Installation
@subsection Prerequisites for This Package @section Prerequisites for This Package
@cindex prerequisites for this package @cindex prerequisites for this package
The Expat library and header-files must be installed. Look for the library The Expat library and header-files must be installed. Look for the library
"libexpat" and the header-file "expat.h". "libexpat" and the header-file "expat.h".
If this package is to be tested (which is optional), then the CUnit library If this package is to be tested (which is optional), then the CUnit library
and header-files must be installed. Look for the library "libcunit" and the and header-files must be installed. Look for the library "libcunit" and the
header-files "CUnit/CUnit.h" and "CUnit/Basic.h". header-files "CUnit/CUnit.h" and "CUnit/Basic.h".
If this package is to be built on a Windows system, then the CMake and MinGW If this package is to be built on a Windows system, then the CMake and MinGW
packages must be installed. Look for the utility "cmake" and the packages must be installed. Look for the utility "cmake" and the
directory/folder "MinGW". directory/folder "MinGW".
@node Obtain, Unix, Prerequisites, Source @node Obtain, Unix, Prerequisites, Installation
@subsection Obtaining this Package @section Obtaining this Package
@cindex obtaining this package @cindex obtaining this package
Get the source for this package from its download-page at Get the source for this package from its download-page at
@uref{ftp://ftp.unidata.ucar.edu/pub/udunits/} @uref{ftp://ftp.unidata.ucar.edu/pub/udunits/}
and unpack it in an appropriate place. For example, and unpack it in an appropriate place. For example,
@example @example
su - su -
cd /usr/local/src cd /usr/local/src
wget -O - ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-@value{VERSION}-Source. wget -O - ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-@value{VERSION}.tar.gz
tar.gz | |
gunzip -c | pax -r pax -rz
@end example @end example
@node Unix, Windows, Obtain, Source @node Unix, Windows, Obtain, Installation
@subsection Unix Installation Instructions @section Unix Installation Instructions
@menu @menu
* Autoconf:: Autoconf-based installation * Autoconf:: Autoconf-based installation
* CMake:: CMake-based installation * CMake:: CMake-based installation
@end menu @end menu
@node Autoconf, CMake, , Unix @node Autoconf, CMake, , Unix
@subsubsection Autoconf-based Installation @subsection Autoconf-based Installation
Short instructions: Short instructions:
@example @example
./configure [--prefix=@var{root}] [--disable-shared] [CC=@var{path}] ./configure [--prefix=@var{root}] [--disable-shared] [CC=@var{path}]
make make
make check # optional; requires CUNIT installation make check # optional; requires CUNIT installation
make install # also installs INFO documentation make install # also installs INFO documentation
make install-html install-pdf # optional make install-html install-pdf # optional
make clean make clean
skipping to change at line 247 skipping to change at line 195
cd udunits-@value{VERSION} cd udunits-@value{VERSION}
@end example @end example
@item @item
If necessary, clean-up from a previous installation attempt by making If necessary, clean-up from a previous installation attempt by making
the @code{distclean} target using the @var{make} utility from step 2: the @code{distclean} target using the @var{make} utility from step 2:
@example @example
@var{make} distclean @var{make} distclean
@end example @end example
The option @code{--disable-shared} causes the build process to create
a static library only: a sharable library is not created.
This option is necessary if the @code{libtool} utility that's included
in this package can't build a sharable library using the given compiler.
@item @item
Execute the @code{configure} script. Execute the @code{configure} script.
Specify the installation prefix, the compiler from the Specify the installation prefix, the compiler from the
previous step, and any required option. previous step, and any required option.
For example, if you are on an HP-UX system and want to use For example, if you are on an HP-UX system and want to use
the @code{/bin/c89} compiler and install under @code{/opt}, the @code{/bin/c89} compiler, create a static library, and install under
then the following command is appropriate: @code{/opt}, then the following command is appropriate:
@example @example
./configure --prefix=/opt --disable-shared CC=/bin/c89 ./configure --prefix=/opt --disable-shared CC=/bin/c89
@end example @end example
If the installation prefix is not specified, then the default The option @code{--disable-shared} causes the build process to create
is to install under @code{/usr/local}. a static library only: a sharable library is not created.
This option is necessary if the @code{libtool} utility that's included
in this package can't build a sharable library using the given compiler.
If the compiler isn't specified, then the default is to use The default installation prefix is @code{/usr/local} and the default compiler is
@code{gcc}. @code{gcc}.
@item @item
Build this package by making the default target using the @var{make} utility Build this package by making the default target using the @var{make} utility
from step 2: from step 2:
@example @example
@var{make} @var{make}
@end example @end example
@item @item
skipping to change at line 308 skipping to change at line 253
@item @item
If desired, install the HTML and PDF documentation files by making If desired, install the HTML and PDF documentation files by making
one or more of the following targets one or more of the following targets
using the @var{make} utility from step 2: using the @var{make} utility from step 2:
@example @example
@var{make} install-html install-pdf @var{make} install-html install-pdf
@end example @end example
@item @item
Clean up by making the @code{clean} target using the @var{make} utility (Optional) Clean up by making the @code{clean} target using the @var{make}
from step 2: utility from step 2:
@example @example
@var{make} clean @var{make} clean
@end example @end example
@end enumerate @end enumerate
@node CMake, , Autoconf, Unix @node CMake, , Autoconf, Unix
@subsubsection CMake-based Installation @subsection CMake-based Installation
@example @example
cmake mkdir build
cd build
cmake ..
make all [test] install [install_test] make all [test] install [install_test]
@end example @end example
where the arguments in square brackets are optional. where the arguments in square brackets are optional.
@node Windows, , Unix, Source @node Windows, , Unix, Installation
@subsection Windows Installation Instructions @section Windows Installation Instructions
Currently, only a 32-bit @uref{http://www.mingw.org,MinGW}-based installation is Currently, only a 32-bit @uref{http://www.mingw.org,MinGW}-based installation is
supported: supported:
@example @example
cmake -G "MinGW Makefiles" cmake -G "MinGW Makefiles"
cmake --build . [-DCMAKE_INSTALL_PREFIX=@emph{dir}] -- all [test] install [insta ll_test] cmake --build . [-DCMAKE_INSTALL_PREFIX=@emph{dir}] -- all [test] install [insta ll_test]
@end example @end example
where arguments in square brackets are optional. where arguments in square brackets are optional.
 End of changes. 15 change blocks. 
79 lines changed or deleted 26 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)