1. Download ace‑tao‑ciao-6.2.7.tar.bz2 from the ace official website (http://download.dre.vanderbilt.edu/) and put it in/home/yourname;
Tar xvjf ace‑tao‑ciao-6.1.2.tar.bz2 decompress/home/yourname/ace_wrappers
Su to Root Account
2. Set the environment variable: ace_root =/home/yourname/ace_wrappers; export ace_root
Note: This is a temporary environment variable setting. If you want to use it later, write the setting to. bash_profile.
3. Create File $ ace_root/ACE/config. h write the following content # include "ACE/config-linux.h"
Note: here we can define macros to change some features of ACE.
4. Create a file $ ace_root/include/makeinclude/platform_macros.gnu write include $ (ace_root)/include/makeinclude/platform_linux.gnu
Note: Here is the build configuration, which is not required before include #
This step is important, otherwise make may fail.
5. You can write install_prefix =/home/yourname/ace_install_612/In platform_macros.gnu to specify the output directory (optional)
6. Set the environment variable LD_LIBRARY_PATH = $ ace_root/lib: $ LD_LIBRARY_PATH; export LD_LIBRARY_PATH
7. Make-J8
8. make install
Note:
(1) If ace saxprint compile error occurs during make compilation, add a sentence in config. h.
# Define ace_gcc_has_template_instantiation_visibility_attrs 1
(2) For example, make install
The variable install_prefix must be set to install.
If binaries are already built and you want to use rpath,
They must be rebuilt after changing install_prefix.
Make [1]: *** [install] Error 1
Make [1]: Leave the directory "/home/PZ/ACE/ace_wrappers/TAO/tao_idl"
Make: *** [install] Error 2
Solution: add the following to the environment variable:
Install_prefix =/usr/local
Export install_prefix
Then install.
This article is from the "Sky-moon" blog, please be sure to keep this source http://248341.blog.51cto.com/238341/1539264