Hey all,

This probably has a simple explanation.

I have downloaded the 3.8.2 source code.

In the local source code directory I make a build dir and cd into it.

I then do this:

CMAKE_INSTALL_PREFIX=/usr GDAL_JAVA_INSTALL_DIR=/usr/java/packages/lib
cmake ..

And then this:

CMAKE_INSTALL_PREFIX=/usr GDAL_JAVA_INSTALL_DIR=/usr/java/packages/lib
cmake --build .

And after a short while I get this error message:

CMake Error at port/CMakeLists.txt:122 (message):
  /home/bdz/Downloads/tmp/gdal-3.8.2/port/cpl_config.h was found, and
likely conflicts with
/home/bdz/Downloads/tmp/gdal-3.8.2/build/port/cpl_config.h

Can you tell me what I am doing wrong?
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to