Visitar URL original
Does not seem to build on Windows · Issue #1 · leonklingele/securetemp · GitHub
Skip to content

Does not seem to build on Windows #1

Open

Description

@lonnietc

Hello,

I wanted to test out Securetemp on Windows and it does not seem to build.

C:\goprojects\src\securetemp>go get -u github.com/leonklingele/securetemp
# github.com/leonklingele/securetemp
..\..\pkg\mod\github.com\leonklingele\securetemp@v2.0.1+incompatible\securetemp_unix.go:35:5: undefined: unix.Access
..\..\pkg\mod\github.com\leonklingele\securetemp@v2.0.1+incompatible\securetemp_unix.go:35:29: undefined: unix.W_OK
..\..\pkg\mod\github.com\leonklingele\securetemp@v2.0.1+incompatible\securetemp_unix.go:35:50: undefined: unix.Access
..\..\pkg\mod\github.com\leonklingele\securetemp@v2.0.1+incompatible\securetemp_unix.go:35:74: undefined: unix.X_OK
..\..\pkg\mod\github.com\leonklingele\securetemp@v2.0.1+incompatible\securetemp_windows.go:7:6: createRAMDisk redeclared in this block
        previous declaration at ..\..\pkg\mod\github.com\leonklingele\securetemp@v2.0.1+incompatible\securetemp_unix.go:21:52

Then

C:\goprojects\src\securetemp>go build cmd\securetemp\main.go
cmd\securetemp\main.go:10:2: no required module provides package github.com/leonklingele/securetemp: working directory is not part of a module

Using

C:\goprojects\src\securetemp>go version
go version go1.16 windows/amd64

Any ideas?

Activity

  1. leonklingele commented on May 18, 2022

    @leonklingele
    Owner

    Hey @lonnietc, securetemp does not run on Windows as I was and am still lacking a proper Windows VM for development.
    If you find the time, feel free to get it running yourself — take a look at the securetemp_windows.go file and see the other securetemp_*.go files as a reference.

  2. lonnietc commented on May 18, 2022

    @lonnietc
    Author

    Hello @leonklingele

    Thanks for getting back to me so quickly on this.

    I am actually looking for a reasonable cross platform solution but Windows is not critical at the moment.

    What I would like to do is to have something like SecureTemp to provide a good RAM disk and then copy a ZIP file into that space that I would mount into the application.

    Effectively the zip file would be serving the files but from a ram disk on a Ubuntu 20.04 system for the first basic work.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions