- Timestamp:
- 07/19/2012 11:08:29 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- bcd2922
- Parents:
- c50cc901
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/ruby.xml
rc50cc901 rcc13920 4 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 <!-- Dead link 7 <!ENTITY ruby-download-http "http://www.ibiblio.org/pub/languages/ruby/ruby/ruby-&ruby-version;.tar.gz"> 8 --> 6 9 7 <!ENTITY ruby-download-http " "> 10 8 <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-&ruby-version;.tar.bz2"> 11 <!ENTITY ruby-md5sum " 096758c3e853b839dc980b183227b182">12 <!ENTITY ruby-size " 8.4 MB">13 <!ENTITY ruby-buildsize " 403 MB (including tests)">14 <!ENTITY ruby-time " 3.6 SBU (including tests)">9 <!ENTITY ruby-md5sum "2278eff4cfed3cbc0653bc73085caa34"> 10 <!ENTITY ruby-size "9.4 MB"> 11 <!ENTITY ruby-buildsize "850 MB"> 12 <!ENTITY ruby-time "4.0 SBU"> 15 13 ]> 16 14 … … 32 30 <title>Introduction to Ruby</title> 33 31 34 <para>The <application>Ruby</application> package contains the 35 <application>Ruby</application> development environment. This 36 is useful for object-oriented scripting.</para> 32 <para> 33 The <application>Ruby</application> package contains the 34 <application>Ruby</application> development environment. This 35 is useful for object-oriented scripting. 36 </para> 37 37 38 38 &lfs71_checked; … … 41 41 <itemizedlist spacing="compact"> 42 42 <listitem> 43 <para>Download (HTTP): <ulink url="&ruby-download-http;"/></para> 44 </listitem> 45 <listitem> 46 <para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para> 47 </listitem> 48 <listitem> 49 <para>Download MD5 sum: &ruby-md5sum;</para> 50 </listitem> 51 <listitem> 52 <para>Download size: &ruby-size;</para> 53 </listitem> 54 <listitem> 55 <para>Estimated disk space required: &ruby-buildsize;</para> 56 </listitem> 57 <listitem> 58 <para>Estimated build time: &ruby-time;</para> 43 <para> 44 Download (HTTP): <ulink url="&ruby-download-http;"/> 45 </para> 46 </listitem> 47 <listitem> 48 <para> 49 Download (FTP): <ulink url="&ruby-download-ftp;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download MD5 sum: &ruby-md5sum; 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download size: &ruby-size; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Estimated disk space required: &ruby-buildsize; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated build time: &ruby-time; 70 </para> 59 71 </listitem> 60 72 </itemizedlist> … … 65 77 <para role="optional"> 66 78 <xref linkend="doxygen"/>, 67 <xref linkend="openssl"/>, 68 <xref linkend="tk"/>, and 69 <xref linkend="db"/> 79 <xref linkend="graphviz"/>, 80 <ulink url="http://pyyaml.org/wiki/LibYAML">libyaml</ulink>, 81 <xref linkend="openssl"/> and 82 <xref linkend="tk"/> 70 83 </para> 71 84 72 85 <para condition="html" role="usernotes">User Notes: 73 <ulink url="&blfs-wiki;/ruby"/></para>74 86 <ulink url="&blfs-wiki;/ruby"/> 87 </para> 75 88 </sect2> 76 89 … … 78 91 <title>Installation of Ruby</title> 79 92 80 <para>Install <application>Ruby</application> by running the following 81 commands:</para> 93 <para> 94 Install <application>Ruby</application> by running the following 95 commands: 96 </para> 82 97 83 98 <screen><userinput>./configure --prefix=/usr \ 84 99 --enable-shared \ 85 --enable-pthread \ 86 --enable-install-doc && 100 --enable-pthread && 87 101 make</userinput></screen> 88 102 89 <para>To test the results, issue: <command>make test</command>.</para> 90 91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 103 <para> 104 To test the results, issue: <command>make test</command>. 105 </para> 106 107 <para> 108 Now, as the <systemitem class="username">root</systemitem> user: 109 </para> 92 110 93 111 <screen role="root"><userinput>make install</userinput></screen> … … 98 116 <title>Command Explanations</title> 99 117 100 <para><parameter>--enable-shared</parameter>: This parameter builds the 101 <filename class='libraryfile'>libruby</filename> shared library.</para> 102 103 <para><parameter>--enable-pthread</parameter>: This parameter links the 104 threading library into the <application>Ruby</application> build.</para> 118 <para> 119 <option>--enable-shared</option>: This parameter enables building of 120 the <filename class="libraryfile">libruby</filename> shared library. 121 </para> 122 123 <para> 124 <option>--enable-pthread</option>: This parameter enables linking of the 125 threading library into the <application>Ruby</application> build. 126 </para> 105 127 106 128 </sect2> … … 115 137 116 138 <seglistitem> 117 <seg>erb, gem, irb, rake, rdoc, ri, ruby, and testrb</seg> 118 <seg>libruby.so, libruby-static.a and numerous modules located in the 119 <filename class='directory'>/usr/lib/ruby</filename> hierarchy.</seg> 120 <seg>/usr/include/ruby-1.9.1, /usr/lib/ruby and /usr/share/ri</seg> 139 <seg> 140 erb, gem, irb, rake, rdoc, ri, ruby and testrb 141 </seg> 142 <seg> 143 libruby.so, libruby-static.a and numerous modules located in the 144 <filename class="directory">/usr/lib/ruby</filename> hierarchy. 145 </seg> 146 <seg> 147 /usr/include/ruby-1.9.1, 148 /usr/lib/ruby, 149 /usr/share/doc/ruby and 150 /usr/share/ri 151 </seg> 121 152 </seglistitem> 122 153 </segmentedlist> … … 130 161 <term><command>ruby</command></term> 131 162 <listitem> 132 <para>is an interpreted scripting language for quick 133 and easy object-oriented programming.</para> 163 <para> 164 is an interpreted scripting language for quick 165 and easy object-oriented programming. 166 </para> 134 167 <indexterm zone="ruby ruby-prog"> 135 168 <primary sortas="b-ruby">ruby</primary> … … 141 174 <term><command>irb</command></term> 142 175 <listitem> 143 <para>is the interactive interface for 144 <application>Ruby</application>.</para> 176 <para> 177 is the interactive interface for 178 <application>Ruby</application>. 179 </para> 145 180 <indexterm zone="ruby irb"> 146 181 <primary sortas="b-irb">irb</primary> … … 152 187 <term><command>erb</command></term> 153 188 <listitem> 154 <para>is Tiny eRuby. It interprets a 155 <application>Ruby</application> code embedded text file.</para> 189 <para> 190 is Tiny eRuby. It interprets a 191 <application>Ruby</application> code embedded text file. 192 </para> 156 193 <indexterm zone="ruby erb"> 157 194 <primary sortas="b-erb">erb</primary> … … 163 200 <term><command>ri</command></term> 164 201 <listitem> 165 <para>displays documentation from a database on 166 <application>Ruby</application> classes, modules and methods.</para> 202 <para> 203 displays documentation from a database on 204 <application>Ruby</application> classes, modules and methods. 205 </para> 167 206 <indexterm zone="ruby ri"> 168 207 <primary sortas="b-ri">ri</primary> … … 172 211 173 212 <varlistentry id="libruby"> 174 <term><filename role="library">libruby.so</filename></term> 175 <listitem> 176 <para>contains the API functions required 177 by <application>Ruby</application>.</para> 213 <term><filename role='library'>libruby.so</filename></term> 214 <listitem> 215 <para> 216 contains the API functions required by <application>Ruby</application>. 217 </para> 178 218 <indexterm zone="ruby libruby"> 179 219 <primary sortas="c-libruby">libruby.so</primary>
Note:
See TracChangeset
for help on using the changeset viewer.