FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
514 stars 1.6k forks source link

Can't install in ubuntu 16.04 #187

Open ISQman opened 5 years ago

ISQman commented 5 years ago

1st way: in sources.list i have deb http://download.opensuse.org/repositories/home:/felfert/xUbuntu_16.04 ./ key i import from http://download.opensuse.org/repositories/home:/felfert/xUbuntu_16.04/Release.key after apt update i have error key expired: W: GPG error: http://download.opensuse.org ./ Release: The following signatures were invalid: KEYEXPIRED 1525593553

2nd way: i cloned git, and installed by install_prereqs.sh, so now i try to install, but i got error: [ 18%] Building C object winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/NTLM/ntlm_compute.c.o /root/prereqs/FreeRDP/winpr/libwinpr/sspi/NTLM/ntlm_compute.c: In function ‘ntlm_compute_message_integrity_check’: /root/prereqs/FreeRDP/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:649:11: error: storage size of ‘hmac_ctx’ isn’t known HMAC_CTX hmac_ctx; ^ /root/prereqs/FreeRDP/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:656:2: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration] HMAC_CTX_init(&hmac_ctx); ^ /root/prereqs/FreeRDP/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:662:2: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&hmac_ctx); ^ /root/prereqs/FreeRDP/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:649:11: warning: unused variable ‘hmac_ctx’ [-Wunused-variable] HMAC_CTX hmac_ctx; ^ make[2]: *** [winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/NTLM/ntlm_compute.c.o] Error 1 make[1]: *** [winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/all] Error 2 make: *** [all] Error 2 Unable to build FreeRDP package. Exiting...

c64cosmin commented 5 years ago

Make sure that openSSL-dev is installed correctly. Hopefully that will solve the problem.

rebootit commented 5 years ago

with libssl1.0-dev installed and some modifications to the sources (some cmake flags, a github url to change and and indentation problem), I manged to compile (and use ;) ) it under ubuntu 18.04!!

Pernat1y commented 5 years ago

Got same error on Fedora 30. Looks like it because of compatibility issues with OpenSSL 1.1.x