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

ocurl: needs pkg-config and/or bc #23626

Open
mseri opened this issue Apr 4, 2023 · 1 comment
Open

ocurl: needs pkg-config and/or bc #23626

mseri opened this issue Apr 4, 2023 · 1 comment

Comments

@mseri
Copy link
Member

mseri commented Apr 4, 2023

When pkg-config is not instlled it sometimenps fails with

#=== ERROR while compiling ocurl.0.9.2 ========================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/ocurl.0.9.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure
# exit-code            1
# env-file             ~/.opam/log/ocurl-7-7af241.env
# output-file          ~/.opam/log/ocurl-7-7af241.out
### output ###
# checking for gcc... gcc
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables... 
# checking whether we are cross compiling... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether gcc accepts -g... yes
# checking for gcc option to accept ISO C89... none needed
# checking for libcurl cflags... ./configure: line 2857: pkg-config: command not found
# 
# checking for libcurl libs... ./configure: line 2872: pkg-config: command not found
# -lcurl
# checking for libcurl version >= 7.28.0... ./configure: line 2887: pkg-config: command not found
# ./configure: line 2888: pkg-config: command not found
# /usr/bin/curl-config: 1: /usr/bin/curl-config: bc: not found
# /usr/bin/curl-config: 1: /usr/bin/curl-config: bc: not found
# /usr/bin/curl-config: 113: test: Illegal number: 
# requested version 7.28.0 is newer than existing 7.58.0
# configure: error: libcurl 7.58.0 is too old
@mseri
Copy link
Member Author

mseri commented Apr 4, 2023

This is no longer explicitly a dependency since conf-libcurl.2

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

1 participant