Hello very much time i will try install something for ssl mbedtls and i get error in ubuntu is working well in freebsd is not please fix this fatal error: 'mbedtls/ctr_drbg.h' file not found #include <mbedtls/ctr_drbg.h>
It is not clear which port you try to build. Is it security/mbedtls or a port depend on it? I could repeat this error with security/mbedtls and did not find the line #include <mbedtls/ctr_drbg.h> in the source code of this port.
Corr: I could NOT repeat this error.
i try run inspircd version 3 and i load a module m_ssl_mbedtls i install the mbedtls and what a problem in here is if i inside to folder make template and set code in main.mk this a code CXXFLAGS = -pipe -fPIC -DPIC -I/usr/local/include LDLIBS = -pthread -lstdc++ LDFLAGS = -L/usr/local/lib is working good my question how i can configure it or the mbedtls in freebsd not work very clear
It is still not clear which port is meant. CC'd maintainer of inspircd.
working about CXX
(In reply to mircx1 from comment #3) Hi, If you'd like to install inspircd, the recommended way to do that on FreeBSD would be to either install inspircd package or use irc/inspircd port. Installing directly from the upstream source is also fine, but I don't think FreeBSD ports bug tracker is a right place to discuss issues you have with source installation. Easiest (and supported) way to get inspircd with MBEDTLS would be to use irc/inspircd port with MBEDTLS option.
i do it but is no have this a module and when i try to install that in home is have error from ports not all a module there what i need
Dmitri Goutnik please the question the first time thanks about a fix it my question is how the possible run inpircd from home? i try very much the options to configure ./configure CXX=-c++ and i get error i happy if you can told to me if is have option give to user in freebsd install without using in ports
(In reply to mircx1 from comment #8) 1. pkg install perl5 gmake mbedtls 2. git clone https://github.com/inspircd/inspircd.git inspircd-src 3. cd inspircd-src && git checkout v3.3.0 4. ./configure --clean --disable-interactive --prefix=/home/mircx1/inspircd 5. gmake CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib install $ ls -1 /home/mircx1/inspircd/bin inspircd inspircd-genssl $ ls -1 /home/mircx1/inspircd/modules/m_ssl_mbedtls* /home/mircx1/inspircd/modules/m_ssl_mbedtls.so
(In reply to Dmitri Goutnik from comment #9) Dmitri Goutnik thankssss to youu sooo much!! about a help!!