Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Arti
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jill
Arti
Commits
33e70eec
Commit
33e70eec
authored
3 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
TROUBLESHOOTING.md: More information+links about build process.
Part of #277
parent
695a33c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/TROUBLESHOOTING.md
+28
-1
28 additions, 1 deletion
doc/TROUBLESHOOTING.md
with
28 additions
and
1 deletion
doc/TROUBLESHOOTING.md
+
28
−
1
View file @
33e70eec
# Fixing some common (and not-so-common) problems
Here's an infrequently-asked-questions list about fixing some common (and
not-so-common) issues in your Arti compilation or usage
not-so-common) issues in your Arti compilation or usage.
If you run into a problem that isn't on this list, please let us know on
[
our bugtracker
](
../README.md#reporting-bugs
)
.
## Compilation issues
...
...
@@ -10,6 +13,30 @@ not-so-common) issues in your Arti compilation or usage
Arti uses your system's sqlite3 and TLS libraries. Make sure that you have
development libraries for sqlite3 installed. You might also need to install
the development libraries for OpenSSL, if you aren't on Windows or OSX.
You may also need to install
`pkg-config`
.
#### In more detail...
We use sqlite3 via the
`rusqlite`
crate. Our TLS implementation is the
`native_tls`
crate, which relies on
`security-framework`
(on OSX),
`schannel`
(on Windows), or
`openssl`
(elsewhere).
Both of these crates, by default, access their dependencies via
`pkg-config`
or
`vpkg`
as appropriate. But you can override this
behavior if you run into trouble:
*
You can build
`arti`
or
`arti-client`
with the
`static`
feature, and
the underlying crates will be told to build their own dependencies
from source and link statically.
*
For more information on building
`rusqlite`
in different
environments, see
[
this section of their README
](
https://github.com/rusqlite/rusqlite#notes-on-building-rusqlite-and-libsqlite3-sys
)
.
*
For more information on building the
`openssl`
crate in different
environments, see the
[
"building" section
](
https://docs.rs/openssl/latest/openssl/#building
)
of their documentation.
### I get a weird segfault on startup on Alpine Linux!
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment