How do I install this package (newbie obviously:)

158 views
Skip to first unread message

Charles Parker

unread,
May 29, 2015, 10:11:58 PM5/29/15
to plotinum...@googlegroups.com
I joined github.
I downloaded the package.
I enter "sudo go get github.com/gonum/plot/" on my Bash command line
And I get the following:

package bitbucket.org/zombiezen/gopdf/pdf: Get https://api.bitbucket.org/1.0/repositories/zombiezen/gopdf: x509: certificate signed by unknown authority

# cd .; hg clone -U https://code.google.com/p/freetype-go /usr/local/go/src/pkg/code.google.com/p/freetype-go

package code.google.com/p/freetype-go/freetype: exec: "hg": executable file not found in $PATH

package code.google.com/p/freetype-go/freetype/raster

imports code.google.com/p/freetype-go/freetype/raster

imports code.google.com/p/freetype-go/freetype/raster: import "code.google.com/p/freetype-go/freetype/raster": cannot find package

package code.google.com/p/freetype-go/freetype/raster

imports code.google.com/p/freetype-go/freetype/truetype

imports code.google.com/p/freetype-go/freetype/truetype

imports code.google.com/p/freetype-go/freetype/truetype: import "code.google.com/p/freetype-go/freetype/truetype": cannot find package


I thought the go get command was supposed to install pre-reqs? BTW: I'm batting almost zero percent installing anything from Github except for building Ruby from source and finally finding an old version of Gedit which actually works on Mac Yosemite. I'm obviously missing some basic concept; I really just want to be able to use publicly available code.

Thanx in advance - Charlie

Dan Kortschak

unread,
May 29, 2015, 10:40:33 PM5/29/15
to Charles Parker, plotinum...@googlegroups.com
It looks like you don't have mercurial installed.

Charles Parker

unread,
May 30, 2015, 1:06:08 AM5/30/15
to plotinum...@googlegroups.com, j83...@gmail.com


On Friday, May 29, 2015 at 10:40:33 PM UTC-4, kortschak wrote:
It looks like you don't have mercurial installed.

By mercurial do you mean: https://mercurial.selenic.com? Their website seems to be down. Why do I need this? Is it required for Github?

Charlie

Dan Kortschak

unread,
May 30, 2015, 2:10:21 AM5/30/15
to Charles Parker, plotinum...@googlegroups.com
That is it. Not for git, but the two packages that are failing are in
mercurial repositories (via code.google.com and bitbucket.org - both
offer mercurial support).

If mercurial.selenic.com is down, you will have to wait until it's up or
if you have a distribution/os package manager use that.
Reply all
Reply to author
Forward
0 new messages