then what should i do in this case, can you please suggest me, it will be very helpful.
when i opened this file
/home/mnitj/Documents/root_install/root/VECCORE-prefix/src/VECCORE-stamp/VECCORE-download-*.log
it gives me
It looks like your “/usr/local/bin/cmake
” is misbehaving.
Try to download and unpack a binary release from: CMake.org → Download Latest Release
@Axel Which CMake version are you using now on Ubuntu 18.04 when building “official” binary releases?
cmake-3.14.0-rc2
actually i installed it when i installed Geant4.
I’m simply using the latest release.
@priyanshu-gif I’d like to better understand your comment
no, i want to install it in a proper way but this is the only problem occurring.
How is downloading a binary “improper”? If you really need 6.20/08 you can find wonderful Ubuntu binaries here: Release 62008 - ROOT
no, i am not downloading binary distribution. i am downloading source distribution.
and when i give command cmake …/root-6.20.08/ -Dall=ON -Dcuda=OFF -Dtmva-gpu=OFF
and then cmake --build . – -j72
then it gives me these errors, i just want to know, why this is happening ?
and then on seeing the message above i opened those files and found
then in this case how can i resolve this problem ?
is it due to cmake version ?
or is it due to compiler version that comes with the installation of ubuntu 18.3 ?
how to processed with these errors can you please tell me ?
Thanks in advance!
Regards
Priyanshu
one more thing i want to know that if i have downloaded cmake-3.14.0-rc2 and using this i installed Geant4 software then i am installing ROOT with this cmake version.
now my question is if i download latest release of cmake like cmake-3.19/ 3.20 then in this case, should i have to install Geant4 software again ? this is my main concern actually?
I understand that. I’d like you explain why you need to do that. For the binary you’re done in 5 minutes instead of running into the problems you have.
You should not run into problems with Geant4 after upgrading CMake.
BTW. Download and unpack a CMake binary distribution. If you try to build it from source code yourself, you may again get a “misbehaving” binary (with missing features / “unsupported protocols”).
yes, i did this in last, but there is less packages compare to installing via source distribution.
so now if i want to add other packages if i need in future then how can i install them (since i have installed ROOT via binary distribution), can you please tell me ?
Thanks
Regards
Priyanshu
yes, that is my question, why i am getting this type of behavior this time, because with the same source distribution (same process that i am following this time ) and same cmake version but ubuntu 20.04 , i have installed ROOT 2 times but really i am not getting why this is giving this type of behavior ? really lost
i am just curious about the reason of this type of behavior.
Thanks a lot !
Priyanshu
Thanks. Can you build with a CMake binary downloaded from cmake.org as suggested by Wile_E?
We cannot tell what’s wrong with your CMake without knowing where you got it from
i downloaded it like this and installed like below :
OK, so something went wrong during the configuration of your CMake - you probably didn’t enable http, but we’re not experts on how to build CMake…
Alternatively you could just get CMake binaries, using option “A” here: https://askubuntu.com/a/865294
okay, thank you. i think i can update or upgrade my cmake version with the latest cmake version without again downloading and installing it. will it work ?
no, there was no error when i installed cmake.
First, uninstall your current binary:
cd cmake-3.14.0-rc2
sudo make uninstall
Then, download and install a CMake.org binary distribution (for the “Linux x86_64” platform).
Either the “Latest Release (3.20.3)”:
wget https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.sh
sudo bash cmake-3.20.3-linux-x86_64.sh --prefix=/usr/local --exclude-subdir
or the “Previous Release (3.19.8)”:
wget https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-Linux-x86_64.sh
sudo bash cmake-3.19.8-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
Actually, on Ubuntu, instead of manually installing it, you can use (future updates will then be installed automatically): Kitware’s Ubuntu packages
What I meant to say: when you configured cmake you ended up disabling http / https - probably involuntarily so, but it shows that you really want to just take the CMake binary - e.g. as Wile_E proposes!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.