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

Error after running go get #39

Open
martonp opened this issue Apr 7, 2022 · 2 comments
Open

Error after running go get #39

martonp opened this issue Apr 7, 2022 · 2 comments

Comments

@martonp
Copy link

martonp commented Apr 7, 2022

Ran the following command on mac: go get -u -v -x github.com/ipsn/go-libtor

Got the following error:

# github.com/ipsn/go-libtor/libtor
In file included from ../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/libevent_buffer.go:8:
In file included from ../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/compat/../buffer.c:79:
In file included from ../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/include/event2/event.h:204:
../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/include/event2/util.h:129:2: error: "No way to define ev_uint64_t"
#error "No way to define ev_uint64_t"
 ^
../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/include/event2/util.h:148:2: error: "No way to define ev_uint32_t"
#error "No way to define ev_uint32_t"
 ^
../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/include/event2/util.h:167:2: error: "No way to define ev_uint16_t"
#error "No way to define ev_uint16_t"
 ^
../../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/include/event2/util.h:283:2: error: "No way to define SIZE_MAX"
#error "No way to define SIZE_MAX"
 ^
4 errors generated.
@boeboe
Copy link

boeboe commented Dec 2, 2022

Same here. Running on MacBookPro with the M1 arm64 chip.

$ uname -a
Darwin XXX.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64

Update: https://github.com/berty/go-libtor has support for darwin

@wonderingStars
Copy link

i get this error to windows

\GolandProjects\TorServer> go get -u -v -x github.com/ipsn/go-libtor

get https://proxy.golang.org/github.com/@v/list

get https://proxy.golang.org/github.com/ipsn/@v/list

get https://proxy.golang.org/github.com/ipsn/go-libtor/@v/list

get https://proxy.golang.org/github.com/@v/list: 404 Not Found (0.088s)

get https://proxy.golang.org/github.com/ipsn/@v/list: 404 Not Found (0.130s)

get https://proxy.golang.org/github.com/ipsn/go-libtor/@v/list: 200 OK (0.132s)

get https://proxy.golang.org/github.com/cretz/bine/process/@v/list

get https://proxy.golang.org/github.com/cretz/bine/@v/list

get https://proxy.golang.org/github.com/cretz/@v/list

get https://proxy.golang.org/github.com/cretz/bine/process/@v/list: 404 Not Found (0.036s)

get https://proxy.golang.org/github.com/cretz/@v/list: 404 Not Found (0.062s)

get https://proxy.golang.org/github.com/cretz/bine/@v/list: 200 OK (0.065s)

get https://proxy.golang.org/github.com/cretz/bine/torutil/@v/list

get https://proxy.golang.org/github.com/cretz/bine/torutil/@v/list: 404 Not Found (0.036s)

get https://proxy.golang.org/github.com/cretz/bine/torutil/ed25519/@v/list

get https://proxy.golang.org/golang.org/@v/list

get https://proxy.golang.org/golang.org/x/@v/list

get https://proxy.golang.org/golang.org/x/crypto/@v/list

get https://proxy.golang.org/golang.org/x/crypto/sha3/@v/list

get https://proxy.golang.org/github.com/cretz/bine/torutil/ed25519/@v/list: 404 Not Found (0.035s)

get https://proxy.golang.org/github.com/cretz/bine/torutil/ed25519/internal/edwards25519/@v/list

get https://proxy.golang.org/github.com/cretz/bine/torutil/ed25519/internal/@v/list

get https://proxy.golang.org/golang.org/x/crypto/ed25519/@v/list

get https://proxy.golang.org/golang.org/x/crypto/@v/list: 200 OK (0.020s)

get https://proxy.golang.org/golang.org/x/@v/list: 404 Not Found (0.028s)

get https://proxy.golang.org/golang.org/@v/list: 404 Not Found (0.061s)

get https://proxy.golang.org/github.com/cretz/bine/torutil/ed25519/internal/edwards25519/@v/list: 404 Not Found (0.063s)

get https://proxy.golang.org/golang.org/x/crypto/sha3/@v/list: 404 Not Found (0.065s)

get https://proxy.golang.org/golang.org/x/crypto/ed25519/@v/list: 404 Not Found (0.066s)

get https://proxy.golang.org/github.com/cretz/bine/torutil/ed25519/internal/@v/list: 404 Not Found (0.075s)

get https://proxy.golang.org/golang.org/x/sys/cpu/@v/list

get https://proxy.golang.org/golang.org/x/sys/@v/list

get https://proxy.golang.org/golang.org/x/sys/@v/list: 200 OK (0.017s)

get https://proxy.golang.org/golang.org/x/sys/cpu/@v/list: 404 Not Found (0.028s)

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

3 participants