Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble getting a game to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
krosisbh
n00b
n00b


Joined: 25 May 2021
Posts: 2

PostPosted: Mon Jul 19, 2021 8:00 pm    Post subject: Trouble getting a game to compile Reply with quote

Hello. I am trying to install Etterna, a fork of StepMania. It's found here https://github.com/etternagame/etterna. It's not in the Gentoo repos or any overlays, so I have to install it manually.

I follow the build instructions here https://github.com/etternagame/etterna/blob/master/Docs/Building.md

I triple checked that I have all the dependencies or what I think to be the Gentoo equivalent of the Ubuntu packages.

When I run # cmake -G "Unix Makefiles" .. command I get an error.

Code:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found
  version "1.1.1k")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenSSL.cmake:486 (find_package_handle_standard_args)
  CMakeLists.txt:62 (find_package)


-- Configuring incomplete, errors occurred!
See also "/exHDD/etterna/build/CMakeFiles/CMakeOutput.log".


So I seem to have a problem with OpenSSL, which I am sure is installed. I checked the USE flags of OpenSSL to see if I was missing a feature that Etterna needs, but I don't know which that might be. Here are my USE flags for OpenSSL

Code:
# equery uses dev-libs/openssl
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/openssl-1.1.1k:
 U I
 + + abi_x86_32    : 32-bit (x86) libraries
 + + asm           : Support assembly hand optimized crypto functions (i.e. faster run time)
 - - bindist       : Disable/Restrict EC algorithms (as they seem to be patented) -- note: changes the ABI
 - - rfc3779       : Enable support for RFC 3779 (X.509 Extensions for IP Addresses and AS Identifiers)
 - - sctp          : Support for Stream Control Transmission Protocol
 - - sslv3         : Support for the old/insecure SSLv3 protocol -- note: not required for TLS/https
 - - static-libs   : Build static versions of dynamic libraries as well
 - - test          : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 - - tls-heartbeat : Enable the Heartbeat Extension in TLS and DTLS
 - - vanilla       : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically
 + + zlib          : Add support for zlib (de)compression


I am not really familiar with this type of error or how cmake works. What should be done?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 26761
Location: here

PostPosted: Mon Jul 19, 2021 8:04 pm    Post subject: Reply with quote

Welcome to gentoo.

You tried one of these fixes.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
krosisbh
n00b
n00b


Joined: 25 May 2021
Posts: 2

PostPosted: Mon Jul 19, 2021 8:42 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Welcome to gentoo.

You tried one of these fixes.


I must've overlooked that when googling around for a solution. The fix makes sense since I didn't compile OpenSSL with static libraries.

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum