mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-18 02:08:29 +01:00
Merge pull request #1160 from clinty/newer-libnettle
Install nettle 3.1.1 so the nettle package can build
This commit is contained in:
commit
fa26ba708b
@ -82,14 +82,14 @@ apt-get install -y \
|
|||||||
mkdir /tmp/nettle-build
|
mkdir /tmp/nettle-build
|
||||||
(
|
(
|
||||||
cd /tmp/nettle-build
|
cd /tmp/nettle-build
|
||||||
wget https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz
|
wget https://ftp.gnu.org/gnu/nettle/nettle-3.1.1.tar.gz
|
||||||
tar zxf nettle-2.7.1.tar.gz
|
tar zxf nettle-3.1.1.tar.gz
|
||||||
cd nettle-2.7.1
|
cd nettle-3.1.1
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
mkdir -p /usr/lib/x86_64-linux-gnu/
|
mkdir -p /usr/lib/x86_64-linux-gnu/
|
||||||
ln -sfv /usr/lib/libnettle.so.4.7 /usr/lib/x86_64-linux-gnu/libnettle.so.4
|
ln -sfv /usr/lib/libnettle.so.6.1 /usr/lib/x86_64-linux-gnu/libnettle.so.6
|
||||||
)
|
)
|
||||||
rm -rf /tmp/nettle-build
|
rm -rf /tmp/nettle-build
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user