mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 17:17:20 +08:00
b18fc48449
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1450 af4574ff-66df-0310-9fd7-8a98e5e911e0
26 lines
963 B
XML
26 lines
963 B
XML
<sect2>
|
|
<title>Installation of <application>OpenSSL</application></title>
|
|
|
|
<para>Install <application>OpenSSL</application> by running the following commands:</para>
|
|
|
|
<!--
|
|
<note><para><application>GCC</application> issues a warning on every
|
|
compilation because the <command>Configure</command>
|
|
command uses -m486 instead of -march=i486. To fix this behavior, use
|
|
linux-ppro, linux-pentium or linux-k6 (depending on your architecture), instead of linux-elf.
|
|
</para></note>
|
|
-->
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../openssl-0.9.7c-manpages.patch
|
|
sed 's/^passwd/openssl-passwd/' doc/apps/passwd.pod \
|
|
> doc/apps/openssl-passwd.pod &&
|
|
rm doc/apps/passwd.pod &&
|
|
./config --openssldir=/etc/ssl --prefix=/usr shared &&
|
|
make MANDIR=/usr/share/man &&
|
|
make MANDIR=/usr/share/man install &&
|
|
cp -r certs /etc/ssl &&
|
|
rmdir /etc/ssl/lib &&
|
|
chmod 755 /usr/lib/pkgconfig</command></userinput></screen>
|
|
|
|
</sect2>
|