[arch-general] Problem install shrew vpn client
Hi, I received this error when compile the program shrew vpn client: yaourt -S shrew-vpn-client /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp: In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)': /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19: error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and cannot be defined EVP_CIPHER_CTX ctx_cipher; ^~~~~~~~~~ make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:102: source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 24%] Linking CXX shared library libss_ip.so [ 25%] Linking CXX shared library libss_pfk.so [ 25%] Built target ss_ip [ 25%] Built target ss_pfk make[1]: *** [CMakeFiles/Makefile2:244: source/libike/CMakeFiles/ss_ike.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build shrew-vpn-client. Someone happened to him the same? Thanks in advanced.
Am 26.09.18 um 10:47 schrieb Maykel Franco via arch-general:
Hi, I received this error when compile the program shrew vpn client:
yaourt -S shrew-vpn-client
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp: In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)': /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19: error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and cannot be defined EVP_CIPHER_CTX ctx_cipher; ^~~~~~~~~~
So, all existing Software must be rewritten just to be able to use 1.1.x ? Do you have any idea how many Million lines of code are affected by
should this even be answered here? https://github.com/openssl/openssl/issues/962#issuecomment-427752560 TLDR; this crap??
Yes, applications must be changed to use 1.1.x.
On 11/2/18 5:25 PM, Peter Bauer wrote:
Am 26.09.18 um 10:47 schrieb Maykel Franco via arch-general:
Hi, I received this error when compile the program shrew vpn client:
yaourt -S shrew-vpn-client
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp: In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)': /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19: error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and cannot be defined EVP_CIPHER_CTX ctx_cipher; ^~~~~~~~~~
should this even be answered here?
https://github.com/openssl/openssl/issues/962#issuecomment-427752560
TLDR;
So, all existing Software must be rewritten just to be able to use 1.1.x ? Do you have any idea how many Million lines of code are affected by this crap?? Yes, applications must be changed to use 1.1.x.
for what it's worth, you may be able to use vpnc[0] or StrongSwan[1] as an IPSec client. this may be even recommended, as Shrew Soft hasn't released an update for 5 years. that being said, the dependencies for the PKGBUILD should be changed to use openssl-1.0[2] instead of openssl. you may need to further update the cmake line (or patch the CMakeLists.txt) to point explicitly to the proper openSSL path (for openssl-1.0 instead of the default-provided v1.1.x), but i'm not as familiar with cmake to recommend how to do this. honestly, i'd recommend just moving away from Shrew Soft if possible and instead use something that is actively maintained. I strongly recommend StrongSwan. [0] https://wiki.archlinux.org/index.php/Vpnc [1] https://wiki.archlinux.org/index.php/StrongSwan [2] https://www.archlinux.org/packages/core/x86_64/openssl-1.0/ -- brent saner https://square-r00t.net/ GPG info: https://square-r00t.net/gpg-info
On 26/9/18 10:47, Maykel Franco via arch-general wrote:
Hi, I received this error when compile the program shrew vpn client:
yaourt -S shrew-vpn-client
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp: In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)': /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19: error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and cannot be defined EVP_CIPHER_CTX ctx_cipher; ^~~~~~~~~~ make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:102: source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 24%] Linking CXX shared library libss_ip.so [ 25%] Linking CXX shared library libss_pfk.so [ 25%] Built target ss_ip [ 25%] Built target ss_pfk make[1]: *** [CMakeFiles/Makefile2:244: source/libike/CMakeFiles/ss_ike.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build shrew-vpn-client.
Someone happened to him the same?
Thanks in advanced.
I've just posted a patch to build shrew in AUR: https://aur.archlinux.org/packages/shrew-vpn-client/#news Cheers Joan
El sáb., 3 nov. 2018 0:34, Joan Figueras via arch-general < arch-general@archlinux.org> escribió:
On 26/9/18 10:47, Maykel Franco via arch-general wrote:
Hi, I received this error when compile the program shrew vpn client:
yaourt -S shrew-vpn-client
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)':
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19:
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and cannot be defined EVP_CIPHER_CTX ctx_cipher; ^~~~~~~~~~ make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:102: source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 24%] Linking CXX shared library libss_ip.so [ 25%] Linking CXX shared library libss_pfk.so [ 25%] Built target ss_ip [ 25%] Built target ss_pfk make[1]: *** [CMakeFiles/Makefile2:244: source/libike/CMakeFiles/ss_ike.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build shrew-vpn-client.
Someone happened to him the same?
Thanks in advanced.
I've just posted a patch to build shrew in AUR:
https://aur.archlinux.org/packages/shrew-vpn-client/#news
Cheers
Joan
Thanks everybody. I use the ike client un the command línea and it works.
participants (4)
-
brent s.
-
Joan Figueras
-
Maykel Franco
-
Peter Bauer