Centos 5 compile ace 5.5

Source: Internet
Author: User
Compile ace5.5 in centos 5

1 In ace old nest download the following package: ACE-5.4.tar.gz

2 tar-xcvf./ACE-5.4.tar.gz to generate a directory named ace_wrappers,
Assume that our directory is/root/ace_study/ace_wrappers
Run chmod A = rwx-r ace_wrappers for the sake of Insurance

3. Write this in the ETC/profile file.

# Path manipulation
If ['id-U' = 0]; then
Pathmunge/sbin
Pathmunge/usr/sbin
Pathmunge/usr/local/sbin
# The following line is to be added.
Pathmunge/root/ace_study/ace_wrappers
Fi

# The following two rows must be added:
Ace_root =/root/ace_study/ace_wrappers;
Export ace_root

Exit and log out of centos 5;

4. Generate the config. h file under the ace directory in the $ ace_root directory, which contains a sentence
# Include "ACE/config-linux.h"

5. Generate the file platform_macros.gnu under the include/makeinclude directory in the $ ace_root directory.
This file contains a sentence.
Include $ (ace_root)/include/makeinclude/platform_linux.gnu

6. Go to the $ ace_root/ace directory.

7. Execute make DEBUG = 0.

8 libace. So will be generated after execution, which is the dynamic library we generated

9 don't forget to include the directory of the header file and the library directory of so when using it later.

10 In Lib, you can see the generated Library: libace. So libace. so.5.5.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.