Skip to content

Commit 2f1f67c

Browse files
committed
Add pkg-config system dependency (PR #499)
json-data-encoding indirectly depends on it and the Docker builds have been failing ever since.
1 parent af1c072 commit 2f1f67c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY --chown=opam Makefile make.sh goblint.opam goblint.opam.locked /home/opam/a
88
WORKDIR /home/opam/analyzer/
99
# TODO: use opam depext
1010
RUN sudo apt-get update \
11-
&& sudo apt-get install -y libgmp-dev libmpfr-dev
11+
&& sudo apt-get install -y libgmp-dev libmpfr-dev pkg-config
1212
# update local opam repository because base image may be outdated
1313
RUN cd /home/opam/opam-repository \
1414
&& git pull origin master \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Both for using an up-to-date version of Goblint or developing it, the best way i
1212

1313
### Linux
1414
1. Install [opam](https://opam.ocaml.org/doc/Install.html).
15-
2. Make sure the following are installed: `git patch m4 autoconf libgmp-dev libmpfr-dev`.
15+
2. Make sure the following are installed: `git patch m4 autoconf libgmp-dev libmpfr-dev pkg-config`.
1616
3. Run `make setup` to install OCaml and dependencies via opam.
1717
4. Run `make` to build Goblint itself.
1818
5. Run `make install` to install Goblint into the opam switch for usage via switch's `PATH`.

make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ rule() {
7272
opam upgrade -y $(opam list --pinned -s)
7373
}
7474
;; setup)
75-
echo "Make sure you have the following installed: opam >= 2.0.0, git, patch, m4, autoconf, libgmp-dev, libmpfr-dev"
75+
echo "Make sure you have the following installed: opam >= 2.0.0, git, patch, m4, autoconf, libgmp-dev, libmpfr-dev, pkg-config"
7676
echo "For the --html output you also need: javac, ant, dot (graphviz)"
7777
echo "For running the regression tests you also need: ruby, gem, curl"
7878
echo "For reference see ./Dockerfile or ./scripts/travis-ci.sh"

0 commit comments

Comments
 (0)