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

Installer Fails to Install All Dependencies #5

Open
pbstrein opened this issue Jun 22, 2019 · 1 comment
Open

Installer Fails to Install All Dependencies #5

pbstrein opened this issue Jun 22, 2019 · 1 comment

Comments

@pbstrein
Copy link

Issue

Trustbase won't compile so I can run it on my machine. I believe it is because the installer didn't install the dependencies needed to run trustbase.

Reproduction

I am running on a Fedora 29 machine.

I cloned the repository and tried installing the packages.
After installing, I run make
I get the following errors

  9 [pbstrein@ilab3 trustbase-linux]$ make
 10 gcc -Wall -O3 -fpic -g -c policy-engine/netlink.c -I/usr/include/libnl3 -I/usr/include/python2.7 -o policy-engine/netlink.o
 11 policy-engine/netlink.c:4:10: fatal error: sqlite3.h: No such file or directory
 12  #include <sqlite3.h>
 13           ^~~~~~~~~~~
 14 compilation terminated.
 15 make: *** [Makefile:138: policy-engine/netlink.o] Error 1

Recommended Solution

Turns out the installer.sh wasn't installing the right packages for me because it couldn't find one of the packages. Turns out that if it cannot find one package, it will not install any of them. I need to figure out how to make it go through each package independently. Maybe adding the --skip-broken flag to the command will help.

@xlotusx
Copy link

xlotusx commented Dec 23, 2019

I meet the same question and I delete the .cache.mk in the ssa.and the command make is successful.
And if you losing some head files. can using apt-file to find them.

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

No branches or pull requests

2 participants