Message: Re: Compiling AnaEx02 with ROOT using Cmake Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Compiling AnaEx02 with ROOT using Cmake 

Forum: Installation and Configuration
Re: Question Compiling AnaEx02 with ROOT using Cmake (Nicholas Kinnaird)
Re: None Re: Compiling AnaEx02 with ROOT using Cmake (Ivana Hrivnacova)
Date: 30 Apr, 2015
From: Nicholas Kinnaird <Nicholas Kinnaird>

On Thu, 30 Apr 2015 17:54:10 GMT, Ivana Hrivnacova wrote:
> Hello,
> 
> Can you check that root-config is available on your path; just type
> 
>  root-config
> 
> in your directory. You should get:
> 
>  [...] ~/examples_test/AnaEx02_build > root-config 
> Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-<feature>] [--arch] [--platform] [--dicttype] [--config] [--features] [--svn-revision] [--python-version] [--ncpu] [--cc] [--cxx] [--f77] [--ld ] [--help]
> 
> If root-config is not found, you need to run thisroot.sh script which is
> available in your ROOT installation in bin directory:
> 
>  . /mypath/root/bin/thisroot.sh
> 
> If the path to root-config is ok, please send us the output from your
> cmake command.
> 
> Best regards,
> 

The root-config file was in my path which gave the same output you've shown above, as I had sourced the thisroot.sh in both my .profile and my .bashrc. I've since installed a more recent version of root (5.34.21 -> 5.34.30), and now things are working fine. I'm still unsure what the problem was, I believe it had to be with how I installed root from before (although I've had no other trouble using root and accessing it with other programs). Thanks for the response however, I appreciate the help!

 Add Message Add Message
to: "Re: Compiling AnaEx02 with ROOT using Cmake"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]