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

Document how to get started on other Linux distributions #16

Open
cblichmann opened this issue Mar 25, 2019 · 2 comments
Open

Document how to get started on other Linux distributions #16

cblichmann opened this issue Mar 25, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@cblichmann
Copy link
Member

Sandboxed API should build/work on all major Linux distributions.
We should provide at least some basic instructions for distributions other than Debian/Ubuntu:

  • Fedora
  • Arch Linux
  • openSUSE
  • Gentoo
    This also applies for their derivatives (CentOS, Manjaro, etc.)
@cblichmann cblichmann added the enhancement New feature or request label Mar 25, 2019
@cblichmann
Copy link
Member Author

Collecting the information for Fedora 29:

# Install Bazel (https://docs.bazel.build/versions/master/install-redhat.html)
sudo dnf install dnf-plugins-core
sudo dnf copr enable vbatts/bazel
sudo dnf install bazel

# Install necessary development tools
sudo dnf install patch gcc-c++ glibc-static libstdc++-static clang-devel \
  python2-clang python2-typing

# Force the use of the Gold linker
sudo alternatives --config ld
[ Select /usr/bin/ld.gold ]

@Vincenzo-Petrolo
Copy link
Contributor

Vincenzo-Petrolo commented Dec 26, 2020

Hi, i'm trying to embed te library and my current distribution is Arch Linux.
I have now some problems because i cannot compile correctly my library, but apart from that here are some hints i can give to write the Getting started for Arch based distributions:

  • If using cmake libcap.a and libffi.so will be required, arch doesn't ship static libraries with packages so sudo pacman -S libcap won't solve the problem, i solved it by downloading the .tar for both libcap and libffi and followed the instructions from lfs site to compile them and install into the /usr/include path.
    Ps: I'll edit this comment in order to give more updates

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

No branches or pull requests

2 participants