镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Build for Windows #99

Open
Open

Description

@seyedmmousavi

As I can not find any info in document about supported platform, I tried to build Redisql on Windows 10. But there is an error:

error: failed to run custom build command for `sync_engine v0.6.0 (C:\redis\rediSQL-1.1.2\sync_engine)`

Caused by:
  process didn't exit successfully: `c:\redis\rediSQL-1.1.2\target\release\build\sync_engine-757c825fdc2c0612\build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=src/CDeps
cargo:rerun-if-changed="build.rs"
NUM_JOBS = Some("4")
TARGET = Some("x86_64-pc-windows-msvc")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-pc-windows-msvc")
CC_x86_64-pc-windows-msvc = None
CC_x86_64_pc_windows_msvc = None
HOST_CC = None
CC = None
CFLAGS_x86_64-pc-windows-msvc = None
CFLAGS_x86_64_pc_windows_msvc = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
DEBUG = Some("false")
running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX64\\x64\\cl.exe" "/nologo" "/MD" "/O2" "/I" "src/CDeps" "/W4" "/Foc:\\redis\\rediSQL-1.1.2\\target\\release\\build\\sync_engine-8c3d738bbcd839a3\\out\\src/CDeps/sqlite_dump.o" "/c" "src/CDeps/sqlite_dump.c"
sqlite_dump.c
src/CDeps/sqlite_dump.c(5): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
exit code: 2

--- stderr


error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX64\\x64\\cl.exe" "/nologo" "/MD" "/O2" "/I" "src/CDeps" "/W4" "/Foc:\\redis\\rediSQL-1.1.2\\target\\release\\build\\sync_engine-8c3d738bbcd839a3\\out\\src/CDeps/sqlite_dump.o" "/c" "src/CDeps/sqlite_dump.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

Activity

  1. siscia commented on May 7, 2020

    @siscia
    Member

    RediSQL is a pluign for Redis. So you need redis to actually run it.

    Does redis runs on windows?

  2. seyedmmousavi commented on May 7, 2020

    @seyedmmousavi
    Author

    OMG! it is my mistake... My installed version is a Windows port. Although I can install it through Windows 10 Ubuntu bash. So may be possible to build the Redisql within it. isn't it?

  3. siscia commented on May 8, 2020

    @siscia
    Member

    Hummm I am not an expert, at all, on wls (which is what you use I guess).

    But can you try the release? Maybe it will work out of the box...

  4. siscia commented on May 8, 2020

    @siscia
    Member

    This is the very latest RediSQL.

    https://github.com/RedBeardLab/rediSQL/suites/662812812/artifacts/5857176

    You can try it and let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions