Hi,
I have been trying to build captagent with --enable-ssl option. Seems that there is conflict with SSL macro name with SSL header check. That causes check to fail. As this configure option has passed successfully before I did some digging and in the commit a7af017 there is change how --enable-ssl is handled. This seems to trigger the header check (as I would assume it should), but name SSL (macro or variable what ever it is called) has conflict with the SSL library and check fails.
From config.log
configure:16674: checking for OpenSSL SSL Library and Header files...
configure:16676: checking for openssl/ssl.h
configure:16676: gcc -c -g3 conftest.c >&5
conftest.c:14:13: error: expected identifier or '(' before numeric constant
14 | #define SSL 1
| ^
conftest.c:14:13: error: expected specifier-qualifier-list before numeric constant
14 | #define SSL 1
| ^
In file included from /usr/include/openssl/evp.h:28,
from /usr/include/openssl/x509.h:31,
from /usr/include/openssl/ssl.h:34,
from conftest.c:66:
conftest.c:14:13: error: expected declaration specifiers or '...' before numeric constant
14 | #define SSL 1
|
I would assume this should be quite simple fix just to rename SSL (macro or what ever it is called) in configure.ac, but since I'm not expert in Linux build systems please can someone check if this would be correct way of fixing this.
Hi,
I have been trying to build captagent with --enable-ssl option. Seems that there is conflict with SSL macro name with SSL header check. That causes check to fail. As this configure option has passed successfully before I did some digging and in the commit a7af017 there is change how --enable-ssl is handled. This seems to trigger the header check (as I would assume it should), but name SSL (macro or variable what ever it is called) has conflict with the SSL library and check fails.
From config.log
I would assume this should be quite simple fix just to rename SSL (macro or what ever it is called) in configure.ac, but since I'm not expert in Linux build systems please can someone check if this would be correct way of fixing this.