安装用于Go的Plotinum

安装用于Go的Plotinum,plot,go,Plot,Go,我访问了项目站点,以便在Go中生成绘图,但我无法在Ubuntu12.04 LTS上安装该软件。我能够顺利安装svgo和draw2d,但plot、plotter和plotutil出现如下错误: connor@vader:~$ go get code.google.com/p/plotinum/plot panic: crypto: requested hash function is unavailable goroutine 1 [running]: crypto.Hash.New(0x7d1

我访问了项目站点,以便在Go中生成绘图,但我无法在Ubuntu12.04 LTS上安装该软件。我能够顺利安装svgo和draw2d,但plot、plotter和plotutil出现如下错误:

connor@vader:~$ go get code.google.com/p/plotinum/plot
panic: crypto: requested hash function is unavailable

goroutine 1 [running]:
crypto.Hash.New(0x7d1090ea00000005, 0x439916, 0x7f693900be47, 0x10)
/usr/lib/go/src/pkg/crypto/crypto.go:62 +0x95
crypto/x509.(*Certificate).CheckSignature(0xf8400868c0, 0x7f6900000004, 0xf84020300e, 0xa1b0000044f, 0xf840203471, ...)
    /usr/lib/go/src/pkg/crypto/x509/x509.go:391 +0x68
crypto/x509.(*Certificate).CheckSignatureFrom(0xf840086600, 0xf8400868c0, 0x0, 0x0, 0xf8401120b0, ...)
    /usr/lib/go/src/pkg/crypto/x509/x509.go:370 +0x15a
crypto/x509.(*CertPool).findVerifiedParents(0xf840130fe0, 0xf840086600, 0x0, 0x0, 0x7f6939009100, ...)
    /usr/lib/go/src/pkg/crypto/x509/cert_pool.go:44 +0x17d
----- stack segment boundary -----
crypto/x509.(*Certificate).buildChains(0xf840086600, 0xf840135480, 0x7f6939009208, 0x100000001, 0x7f6939009220, ...)
    /usr/lib/go/src/pkg/crypto/x509/verify.go:198 +0x1c0
crypto/x509.(*Certificate).Verify(0xf840086600, 0x0, 0x0, 0xf840130fe0, 0xf84022c060, ...)
    /usr/lib/go/src/pkg/crypto/x509/verify.go:177 +0x1c1
crypto/tls.(*Conn).clientHandshake(0xf8400ad480, 0x0, 0x0, 0x0)
    /usr/lib/go/src/pkg/crypto/tls/handshake_client.go:117 +0xfab
crypto/tls.(*Conn).Handshake(0xf8400ad480, 0x0, 0x0, 0xf8400ad480)
    /usr/lib/go/src/pkg/crypto/tls/conn.go:808 +0xdc
net/http.(*Transport).getConn(0xf8400bd3c0, 0xf8401836f0, 0xf8401836f0, 0x0, 0x0, ...)
    /usr/lib/go/src/pkg/net/http/transport.go:369 +0x4aa
net/http.(*Transport).RoundTrip(0xf8400bd3c0, 0xf8400b2480, 0x3a, 0x0, 0x0, ...)
    /usr/lib/go/src/pkg/net/http/transport.go:155 +0x2ba
net/http.send(0xf8400b2480, 0xf840082c90, 0xf8400bd3c0, 0x0, 0x0, ...)
    /usr/lib/go/src/pkg/net/http/client.go:133 +0x3ca
net/http.(*Client).doFollowingRedirects(0x862930, 0xf8400b2480, 0x0, 0x0, 0x0, ...)
    /usr/lib/go/src/pkg/net/http/client.go:227 +0x5e2
net/http.(*Client).Get(0x862930, 0xf840129680, 0x3a, 0x8, 0x0, ...)
    /usr/lib/go/src/pkg/net/http/client.go:176 +0xb8
net/http.Get(0xf840129680, 0x3a, 0x3, 0x0, 0x0, ...)
    /usr/lib/go/src/pkg/net/http/client.go:158 +0x51
----- stack segment boundary -----
main.httpGET(0xf840129680, 0xf80000003a, 0x0, 0x0, 0x0, ...)
    /usr/lib/go/src/cmd/go/http.go:25 +0x77
main.bitbucketVCS(0xf840172540, 0xf840172540, 0x6dafd4, 0x6f70657200000004)
    /usr/lib/go/src/cmd/go/vcs.go:641 +0xce
main.repoRootForImportPathStatic(0xf840103e11, 0x3a00000021, 0x6c6c5c, 0x0, 0xd0000003a, ...)
    /usr/lib/go/src/cmd/go/vcs.go:388 +0x76b
main.repoRootForImportPath(0xf840103e11, 0x21, 0x4464ea, 0xf84016a0e0, 0xf840127a00, ...)
    /usr/lib/go/src/cmd/go/vcs.go:323 +0x4e
main.downloadPackage(0xf840209400, 0xf8400c56a0, 0xf840103e11, 0xf800000021)
    /usr/lib/go/src/cmd/go/get.go:246 +0x10be
main.download(0xf840103e11, 0x21, 0xf8400e24e0, 0xf80000001f, 0x449001, ...)
    /usr/lib/go/src/cmd/go/get.go:165 +0x763
main.download(0xf8400e1d00, 0x10000001f, 0xf8400e24e0, 0x100000001, 0x100000000, ...)
    /usr/lib/go/src/cmd/go/get.go:223 +0x5ea
main.runGet(0x85d448, 0xf840084aa0, 0x100000001, 0x0)
    /usr/lib/go/src/cmd/go/get.go:72 +0xc1
main.main()
    /usr/lib/go/src/cmd/go/main.go:141 +0x426

goroutine 2 [syscall]:
created by runtime.main
    /build/buildd/golang-1/src/pkg/runtime/proc.c:221

goroutine 3 [syscall]:
syscall.Syscall6()
    /build/buildd/golang-1/src/pkg/syscall/asm_linux_amd64.s:40 +0x5
syscall.EpollWait(0xf800000006, 0xf8400dd6f0, 0xa0000000a, 0xffffffff, 0xc, ...)
    /usr/lib/go/src/pkg/syscall/zerrors_linux_amd64.go:1781 +0xa1
net.(*pollster).WaitFD(0xf8400dd6e0, 0xf840129700, 0x0, 0x0, 0x0, ...)
    /usr/lib/go/src/pkg/net/fd_linux.go:146 +0x110
net.(*pollServer).Run(0xf840129700, 0x0)
    /usr/lib/go/src/pkg/net/fd.go:236 +0xe4
created by net.newPollServer
    /usr/lib/go/src/pkg/net/newpollserver.go:35 +0x382
编辑

go版本的输出是

我从go env的输出是

谢谢

例如

$ go version
go version devel +70af843fed44 Sat Apr 19 09:55:09 2014 +0200 linux/amd64

$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/peter/gopath
GORACE=""
GOROOT="/home/peter/go"
GOTOOLDIR="/home/peter/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

$ uname -a
Linux Peter 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ go get -v code.google.com/p/plotinum/...
code.google.com/p/plotinum (download)
bitbucket.org/zombiezen/gopdf (download)
code.google.com/p/draw2d (download)
code.google.com/p/freetype-go (download)
code.google.com/p/go.image (download)
github.com/ajstarks/svgo (download)
code.google.com/p/freetype-go/freetype/raster
code.google.com/p/freetype-go/freetype/truetype
code.google.com/p/go.image/tiff
bitbucket.org/zombiezen/gopdf/pdf
github.com/ajstarks/svgo
code.google.com/p/freetype-go/freetype
code.google.com/p/draw2d/draw2d
code.google.com/p/plotinum/vg
code.google.com/p/plotinum/vg/vgeps
code.google.com/p/plotinum/vg/vgpdf
code.google.com/p/plotinum/vg/vgsvg
code.google.com/p/plotinum/vg/vgimg
code.google.com/p/plotinum/plot
code.google.com/p/plotinum/plotter
code.google.com/p/plotinum/plotutil
$ 

go版本和go env的输出是什么?

拍摄,我希望我昨晚看到这个。我到家后再查,谢谢!
$ go env
GOROOT="/usr/lib/go"
GOBIN=""
GOARCH="amd64"
GOCHAR="6"
GOOS="linux"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
CGO_ENABLED="1"

$ uname -a
Linux vader 3.11.0-18-generic #32~precise1-Ubuntu SMP Thu Feb 20 17:52:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ go version
go version devel +70af843fed44 Sat Apr 19 09:55:09 2014 +0200 linux/amd64

$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/peter/gopath
GORACE=""
GOROOT="/home/peter/go"
GOTOOLDIR="/home/peter/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

$ uname -a
Linux Peter 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ go get -v code.google.com/p/plotinum/...
code.google.com/p/plotinum (download)
bitbucket.org/zombiezen/gopdf (download)
code.google.com/p/draw2d (download)
code.google.com/p/freetype-go (download)
code.google.com/p/go.image (download)
github.com/ajstarks/svgo (download)
code.google.com/p/freetype-go/freetype/raster
code.google.com/p/freetype-go/freetype/truetype
code.google.com/p/go.image/tiff
bitbucket.org/zombiezen/gopdf/pdf
github.com/ajstarks/svgo
code.google.com/p/freetype-go/freetype
code.google.com/p/draw2d/draw2d
code.google.com/p/plotinum/vg
code.google.com/p/plotinum/vg/vgeps
code.google.com/p/plotinum/vg/vgpdf
code.google.com/p/plotinum/vg/vgsvg
code.google.com/p/plotinum/vg/vgimg
code.google.com/p/plotinum/plot
code.google.com/p/plotinum/plotter
code.google.com/p/plotinum/plotutil
$