Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Help. #1616

Closed
Innomenatus opened this issue Sep 22, 2020 · 5 comments
Closed

Help. #1616

Innomenatus opened this issue Sep 22, 2020 · 5 comments
Labels

Comments

@Innomenatus
Copy link

make[2]: *** No rule to make target 'gmock/lib/libgmock.a', needed by 'tests/anbox/android/intent_tests'. Stop.
make[1]: *** [CMakeFiles/Makefile2:2215: tests/anbox/android/CMakeFiles/intent_tests.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

  1. ** Please paste the result of anbox system-info below:**
anbox system-info output
[please paste printout of `anbox system-info` here]

Please describe your problem:

What were you expecting?:

Additional info:

@jnnks
Copy link
Contributor

jnnks commented Sep 23, 2020

On some distros you need to install libgmock-dev.
I would highly recommend to use the provided Docker container to build Anbox. You can start a build with scripts/build-with-docker.sh. Be aware that the script will hard reset your git tree.

@Innomenatus
Copy link
Author

I installed libgmock-dev already. How do you start a build with scripts/build-with-docker.sh? I'm new here.

@jnnks
Copy link
Contributor

jnnks commented Sep 26, 2020

When you clone the repository there is a folder called scripts. In this folder you will find a shell script called build-with-docker.sh that builds and starts a docker container. Anbox will be compiled inside the container where all dependencies are present without having to install anything.

You need to be in the root folder of the repository and execute scripts/build-with-docker.sh in a shell window.

May I ask why you want to compile the code?

@necessarily-equal
Copy link
Contributor

This might help https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/anbox/fix-gtest-use.patch though it doesn't seem to touch the same part of the code.

@stale
Copy link

stale bot commented Jul 21, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the decaying label Jul 21, 2021
@stale stale bot closed this as completed Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants