GithubHelp home page GithubHelp logo

make install fails on Mac OS X 10.66 about gocode HOT 6 CLOSED

nsf avatar nsf commented on August 20, 2024
make install fails on Mac OS X 10.66

from gocode.

Comments (6)

nsf avatar nsf commented on August 20, 2024
 make clean && make install

This should help

from gocode.

jamra avatar jamra commented on August 20, 2024

make install is outputting errors...different errors so we're getting somewhere.

make install
gomake -C goremote
6g -o go.6 goremote.go
6l -o goremote go.6
./goremote/goremote server.go | gofmt > rpc.go
gomake -C goconfig
6g -o go.6 configfile.go
rm -f _obj/configfile.a
gopack grc _obj/configfile.a go.6
cp goconfig/_obj/configfile.a .
6g -o go.6 gocode.go autocompletefile.go package.go autocompletecontext.go server.go rpc.go decl.go apropos.go scope.go ripper.go config.go declcache.go os_posix.go
gocode.go:288: undefined: os.ProcAttr
gocode.go:289: not enough arguments in call to os.StartProcess
autocompletefile.go:239: lastCursorAfter.List undefined (type ast.CaseClause has no field or method List)
autocompletefile.go:240: lastCursorAfter.List undefined (type *ast.CaseClause has no field or method List)
make: *
* [go.6] Error 1

from gocode.

nsf avatar nsf commented on August 20, 2024

Same problem as here: https://github.com/nsf/gocode/issues#issue/29

from gocode.

jamra avatar jamra commented on August 20, 2024

I am using 6g for a compiler. Typing 6g -V gives me...

6g version release.2011-03-07 7666

from gocode.

nsf avatar nsf commented on August 20, 2024

The latest version is:

[nsf @ src]$ 8g -V
8g version weekly.2011-04-04 7978

Use it, it works. It's a weekly release, you need to do:
hg update -r weekly
instead of
hg update -r release

from gocode.

jamra avatar jamra commented on August 20, 2024

I couldn't figure out how to get update to work so I just removed the go directory and cloned a new copy using -weekly instead of -release

The exact command:
hg clone -r weekly https://go.googlecode.com/hg/ go

Conclusion: I needed the latest copy of the Go compiler. Also, nsf is remarkably helpful. Thank you.

from gocode.

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.