Skip to content

Can't compile sixel-sys on windows or macOS (works fine in linux) #1

@mmulet

Description

@mmulet

On Windows: I get this error:

rror: failed to run custom build command for `sixel-sys v0.3.1`

Caused by:
  process didn't exit successfully: `V:\Documents\viuertest\sixel-sys-test\target\debug\build\sixel-sys-f5b3ec906222e763\build-script-build` (exit code: 101)
  --- stdout
  cargo:rustc-link-lib=dylib=sixel
  cargo:rustc-link-search=native=V:\Documents\viuertest\sixel-sys-test\target\debug\build\sixel-sys-060e93a697b4af5b\out\lib

  --- stderr
  thread 'main' panicked at 'Failed to execute ./configure: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\micha\.cargo\registry\src\github.tiyicn.workers.dev-1ecc6299db9ec823\sixel-sys-0.3.1\build.rs:71:22

On macOS I get this:

--- stderr
thread 'main' panicked at 'Failed to execute ./configure: OS {code: 2, kind: NotFound, message: "No such file or directory" }', /users/michaelmulet/.cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/sixel-sys-0.3.1/build.rs:71:22
configure: WARNING: unrecognized options: --without-python
configure : WARNING: unrecognized options: --without-python

If I try to build with RUST_BACKTRACE=1, then it says the error is at

build_script_build::main
at ./build.rs:71:9

Tracing it backwards, that just tells us that configure failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions