This are usual troubles with the many incompatible clones/versions of
OpenSSL.
The error message tells you that the electronic signature stuff is missing
in the library. I have on my machine macOS Mojave, where i do not see this.
It might be the case that the compilation picks up the OpenSSL clone of
macOS.
One option is to go to the build directory (usually
/usr/local/src/naviserver)
and run there (assuming you are using a not locally modified install-ns.sh)
the following commands:
configure --enable-threads --with-tcl=/usr/local/ns/lib
--prefix=/usr/local/ns --with-openssl=/opt
make clean; make
What is the output of the following command?
port list openssl
all the best
-gn
On 17.04.20 00:32, THORPE MAYES via naviserver-devel wrote:
Hi,
I am installing NaviServer on a Mac with MacOS Catalina.
When I run install-ns.sh build I get this at the end of the process:
config.status: creating include/nsconfig.h
make[1]: Nothing to be done for `all'.
gcc -Os -DNDEBUG -DSYSTEM_MALLOC -Wall -fno-common -pipe -I../include
-I"/usr/local/ns/include" -DHAVE_CONFIG_H -I/opt/local/include
-c -o tclcrypto.o tclcrypto.c
*tclcrypto.c:1331:55: **warning: **passing 'const unsigned char *' to
parameter of type 'unsigned char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]*
(const unsigned
char *)signatureString,
* ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
*/opt/local/include/openssl/evp.h:580:19: note: *passing argument to
parameter 'sig' here
unsigned char *sig, size_t siglen);
* ^*
*tclcrypto.c:2672:56: **error: **use of undeclared identifier
'EVP_CIPH_GCM_MODE'*
} else if ((result = GetCipher(interp, cipherName,
EVP_CIPH_GCM_MODE, "gcm", cipherPtr)) == TCL_OK) {
* ^*
*tclcrypto.c:2783:46: **error: **use of undeclared identifier
'EVP_CTRL_GCM_SET_IVLEN'*
|| (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN,
ivLength, NULL) != 1)
* ^*
*tclcrypto.c:2831:42: **error: **use of undeclared identifier
'EVP_CTRL_GCM_GET_TAG'*
EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_GET_TAG,
tagDs.length, tagDs.string);
* ^*
*tclcrypto.c:2862:53: **error: **use of undeclared identifier
'EVP_CTRL_GCM_SET_IVLEN'*
|| (EVP_CIPHER_CTX_ctrl(ctx,
EVP_CTRL_GCM_SET_IVLEN, ivLength, NULL) != 1)
* ^*
*tclcrypto.c:2901:45: **error: **use of undeclared identifier
'EVP_CTRL_GCM_SET_TAG'*
if(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_TAG,
tagLength, tagString) != 1) {
* ^*
1 warning and 5 errors generated.
make[1]: *** [tclcrypto.o] Error 1
make: *** [all] Error 1
I do not know where to go from here. I appreciate any advice.
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel