cloudflare / cloudflare/mmproxy

Build mmproxy on CentOS 7 (Non-issue)

Open
#6 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
518
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Hi,

I just want to share my building script:

https://gist.github.com/shikendon/f23a36c3b93032db1079efe677248f6b
```bash
#!/usr/bin/env bash
set -e

cat <<'END' | sudo tee /etc/yum.repos.d/epel-alonid-llvm.repo
[epel-alonid-llvm-3.9.0]
name=Copr repo for llvm-3.9.0 owned by alonid
baseurl=https://copr-be.cloud.fedoraproject.org/results/alonid/llvm-3.9.0/epel-7-$basearch/
type=rpm-md
enabled=0
gpgkey=https://copr-be.cloud.fedoraproject.org/results/alonid/llvm-3.9.0/pubkey.gpg
gpgcheck=1
repo_gpgcheck=0
enabled_metadata=1
skip_if_unavailable=True
END
sudo rpm --import https://copr-be.cloud.fedoraproject.org/results/alonid/llvm-3.9.0/pubkey.gpg

sudo yum -y groupinstall "Development Tools"
sudo yum -y install --enablerepo=epel-alonid-llvm-3.9.0 clang-3.9.0
sudo yum -y install glibc-static
sudo ln -s -f /opt/llvm-3.9.0/bin/* /usr/bin

git clone https://github.com/cloudflare/mmproxy.git --recursive
pushd mmproxy
make # If failed, try to build libmill manually: `pushd libmill && ./configure && make`
find `pwd` -type f -executable -name mmproxy
```

It took me a half day. Hope this can save someone's time.

Great work mmproxy 👍

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.