mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
6c91a92a33
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16644 af4574ff-66df-0310-9fd7-8a98e5e911e0
216 lines
6.2 KiB
XML
216 lines
6.2 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY gsl-download-http
|
|
"http://ftp.gnu.org/pub/gnu/gsl/gsl-&gsl-version;.tar.gz">
|
|
<!ENTITY gsl-download-ftp
|
|
"ftp://ftp.gnu.org/pub/gnu/gsl/gsl-&gsl-version;.tar.gz">
|
|
<!ENTITY gsl-md5sum "d8f70abafd3e9f0bae03c52d1f4e8de5">
|
|
<!ENTITY gsl-size "3.7 MB">
|
|
<!ENTITY gsl-buildsize "203 MB (with tests)">
|
|
<!ENTITY gsl-time "1.5 SBU (with tests)">
|
|
]>
|
|
|
|
<sect1 id="gsl" xreflabel="Gsl-&gsl-version;">
|
|
<?dbhtml filename="gsl.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Gsl-&gsl-version;</title>
|
|
|
|
<indexterm zone="gsl">
|
|
<primary sortas="a-gsl">Gsl</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Gsl</title>
|
|
|
|
<para>
|
|
The GNU Scientific Library (GSL) is a numerical library for C and C++
|
|
programmers. It provides a wide range of mathematical routines such as
|
|
random number generators, special functions and least-squares fitting.
|
|
</para>
|
|
|
|
&lfs78_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&gsl-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&gsl-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &gsl-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &gsl-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &gsl-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &gsl-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Gsl Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/gsl"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Gsl</title>
|
|
|
|
<para>
|
|
Install <application>Gsl</application> by running the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
|
|
make &&
|
|
|
|
make html</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>make check</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
mkdir /usr/share/doc/gsl-&gsl-version; &&
|
|
cp doc/gsl-ref.html/* /usr/share/doc/gsl-&gsl-version;</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
gsl-config, gsl-histogram, and gsl-randist
|
|
</seg>
|
|
<seg>
|
|
libgslcblas.so and libgsl.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/gsl and /usr/share/doc/gsl-&gsl-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gsl-config">
|
|
<term><command>gsl-config</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a shell script to get the version number and compiler flags of
|
|
the installed <application>Gsl</application> library.
|
|
</para>
|
|
<indexterm zone="gsl gsl-config">
|
|
<primary sortas="b-gsl-config">gsl-config</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gsl-histogram">
|
|
<term><command>gsl-histogram</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a demonstration program for the GNU Scientific Library that
|
|
computes a histogram from data taken from stdin.
|
|
</para>
|
|
<indexterm zone="gsl gsl-histogram">
|
|
<primary sortas="b-gsl-histogram">gsl-histogram</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gsl-randist">
|
|
<term><command>gsl-randist</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a demonstration program for the GNU Scientific Library that
|
|
generates random samples from various distributions.
|
|
</para>
|
|
<indexterm zone="gsl gsl-randist">
|
|
<primary sortas="b-gsl-randist">gsl-randist</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libgslcblas">
|
|
<term><filename class="libraryfile">libgslcblas.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that implement a C interface to Basic Linear
|
|
Algebra Subprograms.
|
|
</para>
|
|
<indexterm zone="gsl libgslcblas">
|
|
<primary sortas="c-libgslcblas">libgslcblas.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libgsl.so">
|
|
<term><filename class="libraryfile">libgsl.so.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that provide a collection of numerical routines
|
|
for scientific computing.
|
|
</para>
|
|
<indexterm zone="gsl libgsl.so">
|
|
<primary sortas="c-libgsl.so">libgsl.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</sect2>
|
|
</sect1>
|