Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

conf-zmq doesn't install zmq on Windows #27163

Open
Lysxia opened this issue Dec 21, 2024 · 0 comments
Open

conf-zmq doesn't install zmq on Windows #27163

Lysxia opened this issue Dec 21, 2024 · 0 comments

Comments

@Lysxia
Copy link
Contributor

Lysxia commented Dec 21, 2024

Using the standard Github Action for OCaml, for a Windows build of a project depending on zmq, the installation of conf-zmq fails:

#=== ERROR while compiling conf-zmq.0.1 =======================================#
# context     2.3.0 | win32/x86_64 | ocaml-base-compiler.5.2.1 | git+https://github.com/ocaml/opam-repository.git
# path        D:\a\creusot-ide\creusot-ide\_opam\.opam-switch\build\conf-zmq.0.1
# command     D:\cygwin\bin\sh.exe -c cc test.c $(pkg-config --libs --cflags libzmq)
# exit-code   127
# env-file    D:\.opam\log\conf-zmq-6188-b0ca09.env
# output-file D:\.opam\log\conf-zmq-6188-b0ca09.out
### output ###
# Package libzmq was not found in the pkg-config search path.
# Perhaps you should add the directory containing `libzmq.pc'
# to the PKG_CONFIG_PATH environment variable
# Package 'libzmq' not found
# /usr/bin/sh: line 1: cc: command not found

It seems the Windows environment for GHA doesn't match {os = "win32" & os-distribution = "cygwinports"} in conf-zmq's opam config.

["zeromq"] {os = "win32" & os-distribution = "cygwinports"}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant