ISSUE ON INSTALLING eckit-1.20.0.tar.gz
Darivo-cmd opened this issue · comments
Hi!
I'm trying to install the eckit (required packages by other program) version 1.20.0 but encouter the following problem.
I have ecbuild correctly installed (I think > darivo@Rivo:~/eckit-1.20.0/build$ which ecbuild give /opt/cdo-install/bin/ecbuild
But when I enter this /eckit-1.20.0/build$ ecbuild --prefix=$installdir ../ to install eckit, it requires root permission. So I try with sudo but unfortinately it says ecbuild not found./eckit-1.20.0/build$ sudo ecbuild --prefix=$installdir ../
:
sudo: ecbuild: command not found
A help is most wellcome! Thanks inadvance.
For info, I downloaded tarball from here (github)
Hello @Darivo-cmd,
You don't necessarily need to have an installed ecbuild as it works from source.
Try this:
git clone https://github.com/ecmwf/ecbuild
export ecbuild_ROOT=$PWD/ecbuild
and then use
${ecbuild_ROOT}/bin/ecbuild --prefix=$installdir ../
or simply
cmake -DCMAKE_INSTALL_PREFIX=$installdir ../
The latter will work as well because ecbuild_ROOT
is exported in environment.
Hi Willem,
That works well. Thanks a lot!