Skip to content

Does not seem to build on Windows #1

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

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