Install ace in Ubuntu 14.04

Source: Internet
Author: User

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

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.