You are not logged in.
Pages: 1
The issue is already commented on here: https://github.com/elysium-project/server/issues/713
Essentially, Arch's upgrade to OpenSSL 1.1 breaks the build.
Any directives to CMake, such as package(OPENSSL 1.0.2 REQUIRED) in CMakeLists, or specifying
-DOPENSSL_INCLUDE_DIR==/usr/include/openssl-1.0seem to be ignored. All attempts to get the compiler to use openssl-1.0 instead of openssl (1.1) directories seem to be in vain.
It's time to call upon wiser minds.
Any help would be much appreciated.
Copied command list and output from the linked thread.
>pacman -S intel-tbb mysql
(install ace https://aur.archlinux.org/packages/ace/)
>git clone https://github.com/elysium-project/server.git
>cd server
>cmake .
>make
In file included from /home/eir/git_elysium/server/src/realmd/AuthSocket.cpp:27:0:
/home/eir/git_elysium/server/src/shared/Auth/Hmac.h:43:18: error: field 'm_ctx' has incomplete type 'HMAC_CTX {aka hmac_ctx_st}'
HMAC_CTX m_ctx;
^~~~~
In file included from /usr/include/openssl/evp.h:14:0,
from /usr/include/openssl/hmac.h:15,
from /home/eir/git_elysium/server/src/shared/Auth/Hmac.h:23,
from /home/eir/git_elysium/server/src/realmd/AuthSocket.cpp:27:
/usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'HMAC_CTX {aka struct hmac_ctx_st}'
typedef struct hmac_ctx_st HMAC_CTX;
^~~~~~~~~~~
make[2]: *** [src/realmd/CMakeFiles/realmd.dir/build.make:63: src/realmd/CMakeFiles/realmd.dir/AuthSocket.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:505: src/realmd/CMakeFiles/realmd.dir/all] Error 2Last edited by Meridian (2017-05-17 17:54:11)
Offline
There doesn't appear to be a PKGBUILD for elysium-project, so replicating the issue may be difficult.
Can you post the exact cmake / make commands used and their output ?
Are you running those commands as root or as user ?
Last edited by Lone_Wolf (2017-05-17 12:13:23)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
There doesn't appear to be a PKGBUILD for elysium-project, so replicating the issue may be difficult.
Can you post the exact cmake / make commands used and their output ?
Are you running those commands as root or as user ?
You should be able to replicate it on any up-to-date Arch installation.
Copied the commands here for convenience.
Non-install commands are being run as a user, but that doesn't make a difference.
Offline
It does look like the problems may be caused by the openssl 1.0 package.
Keep an eye on arch-dev-public ML thread .
Last edited by Lone_Wolf (2017-05-18 10:22:38)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
cmake ../ -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0
sudo rm /usr/lib64/libssl.so
sudo ln -s /usr/lib64/libssl.so.1.0.0 /usr/lib64/libssl.so
sudo rm /usr/lib64/libcrypto.so
sudo ln -s /usr/lib64/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so
make
make install
sudo rm /usr/lib64/libssl.so
sudo ln -s /usr/lib64/libssl.so.1.1 /usr/lib64/libssl.so
sudo rm /usr/lib64/libcrypto.so
sudo ln -s /usr/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.soOffline
Pages: 1