Dear Rodrigo,
concerning 1:
As it seems, OpenBSD uses LibreSSL and not OpenSSL,
LibreSSL pretends to be OpenSSL 2.0.0 (!!!), which does not exist,
so all version comparisons fail hopelessly
concerning 2:
build with LIBS specified should help, e.g.
gmake LIBS=-lpthread
Not sure, what's needed to detect OpenBSD. AFAIK, FreeBSD
does not have this issue
I've added just now an update to the repository at bitbucket,
that should address the compilation issue with LibreSSL; NaviServer should
compile now, but i am not sure, how compatible LibreSSL is with OpenSSL
-g
Am 12/21/17 um 9:52 PM schrieb Roderick:
(1) I cannot compile with openssl, because it seems to need
openssl-1.1.0 that changed the names of some funcions of openssl-1.0.2
(EVP_MD_CTX_free for EVP_MD_CTX_destroy, etc). I failed to build
openssl-1.1.0 and did not try too much.
(2)
Doing:
cc -L../nsthread -L../nsd -L../nsdb -o nsd main.o libnsd.so -lz
-lnsthread -L/usr/opt/Tcl867/lib -ltcl86 -lm -Wl,-export-dynamic
-L/usr/opt/Tcl867/lib -Wl,-rpath,:/usr/opt/NaviServ/lib
-Wl,-rpath,:/usr/opt/Tcl867/lib
in /usr/opt/NaviServ/src/naviserver-4.99.15/nsd
needs the flag -pthread
----------------
(3) The same doing
cc -L../nsthread -L../nsd -L../nsdb -o nsproxy nsproxy.o libnsproxy.so
-lnsthread -lnsd -L/usr/opt/Tcl867/lib -ltcl86 -lm -Wl,-export-dynamic
-L/usr/opt/Tcl867/lib -Wl,-rpath,:/usr/opt/NaviServ/lib
-Wl,-rpath,:/usr/opt/Tcl867/lib
in /usr/opt/NaviServ/src/naviserver-4.99.15/nsproxy
-------------------
(4)
Doing "gmake test" I get gmake error:
Tests ended at Thu Dec 21 20:50:38 GMT 2017
all.tcl: Total 1218 Passed 1194 Skipped 24 Failed 0
Sourced 64 Test Files.
Number of tests skipped for each constraint:
20 crypto
2 knownBug
1 notDarwin
1 stress
Terminated
gmake: *** [Makefile:222: test] Error 143
--------
Best regards
Rodrigo
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel