Root installed but xps can't find TParallelCoord.h

Hi all,

I’m trying to install the xps in R via biocLite(‘xps’) but I’m getting a configuration error:

g++ -I/usr/include -O2 -Wall -fPIC -pthread -m64 -I/usr/include/root -c XPSUtils.cxx
XPSUtils.cxx:76:28: fatal error: TParallelCoord.h: No such file or directory
 #include "TParallelCoord.h"

Root is installed and working, I have tried all the suggestions in this post: https://support.bioconductor.org/p/47271/ but the process still can’t find the header files (they are located in root/include)

I’m trying to install it on a Ubuntu 16.04 system

Does anyone have a suggestion what else I could try?

Cheers,
Anja

Hi,

Did you check that /usr/include/root/TParallelCoord.h exists in your system? ROOT has many configuration options which may have excluded that file from being installed.

Hi,
thank you for your quick reply. Actually it doesn’t. It only contains the TParallelMergingFile.h
How do I include it during installation/configuration?
Cheers

TParallelCoord.h is a the include file used to define the Parallel Coordinates plotting option. I do not thing there is any flag disabling this. PARA ia basic plotting option for trees. If you install ROOT with the standard options it should be there.

I’ve installed it with

mkdir <builddir> cd <builddir> cmake ../root cmake --build . -j2

and included the variables in the .bashrc file. Am I missing something?

Usually I do what is described in the “Building” section of this page:


and it works

I just tried it the same way, and it installed fine, as before. But xps still can’t find the TParallelCoord.h

* installing *source* package ‘xps’ ...
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for gcc... (cached) gcc -std=gnu99
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -std=gnu99 accepts -g... (cached) yes
checking for gcc -std=gnu99 option to accept ANSI C... (cached) none needed
checking for root-config... yes
found ROOT version 5.34/30 in directory /usr
** libs
** arch - 
g++ -I/usr/include -O2 -Wall -fPIC -pthread -m64 -I/usr/include/root -c TMLMath.cxx
TMLMath.cxx:1111:0: warning: "xmax" redefined
 #define xmax  2.5327372760800758e+305
 ^
TMLMath.cxx:1062:0: note: this is the location of the previous definition
 # define xmax  3.745194030963158e306
 ^
g++ -I/usr/include -O2 -Wall -fPIC -pthread -m64 -I/usr/include/root -c TStat.cxx
g++ -I/usr/include -O2 -Wall -fPIC -pthread -m64 -I/usr/include/root -c StatUtils.cxx
StatUtils.cxx: In member function ‘Int_t TUnivariateTest::Test(const char*, const char*, const char*, Int_t, Int_t, Double_t, const char*, const char*, char)’:
StatUtils.cxx:766:40: warning: variable ‘pval’ set but not used [-Wunused-but-set-variable]
       Double_t mn1, mn2, se, df, stat, pval, pcha, padj;
                                        ^
g++ -I/usr/include -O2 -Wall -fPIC -pthread -m64 -I/usr/include/root -c XPSBase.cxx
XPSBase.cxx: In member function ‘virtual Option_t* XAlgorithm::GetOptions(const char*)’:
XPSBase.cxx:1492:34: warning: function may return address of local variable [-Wreturn-local-addr]
    return (Option_t*)option.Data();
                                  ^
XPSBase.cxx:1490:12: note: declared here
    TString option = SubString(fOption.Data(), sep, 0);
            ^
XPSBase.cxx: In member function ‘virtual Option_t* XAlgorithm::GetOptions(TString&, const char*)’:
XPSBase.cxx:1512:34: warning: function may return address of local variable [-Wreturn-local-addr]
    return (Option_t*)option.Data();
                                  ^
XPSBase.cxx:1504:12: note: declared here
    TString option;
            ^
g++ -I/usr/include -O2 -Wall -fPIC -pthread -m64 -I/usr/include/root -c XPSUtils.cxx
XPSUtils.cxx:76:28: fatal error: TParallelCoord.h: No such file or directory
 #include "TParallelCoord.h"
                            ^
compilation terminated.
Makefile:115: recipe for target 'XPSUtils.o' failed
make: *** [XPSUtils.o] Error 1
ERROR: compilation failed for package ‘xps’
* removing ‘/home/anja/R/x86_64-pc-linux-gnu-library/3.4/xps’

Which ROOT version are you trying to install ?
I see you get the message:

found ROOT version 5.34/30 in directory /usr

may be some possible conflict ?.

Installed is this one:

system > root
   -----------------------------------------------------------------
  | Welcome to ROOT 6.11/01                     http://root.cern.ch |
  |                                    (c) 1995-2017, The ROOT Team |
  | Built for linuxx8664gcc                                         |
  | From heads/master@v6-09-02-1433-gc8030da, Jun 26 2017, 14:47:55 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'     

Not sure how it finds the 5.34/30 version… the system variable is pointing to the 6.11 version

I just saw that xps won’t work with version 6. Didn’t see it before. I’m trying version 5.34.36 now

May be $ROOTSYS was pointing to this installed version before you start the new install (just a guess) …?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.