docker-postgres-rdkit icon indicating copy to clipboard operation
docker-postgres-rdkit copied to clipboard

CMake Error in CMakeLists.txt:

Open venkatadhatri opened this issue 4 years ago • 4 comments

We are seeing errors while trying to build the Postgres-rdkit. Not aware of this error. It was running fine previously. Please let us know the fix. whereas mcs07/docker-rdkit is building fine.

CMake Error in CMakeLists.txt: Imported target "AvalonLib" includes a non-existent path

"/usr/include/python3.7m"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not provide.

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. The command '/bin/sh -c cmake -Wno-dev -D CMAKE_BUILD_TYPE=Release -D CMAKE_SYSTEM_PREFIX_PATH=/usr -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_MODULE_PATH=/rdkit/Code/cmake/Modules -D RDK_BUILD_AVALON_SUPPORT=ON -D RDK_BUILD_INCHI_SUPPORT=ON -D RDKit_DIR=/usr/lib -D PostgreSQL_ROOT=/usr -D PostgreSQL_TYPE_INCLUDE_DIR=/usr/include/postgresql/12/server/ .' returned a non-zero code: 1.

venkatadhatri avatar Dec 03 '21 20:12 venkatadhatri

Also having this issue. Not sure how to fix this. Previously would build fine but now it's broken.

bolerodan avatar Dec 09 '21 14:12 bolerodan

Any Updates on the fix? Please let us know

venkatadhatri avatar Jan 11 '22 16:01 venkatadhatri

Any updates? I meet the issue too

yuwang-langrui avatar Jun 01 '22 07:06 yuwang-langrui

Thanks to Matt for creating this docker image, it has been a very helpful resource for many.

TLDR; To upgrade to the latest version, I've created a beta build postgres-rdkit Dockerfile which is available from docker at docker image

Out of necessity I spent a little time on this, I want/need to upgrade to the latest version. Like many of you first I tried to fix this Dockerfile, but ran into odd issues, so decided to just build a new Dockerfile from the ground up. Caveat, I'm a long time docker user, and I'm still discovering the nuances of Dockerfile building, so even though this works as a drop in replacement for me, YMMV (let me know in the github project if you encounter issues with my image).

joelduerksen avatar Nov 01 '22 18:11 joelduerksen