Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install deps? #198

Closed
jaynagpaul opened this issue Jun 1, 2017 · 2 comments
Closed

How to install deps? #198

jaynagpaul opened this issue Jun 1, 2017 · 2 comments

Comments

@jaynagpaul
Copy link

I'm trying to run ./examples/http-proxy, but it seems like gx-go hasn't rewrote the package paths.
I have run in the go-libp2p folder:
make deps
make
gx-go rewrite
Yet all imports are still of the form gx/impfs/HASH/PACKAGE_NAME

@daviddias
Copy link
Member

Hi @jaynagpaul, the steps to run it are:

# from the go-libp2p folder
> make gx        # to install gx
> make deps    # to rewrite all of the imports to use gx
> go build ./examples/http-proxy
> ./http-proxy

I just run through this and worked, wanna try again?

@victorb
Copy link
Member

victorb commented Aug 24, 2017

@jaynagpaul if you want to use the normal go imports instead of gx, you should use the command gx-go uw (for unwrite) and you'll end up with normal imports.

It's advisable to use gx though, as you can be sure you're getting the right version of libraries that way.

marten-seemann added a commit that referenced this issue Apr 22, 2022
@MarcoPolo MarcoPolo mentioned this issue Jul 7, 2022
41 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants