updated install-root scripts

This commit is contained in:
Michael Rodler 2017-04-05 14:09:59 +02:00
parent 44a822890d
commit d5ec06f02d
6 changed files with 24 additions and 6 deletions

3
lief/install-root-archlinux Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -ex
pacman -Syu --noconfirm --needed cmake

View file

@ -1,3 +1,3 @@
#!/bin/bash -ex #!/bin/bash -ex
apt-get -y install cmake python2-dev apt-get -y install cmake

3
lief/install-root-fedora Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -ex
dnf install -y cmake

View file

@ -3,6 +3,13 @@
git clone --depth 1 https://github.com/serpilliere/elfesteem.git git clone --depth 1 https://github.com/serpilliere/elfesteem.git
git clone --depth 1 https://github.com/cea-sec/miasm.git git clone --depth 1 https://github.com/cea-sec/miasm.git
ctf-tools-pip install -U llvmlite if which llvm-config-3.9 2>&1 >/dev/null; then
export LLVM_CONFIG=$(which llvm-config-3.9)
ctf-tools-pip install -U enum34 "llvmlite==0.16"
elif which llvm-config-3.8 2>&1 >/dev/null; then
export LLVM_CONFIG=$(which llvm-config-3.8)
ctf-tools-pip install -U enum34 "llvmlite==0.15"
fi
ctf-tools-pip install -e elfesteem ctf-tools-pip install -e elfesteem
ctf-tools-pip install -e miasm ctf-tools-pip install -e miasm

View file

@ -1,4 +1,7 @@
#!/bin/bash -ex #!/bin/bash -ex
apt-get install -y zlib zlib-dev libstdc++6-4.9-dev libstdc++6 \ apt-get install -y \
llvm-3.5 llvm--3.5-dev libedit libedit-dev zlib1g zlib1g-dev \
libstdc++6 \
llvm-3.8 llvm-3.8-dev clang-3.8 \
libedit2 libedit-dev

View file

@ -1,4 +1,6 @@
#!/bin/bash -ex #!/bin/bash -ex
dnf install -y zlib zlib-devel libstdc++-devel libstdc++ libstdc++-static \ dnf install -y zlib zlib-devel \
llvm-3.5.0 llvm-devel-3.5.0 libedit libedit-devel libstdc++-devel libstdc++ libstdc++-static \
llvm llvm-devel \
libedit libedit-devel