evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
218 stars 97 forks source link

`make install` fails due to missing `FindLibint2.cmake` #222

Closed e-kwsm closed 2 years ago

e-kwsm commented 2 years ago
$ wget https://github.com/evaleev/libint/archive/refs/tags/v2.7.0.tar.gz
$ md5sum v2.7.0.tar.gz 
5b34682d9df856f12f87a933231a1351  v2.7.0.tar.gz
$ tar -xf v2.7.0.tar.gz
$ cd libint-2.7.0

FindLibint2.cmake is missing:

$ find -type f -name FindLibint2.cmake

This results in installation failure:

$ ./autogen.sh
$ mkdir build
$ cd build
$ ../configure --prefix=/tmp/libint/2.7.0
$ make
$ make install
…
/usr/bin/install -c -d -m 0755 /tmp/libint/2.7.0/lib/pkgconfig
/usr/bin/install -c -m 0644 ./libint2.pc /tmp/libint/2.7.0/lib/pkgconfig
/usr/bin/install -c -d -m 0755 /tmp/libint/2.7.0/lib/cmake/libint2
/usr/bin/install -c -m 0644 ..//FindLibint2.cmake /tmp/libint/2.7.0/lib/cmake/libint2
/usr/bin/install: cannot stat '..//FindLibint2.cmake': No such file or directory
make: *** [../Makefile:48: install_cmake] Error 1

Actually the file does not exist in the git repository (936cb0810e7ca5e51b0dff4198deb229251ec2c1):

$ git ls-files | fgrep FindLibint2.cmake