Hi, I'm building gdal 2.4.4 on CentOS Linux release 7.7.1908. When I run "./configure --with-mysql=/usr/bin/mysql" I have no error.
Than when I run make I have "make[3]: Entering directory `/var/regsic/apps/gdal-2.4.4/ogr/ogrsf_frmts/mysql' /bin/sh /var/regsic/apps/gdal-2.4.4/libtool --mode=compile --silent --tag=CXX g++ -std=c++11 -I/var/regsic/apps/gdal-2.4.4/port -I/var/regsic/apps/gdal-2.4.4/gcore -I/var/regsic/apps/gdal-2.4.4/alg -I/var/regsic/apps/gdal-2.4.4/ogr -I/var/regsic/apps/gdal-2.4.4/ogr/ogrsf_frmts -I/var/regsic/apps/gdal-2.4.4/gnm -I/var/regsic/apps/gdal-2.4.4/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant -I.. -I../.. -DGNM_ENABLED -I/var/regsic/apps/gdal-2.4.4/port -DGDAL_COMPILATION -c -o ../o/ogrmysqldriver.lo ogrmysqldriver.cpp In file included from ogrmysqldriver.cpp:29:0: ogr_mysql.h:47:19: fatal error: mysql.h: No such file or directory" "mysql.h" is in "/usr/include/mysql/mysql.h" and I have installed mariadb-devel. How to solve it? Thank you -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
