Skip to content

Platform Specific Installation Tips

Chunhua "Leo" Liao edited this page Jun 17, 2019 · 5 revisions

Welcome to the rose wiki!

Platform specific installation tips

RedHat 7

Problem when running ./build

checking for glibtool...
+ /usr/bin/libtoolize --force --copy --ltdl --automake
libtoolize: `COPYING.LIB' not found in `/usr/share/libtool/libltdl'
libtool error: you may need to install libtool development package

Solution:

sudo yum install libtool-ltdl-devel

Typical configuration we use

  • Boost 1.60.0:

  • GCC 4.9.3

  • JDK 1.8.0_131: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/jdk1.8.0_131/jre/lib/amd64/server

  • configure --with-ROSE_LONG_MAKE_CHECK_RULE=yes --enable-tests-directory --with-boost=/opt/rhel7/x86_64/boost/1_60_0/gcc/4.9.3 --prefix=/export/RHEL7/rhel/7/install_tree

How to decide the number of processes to build ROSE

NUM_PROCESSORS="$(lscpu | grep "^CPU(s):" | grep -o -E '[0-9]+')"
THREADS_PER_CORE="$(lscpu | grep "^Thread(s) per core:" | grep -o -E '[0-9]+')"
CORE_NUMBERS=$(expr $NUM_PROCESSORS / $THREADS_PER_CORE)
make -j${CORE_NUMBERS} 

You can’t perform that action at this time.