This fixed the problem by changing in the install command from +mariadb10.11 to 
+mariadb-10.11 the web page for additional variants shows
mariadb10.11 and it worked previously, so there are probably some changes with 
the build done and therefore the documentation should be updated.
 

> On 5 Oct 2025, at 10:36 am, brian <[email protected]> wrote:
> 
> Typo or similar is causing this somewhere it would seem.
> 
> :info:build /usr/bin/clang -I. -I../../include -arch x86_64 -DUSE_SASL_AUTH 
> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DHAS_PCRE=1 -I/opt/local/include 
> -DUSE_CYRUS_SASL -DUSE_SASL_AUTH -I/opt/local/include/sasl 
> -I/opt/local/include -DUSE_TLS -DHAS_SSL -I/opt/local/include -DHAS_MYSQL 
> -I/opt/local/include/mariadb10.11/mysql -DBIND_8_COMPAT -DNO_NETINFO 
> -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -I/opt/local/include 
> -DHAS_DEV_URANDOM -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" 
> -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common  -g 
> -Os -I. -I../../include -DMACOSX -c quote_flags.c
> :info:build dict_mysql.c:82:10: fatal error: 'mysql.h' file not found
> :info:build #include <mysql.h>
> 
> Build used:
> 
> -I/opt/local/include/mariadb10.11/mysql
> 
> vs.
> 
> Needed:
> 
> -I/opt/local/include/mariadb-10.11/mysql
> 
> On Sat, Oct 4, 2025 at 6:01 PM Horst B Simon via macports-users 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> I am trying to build postfix sudo port -N install postfix 
> +tls+dovecot_sasl+sasl+pcre+mariadb10.11+smtputf8, but it fails to build on 
> macOS High Sierra with the lates macports installed. 
> When checking the logs it says mysql.h not found, but when I do a find it 
> finds several mysql.h files, following is the output from the find command
> and the attached main.log file.
> 
> ./include/mariadb-10.6/mysql/server/mysql.h
> ./include/mariadb-10.6/mysql/mysql.h
> ./include/mariadb-10.8/mysql/server/mysql.h
> ./include/mariadb-10.8/mysql/mysql.h
> ./include/mariadb-10.11/mysql/server/mysql.h
> ./include/mariadb-10.11/mysql/mysql.h
> ./var/macports/build/mysql8-2312cd8d/work/mysql-8.4.6/include/mysql.h
> 
> Regards,
> Horst
> 

Reply via email to