CentOS Make Errors - agent_tunnel.h
-
During make process in a centos installation, I have run into this error;
----------------------------------------------------------------------------------------------------
In file included from agent.cpp:24:0:
../../../src/server/include/agent_tunnel.h:89:4: error: ‘SSL_CTX’ does not name a type
SSL_CTX *m_context;
^
../../../src/server/include/agent_tunnel.h:90:4: error: ‘SSL’ does not name a type
SSL *m_ssl;
^
../../../src/server/include/agent_tunnel.h:123:24: error: expected ‘)’ before ‘*’ token
AgentTunnel(SSL_CTX *context, SSL *ssl, SOCKET sock, const InetAddress& addr, UINT32 nodeId, UINT32 zoneUIN);
^
../../../src/server/include/agent_tunnel.h:154:28: error: ‘SSL_CTX’ was not declared in this scope
bool SetupServerTlsContext(SSL_CTX *context);
^
../../../src/server/include/agent_tunnel.h:154:37: error: ‘context’ was not declared in this scope
bool SetupServerTlsContext(SSL_CTX *context);
^
make[4]: *** [libnxcore_la-agent.lo] Error 1
-------------------------------------------------------------------------------------------------------------Configure ran clean using the following;
sh ./configure --with-server --with-mysql --with-agent --disable-encryption --disable-ssh --disable-mqtt --without-openssl
Please advise if you would need the config.log.... Thanks
-
Hi,
what version you are trying to build?
Best regards,
Victor -
-
Hi,
I overlook that you are trying to build server, not agent. Building server without encryption support is no longer supported. You should install openssl development package and re-run configure without options --disable-encryption and --without-openssl. We have updated configure scxript for next release so it will display meaningful error message in that case.
Best regards,
Victor -
Victor,
Understand, Thanks .... I will add openssl. Initially I built this on Windows, to remote CentOS server with Maria db (using the mysql driver) and it worked fine. Before going production fully on CentOS server I wanted to run through the build process and familiarize myself better with the process. During this build I ran across needing several devel libraries. Is there any documentation which defines the libraries required for the options allowed?
I will consider this issue resolved. Thanks again ...
Regards,
Wayne -
Probably it's not documented, but list is quite short actually. You definitely need openssl, for SSH support you need libssh, libmosquitto for MQTT support, libcurl for Jira integration and some SMS drivers, and JDK for Java subagents.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login