Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Can't compile on freebsd #4

Open
michaeleino opened this issue Dec 30, 2013 · 1 comment
Open

Can't compile on freebsd #4

michaeleino opened this issue Dec 30, 2013 · 1 comment

Comments

@michaeleino
Copy link

Hello,
I can't compile thesource code on ZFSGuru(freebsd 9.2-001),
I have installed the Go lang & can run the hello world test program...
I got this:
GOPATH=pwd/golibs /usr/local/go/bin/go build -o zfswatcher

__/tmp/zfswatcher

osutil_freebsd.go:41: cannot convert unsafe.Pointer(&buf[0]) (type unsafe.Pointer) to type syscall.Timeval
osutil_freebsd.go:41: invalid indirect of syscall.Timeval(unsafe.Pointer(&buf[0])) (type syscall.Timeval)
osutil_freebsd.go:43: not enough arguments in call to time.Unix
*** [zfswatcher] Error code 2

Stop in /tmp/zfswatcher.

Also when I try to type 'go install' I get:
setup.go:25:2: cannot find package "code.google.com/p/gcfg" in any of:
/usr/local/go/src/pkg/code.google.com/p/gcfg (from $GOROOT)
/root/go/src/code.google.com/p/gcfg (from $GOPATH)
webserver.go:26:2: cannot find package "github.com/abbot/go-http-auth" in any of:
/usr/local/go/src/pkg/github.com/abbot/go-http-auth (from $GOROOT)
/root/go/src/github.com/abbot/go-http-auth (from $GOPATH)
leds.go:27:2: cannot find package "github.com/damicon/zfswatcher/notifier" in any of:
/usr/local/go/src/pkg/github.com/damicon/zfswatcher/notifier (from $GOROOT)
/root/go/src/github.com/damicon/zfswatcher/notifier (from $GOPATH)
setup.go:29:2: cannot find package "github.com/ogier/pflag" in any of:

/usr/local/go/src/pkg/github.com/ogier/pflag (from $GOROOT) /root/go/src/github.com/ogier/pflag (from $GOPATH)

please advice.
Thanks a lot,
Michael

@zizih
Copy link

zizih commented Nov 10, 2014

I have the same problem, there is no directory like com.agoogle.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants