[mira_talk] Re: header file missing in my config.log

  • From: Laurent MANCHON <lmanchon@xxxxxxxxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Tue, 24 Jan 2012 10:53:29 +0100

Le 23/01/2012 22:37, Sven Klages a écrit :

    [...]Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    Linux kernel 2.6.18-164.el5
    GNU C Library stable release version 2.5, by Roland McGrath et al.
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-44).
    Compiled on a Linux 2.6.9 system on 2009-07-17.


I have tested it on a small HP server with CentOS 5.7, providing the same glibc/gcc version as provided by RHEL. This is a small How-To. I have installed all the necessary
libraries in their own directories for better visualisation.


My system:
CentOS release 5.7 (Final)
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
GNU C Library stable release version 2.5, by Roland McGrath et al.
Linux 2.6.18-274.12.1.el5


Download necessary files.
Commands are written in different font.

Googlemail is somewhat limited in its abilities to format code :-)
Hopefully everthing is "readable".

## whatever path is approbiate
cd /home/gls/SvenTemp/install

## expat
tar zxvf expat-2.0.1.tar.gz
cd expat-2.0.1
./configure --prefix=/home/gls/SvenTemp/expat
make && make install

## flex
cd /home/gls/SvenTemp/install
tar zxvf flex-2.5.35.tar.gz
cd flex-2.5.35
./configure --prefix=/home/gls/SvenTemp/flex
make && make install
cd /home/gls/SvenTemp/flex/bin
ln -s flex flex++
export PATH=/home/gls/SvenTemp/flex/bin:$PATH

## boost
cd /home/gls/SvenTemp/install
tar zxvf boost_1_48_0.tar.gz
cd boost_1_48_0
./bootstrap.sh --prefix=/home/gls/SvenTemp/boost
./b2 install

## libunwind and google-perftools
cd /home/gls/SvenTemp/install
tar zxvf libunwind-0.99-beta.tar.gz
cd libunwind-0.99-beta
./configure --prefix=/home/gls/SvenTemp/libunwind
make && make install

cd /home/gls/SvenTemp/install
tar zxvf google-perftools-1.9.1.tar.gz
cd google-perftools-1.9.1
export LDFLAGS="-L/home/gls/SvenTemp/libunwind/lib"
export CPPFLAGS="-I/home/gls/SvenTemp/libunwind/include"
./configure --prefix=/home/gls/SvenTemp/google-perftools
make && make install

## mira itself
export CXXFLAGS="-I/home/gls/SvenTemp/flex/include"

cd /home/gls/SvenTemp/install
tar zxvf mira-3.4.0.1.tar.gz
cd mira-3.4.0.1
./configure --prefix=/home/gls/SvenTemp/mira \
--with-boost=/home/gls/SvenTemp/boost \
--with-expat=/home/gls/SvenTemp/expat \
--with-tcmalloc-dir=/home/gls/SvenTemp/google-perftools/lib \
--enable-mirastatic

[...]
--------------------------------------------------------------------------------
                       Summary of MIRA configuration
--------------------------------------------------------------------------------

Building version ................................. 3.4.0.1_prod_linux-gnu_x86_64_static
Production or development version?................ production

We are building on ............................... Linux
CPU supports 64 bit? ......... ................... yes
Compiler ......................................... gcc
Compiler optimisation flags used ................. -O3 -funroll-loops
Do we compile in 64 bit? ......................... yes
Building completely static? ...................... yes
BOOST expected to compile and link?............... yes
Linking with TCmalloc library?.................... yes

Can MIRA be built on this system? ................ yes

Using CFLAGS : -I/home/gls/SvenTemp/mira/include -O3 -funroll-loops -I/home/gls/SvenTemp/expat/include Using CXXFLAGS : -DPUBLICQUIET -DAJ_Linux64 -I/home/gls/SvenTemp/flex/include -I/home/gls/SvenTemp/mira/include -O3 -funroll-loops -I/home/gls/SvenTemp/expat/include -pthread -I/home/gls/SvenTemp/boost/include Using LDFLAGS : -L/home/gls/SvenTemp/libunwind/lib -L/home/gls/SvenTemp/mira/lib -L/home/gls/SvenTemp/boost/lib -lboost_thread -lboost_regex

Looks good, we do not expect compilation problems.
--------------------------------------------------------------------------------


make && make install

cd ../../mira/bin
./mira
This is MIRA V3.4.0.1 (production version).
[...]

 hth,
Sven


Thank you very much for this detailed assistance,
my installation was successful after installing libunwind-0.99-beta.tar.gz package.
He was the only package missing from your list.

Laurent --

Other related posts: