-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
8.0.0alpha1 (master)
-
None
-
Sprint candidates
-
0.5
It's not possible to build Zabbix from sources unless the dependencies are installed in the default locations. You get messages like this:
Making all in zbxautoreg depbase=`echo autoreg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I../../../include/common -I../../../include -I/opt/homebrew/opt/libiconv/include -g -O2 -I/opt/homebrew/Cellar/pcre2/10.45/include -MT autoreg.o -MD -MP -MF $depbase.Tpo -c -o autoreg.o autoreg.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from autoreg.c:15: In file included from ../../../include/zbxautoreg.h:19: In file included from ../../../include/zbxcacheconfig.h:19: ../../../include/zbxcomms.h:161:11: fatal error: 'openssl/ssl.h' file not found 161 | # include <openssl/ssl.h> | ^~~~~~~~~~~~~~~ 1 error generated. make[3]: *** [autoreg.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
It's most evident on macOS because of brew but should be reproducible elsewhere.
Please see the patch attached.
- related to
-
ZBX-22314 Build fails on systems with OpenSSL in non-standard location
-
- Closed
-
-
ZBX-22844 Server build from sources on OpenBSD is broken
-
- Closed
-
-
ZBX-23838 Cannot build server with libcurl in non-standard location
-
- Closed
-
-
ZBX-23904 Build fails (again!) on systems with OpenSSL in non-standard location
-
- Closed
-