Building event-driven-servers on Ubuntu 20.04 LTS

141 views
Skip to first unread message

victor ostorga

unread,
Jan 6, 2024, 2:59:55 PM1/6/24
to Event-Driven Servers
Just sharing the notes how to build event-driven-servers on this Linux version:

Requirements:

Building Freeradius client, only needed if  enabling  --with-freeradius-client support

git clone https://github.com/FreeRADIUS/freeradius-client.git

cd freeradius-client/

./configure

make

make install


Installing build time dependencies:

apt-get update

apt install libfreeradius-dev libldap2-dev libpcre2-dev libc-ares-dev


Building Event-driven-servers

git clone https://github.com/MarcJHuber/event-driven-servers.git

cd event-driven-servers/


Modify file tac_plus-ng/headers.h  line 110

This is needed because Ubuntu 20 doesn't provide openssl 3.0

Replace

#warning Disabling OpenSSL support. Please upgrade to version 3.0

with

//#warning Disabling OpenSSL support. Please upgrade to version 3.0


Modify file mavis/ldapmavis-mt.c line 918 and 919

Ubuntu 20 doesn't provide tls 1.3 headers

Replace

      else if (!strcmp(tmp, "TLS1_3"))
          ldap_tls_protocol_min = LDAP_OPT_X_TLS_PROTOCOL_TLS1_3;

with

//      else if (!strcmp(tmp, "TLS1_3"))
//          ldap_tls_protocol_min = LDAP_OPT_X_TLS_PROTOCOL_TLS1_3;


Then build and install event-driven-servers

./configure --debug --with-freeradius-client  --with-ldap --with-pcre2

make

make install


Event-Driven Servers

unread,
Jan 12, 2024, 9:30:34 AM1/12/24
to Event-Driven Servers
Hi,

thanks, I've updated the git.

Cheers,

Marc
Reply all
Reply to author
Forward
0 new messages