Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • Installing ACE on CentOS 7


    Pavel Belev

    Building MaNGOS on Linux requires ACE libraries. I could not find information on installing those here, so I will make a short HOWTO (copied from ACE documentation)

    1. Make a folder for ACE in your preferred location ( I use /opt)

    mkdir /opt/ace && cd /opt/ace

    2. Download and unpack ACE

    wget http://download.dre.vanderbilt.edu/previous_versions/ACE-6.4.7.tar.gz
    tar -xvf ACE-6.4.7.tar.gz

    3. Add needed environment variables

    cat >> /etc/profile <<EOF
    export ACE_ROOT=/opt/ace/ACE_wrappers
    EOF
    source /etc/profile

    4. Add the desired headers

    cat > /opt/ace/ACE_wrappers/ace/config.h <<EOF
    #include "ace/config-linux.h"
    EOF
    cat > /opt/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU <<EOF
    INSTALL_PREFIX = /usr/local
    include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
    EOF

    5. Build ACE

    cd /opt/ace/ACE_wrappers
    make
    make install

    6. Add the library to the public path

    cat > /etc/ld.so.conf.d/ace.conf <<EOF
    /opt/ace/ACE_wrappers/lib
    EOF
    ldconfig -v

     


    User Feedback

    Recommended Comments

    On 5/13/2019 at 1:46 PM, nalok said:

    Step 2 wants to you to extract the tar, but you put z for compression. Just a heads up.

    Been a very long time since I was active here.

    Thanks for the note, I updated the guide.

    I have absolutely no idea why I used completely illogical an not working tar options in the original post...

    Edited by Pavel Belev
    Link to comment
    Share on other sites



    Guest
    This is now closed for further comments

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use