Re: [Fwd: Re: unable to build root.exe on SLES9]

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 12 Oct 2007 17:35:09 +0200


Hi,

  this seems to be an installation problem of your alternative compiler since it complains that the file "string" in

#include <string>

is not found.

Cheers, Fons.

>
> Subject:
> Re: [ROOT] unable to build root.exe on SLES9
> From:
> "Dr.Peer-Joachim Koch" <pkoch_at_bgc-jena.mpg.de>
> Date:
> Mon, 08 Oct 2007 10:16:08 +0200
> To:
> roottalk <roottalk_at_pcroot.cern.ch>
>
> To:
> roottalk <roottalk_at_pcroot.cern.ch>
>
>
> Hi,
>
> I did not solve the problem, but I was able to build a older version
> without any problems. The 5.14.0h seems to accept the system
> in the current state.
>
> Therefore the newer version does not like older systems ?
>
> Another question.
> I tried to install gcc + g++ (V4.1.2. from AMD) on this old sles9.
> The Amd-gcc (and g++) are installed under /opt/amd/... .
> According to the AMD docu only the path has to be chanced
> to make the g++-amd active.
> I'll tried this (becaues I COULD build root 5.17 on my opensuse 10.2
> with the same version of the compiler), but the make fails
> very soon. Other apps can be compiled with the newer gcc and g++.
>
> Any idea ?
> Has anybody tried to build root on a SLES9 64AMD ?
>
> Bye, Peer
>
> g++ -O2 -pipe -Wall -m64 -fPIC -Iinclude -pthread
> -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
> build/rmkdepend/mainroot.o -c build/rmkdepend/mainroot.cxx
> build/rmkdepend/mainroot.cxx:28:18: error: string: No such file or
> directory
> build/rmkdepend/mainroot.cxx:51: error: ‘string’ in namespace ‘std’ does
> not name a type
> build/rmkdepend/mainroot.cxx:52: error: ‘string’ in namespace ‘std’ does
> not name a type
>
> _________________________________________________________
> Max-Planck-Institut fuer Biogeochemie
> Dr. Peer-Joachim Koch
> Hans-Knöll Str.10 Telefon: ++49 3641 57-6705
> D-07745 Jena Telefax: ++49 3641 57-7705

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Fri Oct 12 2007 - 17:29:19 CEST

This archive was generated by hypermail 2.2.0 : Sat Oct 13 2007 - 11:50:01 CEST