Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build external libs #287

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

amiuhle
Copy link

@amiuhle amiuhle commented May 19, 2018

I'm trying to get stagenet running, so I tried compiling the external libraries myself.

I added android-openssl and monero as submodules and adjusted the build instructions accordingly. However when trying to build monero, I get an error saying "Boost older than 1.62 is too old to link with OpenSSL 1.1 or newer.".

I think I did all the previous steps correctly, it finds the previously compiled OpenSSL library, but then somehow says it's using the include dir at /usr/include. Also the version at opt/android/build/openssl is 1.1.0g, but it should be 1.0.2l I suppose?

-- Found OpenSSL: /opt/android/build/openssl/arm/lib/libcrypto.so (found version "1.1.0g") 
-- Using OpenSSL include dir at /usr/include

https://paste.fedoraproject.org/paste/cIfShW44LwH7JzpoZ4WOVA

Any tips what I'm doing wrong?

@jenniferberger
Copy link
Contributor

PR #272 contains all the steps to build the android packages on a clean environment. assume that your PATH is corrupted by a previous installation of the ndk-toolchain or not all configure-options are set, or the ndk-toolchain is not in the PATH.
you can run the build-artifacts.sh in your development system when you remove the failsafe test in the beginning, but i strongly suggest docker or a separate VM to build.

changing files as user in /opt is not a good idea
PR #271 contains the changes that came up when I tried to follow the build-description in a clean VM

in my opinion submodules (as monero does) are a bad, as they usually cause issues (eg monero-project/monero#3825) and in your description for example no mention of the requirement of --recursive is made, leaving the user hanging with "where is build_all_arch.sh"

@m2049r
Copy link
Owner

m2049r commented Apr 25, 2021

i think this is void with the new docker build system

@ghost
Copy link

ghost commented May 6, 2021

Agreed, void.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants