项目作者: Rebiss

项目描述 :
Build file for Centos7.
高级语言: C
项目地址: git://github.com/Rebiss/uWS-build-Cenos7.git
创建时间: 2020-07-29T11:52:54Z
项目社区:https://github.com/Rebiss/uWS-build-Cenos7

开源协议:

下载


glibc-2.17 Problem Centos7.

Install clang 5+ (LLVM)

bash $ sudo yum install centos-release-scl llvm-toolset-7

Recursively clone the repo

bash $ git clone --recursive https://github.com/uNetworking/uWebSockets.js.git --depth=1

Replace build.c and Makefile with the patched ones
Build it

bash $ make

Centos7 (Alternative update glibc-2.17->2.18 )

$ curl -O http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz

$ tar zxf glibc-2.18.tar.gz

$ cd glibc-2.18/

$ mkdir build

$ cd build/

$ ../configure —prefix=/usr

$ make -j2

$ make install