Open tgiani opened 6 years ago
Sounds like the gcc compiler is not able to compile, so I would say this is not related to the cern-root package. Are you sure you can compile c/c++ code? The conda package provides the root-config
?
If i try to compile without creating a new clean conda environment I m able to compile c++ code, but then I will have problems in creating the applgrid grid, as reported in issue #5 in NNPDF/external.
I guess the problem in compiling c++ code is happening only when I m working in a new environment with nothing in it. Following the instructions of Zahari's email of some weeks ago i was trying to install the compilers, automake and libtool from conda, with these commands:
autoreconf -i
./configure --prefix=$CONDA_PREFIX
make
make install
I don 't know if I m missing some steps.
If i try to run root-config from the conda env with the root packages installed i get
(nnpdfroot) bash-4.2$ root-config
Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--srcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-<feature>] [--arch] [--platform] [--config] [--features] [--ncpu] [--git-revision] [--python-version] [--cc] [--cxx] [--f77] [--ld ] [--help]
so i guess that root is there
Just realised that maybe i should have referred directly to issue #5 in NNPDF/external, intead of opening a new one here
Hi, I m trying to install applphoton using conda packages. I ve created a new environment and I ve installed the conda packages for root:
Then I ve cloned the repo and I ve tried to install the compilers, automake and libtool
Here there is the output of the last two lines
Thanks