Dbox-storage error when compiling: no member named 'st_atim' in 'struct stat'
Hi all.
I’m getting errors when trying to compile 2.3.21 on macOS 14.3.1 Sonoma.
It ends with:
3.2.1/include -MT dbox-storage.lo -MD -MP -MF .deps/dbox-storage.Tpo -c dbox-storage.c -fno-common -DPIC -o .libs/dbox-storage.o
dbox-storage.c:296:32: error: no member named 'st_atim' in 'struct stat'
last_temp_file_scan = stats.st_atim.tv_sec;
~~~~~ ^
dbox-storage.c:297:24: error: no member named 'st_ctim' in 'struct stat'
change_time = stats.st_ctim.tv_sec;
~~~~~ ^
2 errors generated.
make[5]: *** [dbox-storage.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
Before ‘make’ I ran:
sudo CPPFLAGS=-I/opt/homebrew/Cellar/openssl@3/3.2.1/include LDFLAGS=-L/opt/homebrew/opt/openssl@3/lib LDFLAGS=-L/opt/homebrew/lib ./configure --with-ssl=openssl --with-mysql --with-sodium
I had to run ’sudo’ before ‘make’ as I was getting this error:
error: error opening '.deps/fuzzer.Tpo': /Users/jlbrown/Downloads/dovecot-2.3.21/src/lib-test/.deps/fuzzer.Tpo: Permission denied
Would someone be able to help we with the dbox-storage error?
Thanks,
James.
Hi all.
I’m getting errors when trying to compile 2.3.21 on macOS 14.3.1 Sonoma.
It ends with:
3.2.1/include -MT dbox-storage.lo -MD -MP -MF .deps/dbox-storage.Tpo -c dbox- storage.c -fno-common -DPIC -o .libs/dbox-storage.o dbox-storage.c:296:32:error:no member named 'st_atim' in 'struct stat' last_temp_file_scan = stats.st_atim.tv_sec; ~~~~~ ^ dbox-storage.c:297:24:error:no member named 'st_ctim' in 'struct stat' change_time = stats.st_ctim.tv_sec; ~~~~~ ^ 2 errors generated. make[5]: *** [dbox-storage.lo] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1
Before ‘make’ I ran:
sudo CPPFLAGS=-I/opt/homebrew/Cellar/openssl@3/3.2.1/include LDFLAGS=-L/opt/ homebrew/opt/openssl@3/lib LDFLAGS=-L/opt/homebrew/lib ./configure --with- ssl=openssl --with-mysql --with-sodium
I had to run ’sudo’ before ‘make’ as I was getting this error:
error:error opening '.deps/fuzzer.Tpo': /Users/jlbrown/Downloads/dovecot- 2.3.21/src/lib-test/.deps/fuzzer.Tpo: Permission denied
Would someone be able to help we with the dbox-storage error?
Thanks,
James.
participants (1)
-
James L. Brown