I was trying to follow this command in READ me section (after downloading and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II
i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/
However, everytime I got the following error
CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
The only way it worked was if i added two dots after the command:
$ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ ..
But then, the installation does not happen in the deal.II directory. THe program is installed in ~/projects/dealii-9.1.1/build
THe deal.II folder stays empty
ANd of course i face the error
*** Could not locate a (sufficiently recent) version of deal.II. ***
You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake
or set an environment variable "DEAL_II_DIR" that contains this path.
I am fairly new to linux. Can you please say what is happening wrong here?
I will be obliged.