Hi, To install deal.II, you need to first compile it using `make` which probably happens in ~/projects/dealii-9.1.1/build and then it needs to be installed using `make install`. That second step should move the important files to /home/projects/deal.II It looks to me that you forgot this second step.
Best, Bruno On Thursday, April 9, 2020 at 4:38:52 AM UTC-4, Malik Tahiyat wrote: > > 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. > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/fd647210-bfd5-46d1-acdb-f31c9e36d7e3%40googlegroups.com.
