[bbea0be] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[bbea0be] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a31df65d] | 7 | <!ENTITY iso-codes-download-http "http://anduin.linuxfromscratch.org/BLFS/iso-codes/iso-codes-&iso-codes-version;.tar.xz">
|
---|
[fdc00738] | 8 | <!ENTITY iso-codes-download-ftp " ">
|
---|
[6e2729c] | 9 | <!ENTITY iso-codes-md5sum "88e45124c9906029e4a6b3c728379698">
|
---|
[2033727] | 10 | <!ENTITY iso-codes-size "3.8 MB">
|
---|
[6e2729c] | 11 | <!ENTITY iso-codes-buildsize "111 MB">
|
---|
| 12 | <!ENTITY iso-codes-time "0.1 SBU (with tests)">
|
---|
[bbea0be] | 13 | ]>
|
---|
| 14 |
|
---|
[c7e821f] | 15 | <sect1 id="iso-codes" xreflabel="ISO Codes-&iso-codes-version;">
|
---|
[bbea0be] | 16 | <?dbhtml filename="iso-codes.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[bccbdaea] | 19 | <date>$Date$</date>
|
---|
[bbea0be] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>ISO Codes-&iso-codes-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="iso-codes">
|
---|
| 25 | <primary sortas="a-ISO-Codes">ISO Codes</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to ISO Codes</title>
|
---|
| 30 |
|
---|
[c627795] | 31 | <para>
|
---|
| 32 | The <application>ISO Codes</application> package contains a list of
|
---|
| 33 | country, language and currency names and it is used as a central
|
---|
| 34 | database for accessing this data.
|
---|
| 35 | </para>
|
---|
[bbea0be] | 36 |
|
---|
[66d551c] | 37 | &lfs101_checked;
|
---|
[214718a] | 38 |
|
---|
[bbea0be] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[c627795] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&iso-codes-download-http;"/>
|
---|
| 44 | </para>
|
---|
[bbea0be] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[c627795] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&iso-codes-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[bbea0be] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c627795] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &iso-codes-md5sum;
|
---|
| 54 | </para>
|
---|
[bbea0be] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c627795] | 57 | <para>
|
---|
| 58 | Download size: &iso-codes-size;
|
---|
| 59 | </para>
|
---|
[bbea0be] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c627795] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &iso-codes-buildsize;
|
---|
| 64 | </para>
|
---|
[bbea0be] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c627795] | 67 | <para>
|
---|
| 68 | Estimated build time: &iso-codes-time;
|
---|
| 69 | </para>
|
---|
[bbea0be] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
[4026a19] | 72 |
|
---|
[1039de3] | 73 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 74 | <ulink url="&blfs-wiki;/iso-codes"/>
|
---|
| 75 | </para>
|
---|
[bbea0be] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of ISO Codes</title>
|
---|
| 80 |
|
---|
[c627795] | 81 | <para>
|
---|
| 82 | Install <application>ISO Codes</application> by running the following
|
---|
| 83 | commands:
|
---|
| 84 | </para>
|
---|
[bbea0be] | 85 |
|
---|
[c90d795] | 86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[bbea0be] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
[c627795] | 89 | <para>
|
---|
[aaed964] | 90 | To test the results, issue: <command>make check</command>.
|
---|
[c627795] | 91 | </para>
|
---|
[bbea0be] | 92 |
|
---|
[17f72f6] | 93 | <note>
|
---|
| 94 | <para>
|
---|
| 95 | If you install <application>ISO codes</application> over a previous
|
---|
[0456d3b] | 96 | installed version, the install step will fail when creating some
|
---|
| 97 | symlinks. In order to properly update them, run:
|
---|
[17f72f6] | 98 | </para>
|
---|
| 99 |
|
---|
[1a87abcd] | 100 | <screen><userinput>sed -i '/^LN_S/s/s/sfvn/' */Makefile</userinput></screen>
|
---|
[17f72f6] | 101 |
|
---|
| 102 | </note>
|
---|
| 103 |
|
---|
[c627795] | 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
[bbea0be] | 107 |
|
---|
[57b9d270] | 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bbea0be] | 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="content">
|
---|
| 113 | <title>Contents</title>
|
---|
| 114 |
|
---|
| 115 | <segmentedlist>
|
---|
[c3c56b2] | 116 | <segtitle>Installed Programs</segtitle>
|
---|
| 117 | <segtitle>Installed Libraries</segtitle>
|
---|
| 118 | <segtitle>Installed Directory</segtitle>
|
---|
[bbea0be] | 119 |
|
---|
| 120 | <seglistitem>
|
---|
[c3c56b2] | 121 | <seg>
|
---|
| 122 | None
|
---|
| 123 | </seg>
|
---|
| 124 | <seg>
|
---|
| 125 | None
|
---|
| 126 | </seg>
|
---|
[c627795] | 127 | <seg>
|
---|
[17f72f6] | 128 | /usr/share/iso-codes, /usr/share/xml/iso-codes
|
---|
[c627795] | 129 | </seg>
|
---|
[bbea0be] | 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | </sect1>
|
---|