2002-08-04 10:52:35 +08:00
|
|
|
<sect2>
|
2003-09-21 09:38:00 +08:00
|
|
|
<title>Installation of <command>bc</command></title>
|
2002-08-04 10:52:35 +08:00
|
|
|
|
2003-09-21 09:38:00 +08:00
|
|
|
<para>Download the patches for <command>bc</command> from <ulink url="&hfile-root;"/>.</para>
|
2003-04-12 09:58:10 +08:00
|
|
|
|
2003-09-21 09:38:00 +08:00
|
|
|
<para>Install <command>bc</command> by running the following commands:</para>
|
2002-08-04 10:52:35 +08:00
|
|
|
|
2003-09-21 09:38:00 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../bc-1.06-flex-invocation.patch &&
|
2003-04-12 09:58:10 +08:00
|
|
|
patch -Np1 -i ../bc-1.06-info.patch &&
|
|
|
|
patch -Np1 -i ../bc-1.06-readline.patch &&
|
|
|
|
./configure --prefix=/usr --with-readline &&
|
2002-08-04 10:52:35 +08:00
|
|
|
make &&
|
2003-09-21 09:38:00 +08:00
|
|
|
make install</command></userinput></screen>
|
2002-08-04 10:52:35 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|