2002-08-04 10:52:35 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of bc</title>
|
|
|
|
|
2003-04-12 09:58:10 +08:00
|
|
|
<para>Download the patches for bc from <ulink url="&hfile-root;"/>.</para>
|
|
|
|
|
2002-08-04 10:52:35 +08:00
|
|
|
<para>Install bc by running the following commands:</para>
|
|
|
|
|
2003-04-12 11:48:46 +08:00
|
|
|
<para><screen><userinput>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 &&
|
2002-08-31 03:53:39 +08:00
|
|
|
make install</userinput></screen></para>
|
2002-08-04 10:52:35 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|