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