Giter Site home page Giter Site logo

Comments (3)

dmitshur avatar dmitshur commented on June 17, 2024

I can reproduce with go version go1.5 darwin/amd64:

~ $ export GOPATH=/tmp/empty_fresh_workspace
~ $ go get -u github.com/google/gxui/...
package github.com/google/gxui/drivers/gl
    imports code.google.com/p/freetype-go/freetype/raster: unable to detect version control system for code.google.com/ path
package github.com/google/gxui/drivers/gl
    imports code.google.com/p/freetype-go/freetype/truetype: unable to detect version control system for code.google.com/ path
~ $ echo $?
1
~ $ ls $GOPATH/src
github.com  golang.org
~ $ 

code.google.com is being sunset before its upcoming shutdown, and this seems to be related. That repo has moved to https://github.com/golang/freetype so code.google.com redirects, and that prevents go get from working.

The fix is for gxui to update to use the new github.com/golang/freetype import path.

from gxui.

dmitshur avatar dmitshur commented on June 17, 2024

@7belrhalmia, as a temporary workaround until gxui import paths are updated so it's go-gettable again, you can manually hg clone the code.google.com repository:

$ mkdir -p $GOPATH/src/code.google.com/p
$ cd $GOPATH/src/code.google.com/p
$ hg clone https://code.google.com/p/freetype-go
...
destination directory: freetype-go
requesting all changes
adding changesets
adding manifests
adding file changes
added 129 changesets with 385 changes to 52 files
updating to branch default
38 files updated, 0 files merged, 0 files removed, 0 files unresolved

That will then allow go install github.com/google/gxui/... to succeed.

from gxui.

dmitshur avatar dmitshur commented on June 17, 2024

See #150 (comment).

from gxui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.