Saulteau Don <sault....@gmail.com> writes: > I have gdal 3.5.0 built using the new cmake system. > /chroot/src/build <- cmake build directory > /chroot/src/gdal <- src directory > /chroot/src/gdal/swig/python > > My cmake is ran from the /chroot directory: > >> cmake -B build -S gdal \ >> -DCMAKE_BUILD_TYPE='None' \ >> -DCMAKE_INSTALL_PREFIX='/usr' \ >> -DBUILD_PYTHON_BINDINGS='OFF' \ >> -Wno-dev >> cmake --build build > > > Then to make the python bindings via swig: > >> cd gdal/swig/python >> python setup.py build > > > When the `python setup.py build` is running it can't find gdal-config with > the following errors:
This may not be how you want to do this, but if you install the lib and then build python as a separate step, it will probably go better. I am unclear on how this is supposed to work; pkgsrc builds non-python libs and then python as separate packages.
signature.asc
Description: PGP signature
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev