Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to support RHEL7 (and CentOS7) #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

juszak
Copy link

@juszak juszak commented Nov 10, 2018

These changes add some notes for building on RHEL7/CentOS7, updates CMakeLists.txt to include CMAKE_THREAD_LIBS_INIT, and updates the build_dependencies.sh script to build cpprestsdk on RHEL7/CentOS7.

I tested this using GCC 7.3, installed like this...

sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
sudo yum -y install devtoolset-7
echo "source scl_source enable devtoolset-7 &> /dev/null" >> ~/.bashrc 
source ~/.bashrc

The default GCC version on RHEL7 is pretty old; GCC 4.8. I'm not sure how many folks would still be trying that version.

Anyway, I used the micro-service app to figure out a few things with cpprestsdk and it was a big help. I thought I'd post back what I did to get it running on RHEL7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant