compiling ace (linux)

compiling ace (linux)

  • fast download (2020-04-05)

e.g.

# ACE-x.y.z.tar.bz2
axel -an 32 http://download.dre.vanderbilt.edu/previous_versions/ACE-6.2.1.tar.bz2

# or
axel -an 32 http://download.dre.vanderbilt.edu/previous_versions/ACE-6.4.0.tar.bz2
  • unpack and prepare
# unpack
cd /path/to/wrapper/repo/root
git checkout v6.2.1

# or:
tar -xf ACE-6.2.1.tar.bz2
cd ACE_wrappers/

# prepare
# set the environment variable ACE_ROOT to point to the directory where ace is
# unpacked, update your .bashrc accordingly e.g.:
export ACE_ROOT=$(pwd)

# Build a symlink to config.h as (config.h is in ACE_wrappers/ace):
cd $ACE_ROOT/ace

# and (which can be found in ACE_wrappers/include/makeinclude):
cd $ACE_ROOT/include/makeinclude
ln -s platform_linux.GNU platform_macros.GNU
  • compile
cd $ACE_ROOT/ace
make clean
make -j
  • install
cd $ACE_ROOT
sudo -s bash
export ACE_ROOT=$(pwd)

# If you wish to install ACE (using "make install"), set the installation
# prefix in platform_macros.GNU.
cd $ACE_ROOT/include/makeinclude

# INSTALL_PREFIX = /opt/lib/ace-6.2.1

cd $ACE_ROOT/ace
make install

# cleanup
make clean

sudo rm -rf *

exit

git checkout -- .
  • pack
cd /opt/lib/ace6.2.1

tar -cjf ../ace6.2.1-xenial-amd64.tar.bz2 .

refs

install pre-built debian package (16.04)

curl -s https://yuiwong.org/debrepo/setup/setup-ubuntu-deb.sh | sudo bash

sudo apt update
sudo apt install libace6.2.1-nonofficial-dev