[gdal-dev] Trouble building 3.8.2 from source
Barry DeZonia
bdezonia at gmail.com
Tue Dec 26 14:35:36 PST 2023
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231226/4aecd97d/attachment.htm>
More information about the gdal-dev
mailing list