[55d7adc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libsigsegv-download-http "&gnu-http;/libsigsegv/libsigsegv-&libsigsegv-version;.tar.gz">
|
---|
| 8 | <!ENTITY libsigsegv-download-ftp "&gnu-ftp;/libsigsegv/libsigsegv-&libsigsegv-version;.tar.gz">
|
---|
[8b96af1] | 9 | <!ENTITY libsigsegv-md5sum "63a2b35f11b2fbccc3d82f9e6c6afd58">
|
---|
| 10 | <!ENTITY libsigsegv-size "456 KB">
|
---|
| 11 | <!ENTITY libsigsegv-buildsize "3.6 MB (with tests)">
|
---|
[ba768b1] | 12 | <!ENTITY libsigsegv-time "less than 0.1 SBU (with tests)">
|
---|
[55d7adc] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libsigsegv" xreflabel="libsigsegv-&libsigsegv-version;">
|
---|
| 16 | <?dbhtml filename="libsigsegv.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libsigsegv-&libsigsegv-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libsigsegv">
|
---|
| 22 | <primary sortas="a-libsigsegv">libsigsegv</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libsigsegv</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
[cd074c2] | 29 | libsigsegv is a library for handling page faults in user mode. A page fault
|
---|
[55d7adc] | 30 | occurs when a program tries to access to a region of memory that is
|
---|
| 31 | currently not available. Catching and handling a page fault is a useful
|
---|
| 32 | technique for implementing pageable virtual memory, memory-mapped access
|
---|
| 33 | to persistent databases, generational garbage collectors, stack overflow
|
---|
| 34 | handlers, and distributed shared memory.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[0ddf4e7] | 37 | &lfs112_checked;
|
---|
[55d7adc] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libsigsegv-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libsigsegv-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libsigsegv-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libsigsegv-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libsigsegv-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libsigsegv-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <para condition="html" role="usernotes">
|
---|
| 74 | User Notes: <ulink url="&blfs-wiki;/libsigsegv"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of libsigsegv</title>
|
---|
| 81 |
|
---|
| 82 | <para>
|
---|
| 83 | Install <application>libsigsegv</application> by running the following commands:
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 87 | --enable-shared \
|
---|
| 88 | --disable-static &&
|
---|
[d6d8d49c] | 89 | make</userinput></screen>
|
---|
[55d7adc] | 90 |
|
---|
[d56e7df] | 91 | <para>
|
---|
| 92 | To test the results, issue: <command>make check</command>.
|
---|
| 93 | </para>
|
---|
[55d7adc] | 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
[f1d7196] | 107 | <parameter>--enable-shared</parameter>: This switch ensures that shared
|
---|
[55d7adc] | 108 | libraries are compiled.
|
---|
| 109 | </para>
|
---|
[cd074c2] | 110 |
|
---|
[55d7adc] | 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 112 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <segmentedlist>
|
---|
| 120 | <segtitle>Installed Programs</segtitle>
|
---|
| 121 | <segtitle>Installed Library</segtitle>
|
---|
| 122 | <segtitle>Installed Directories</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | libsigsegv.so
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | None
|
---|
| 133 | </seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="libsigsegv-lib">
|
---|
| 143 | <term><filename class="libraryfile">libsigsegv.so</filename></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>
|
---|
[4c24eb0a] | 146 | is a library for handling page faults in user mode
|
---|
[55d7adc] | 147 | </para>
|
---|
| 148 | <indexterm zone="libsigsegv libsigsegv-lib">
|
---|
| 149 | <primary sortas="c-libsigsegv">libsigsegv.so</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | </variablelist>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | </sect1>
|
---|