RHEL 7 Success

May 9, 2014 at 11:50 PM
Edited Sep 18, 2015 at 12:44 AM
Update: 13-Jun-2014: Confirming that RHEL 7 is working great with C++ Rest SDK 2.1.

I've been able to compile C++ Rest SDK 2.01 on RHEL 7 RC running on VirtualBox 4.3.10. run_tests.sh reports that all tests successfully completed. This is surprising as, to-date, no one seems to have had any success with CentOS or prior versions of RHEL. Apparently starting with the latest gcc/boost/etc makes the difference and not the Linux distribution.

Preliminary instructions until I reinstall RHEL, verify these steps, document better:
  1. I registered with the Red Hat Developers Program to get a license for RHEL 7. $99 for 1 year.
  2. Download the RHEL 7 DVD (4GB) and install in VirtualBox. Be sure to use VirtualBox settings to specify the network. I use Bridge mode.
  3. yum won't work until you use subscription-manager to register and attach your RHEL 7 copy. You'll need to go to https://www.redhat.com/wapps/ugc/ and login to accept the license agreement. You can't proceed without doing that.
    sudo subscription-manager register
    sudo subscription-manager attach --auto
  4. Most requisite packages are already installed. A bit of trial and error and I discovered these packages satisfied the build process:
    sudo yum install cmake boost-devel openssl-devel
    sudo yum update
    A list of RHEL 7 Beta packges are at
    The remaining steps are similar to Ubuntu instructions.
  5. git clone https://git01.codeplex.com/casablanca
  6. Build the SDK for Release
    cd casablanca/Release
    mkdir build.release
    cd build.release
    CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=Release
  7. Run the tests. They should all pass.
    cd Binaries
    ./test_runner *.so
To build a 32-bit version of casablanca on a 64-bit RHEL, see this post
Marked as answer by BSalita on 11/30/2014 at 8:52 PM
May 9, 2014 at 11:57 PM
I was never able to install VirtualBox Guest Additions on RHEL 7 due to an incompatibility. Guest Additions is very useful for additional VirtualBox features such as sharing the host drive (Windows drive) with the guest (RHEL 7). Please post if you've figured out how to do it.
May 10, 2014 at 6:14 AM
Thanks for posting this! It's great to see that you got it working on RHEL; this should definitely help others get it working as well.

May 12, 2014 at 10:36 AM
Some RHEL dev notes: I haven't figured out how to ftp from Windows into RHEL 7. I CAN ftp on RHEL to itself without problem. Also, without VirtualBox Guest Additions working, I haven't figured out how to mount the NTFS C: drive on the Windows host. Guess I'll have to ftp into Windows until I figure out sharing and vsftpd.