qdeconinck / mp-quic

Please read https://multipath-quic.org/2017/12/09/artifacts-available.html to figure out how to setup the code.
MIT License
173 stars 72 forks source link

Errors installing mp-quic following the Artifacts Available documentation #49

Open deliarico opened 1 month ago

deliarico commented 1 month ago

Hello,

I am following the installation guide provided here ( https://multipath-quic.org/2017/12/09/artifacts-available.html ). However, I am getting some errors. Let me share them step by step:

First, I have go installed in the required 1.9 version:

delia@vm:~$ go version
go version go1.9.2 linux/amd64

Then, I try to get the github repo and I already get some errors. I don't know if I am supposed to have some requirements pre-installed:

delia@vm:~$ go get github.com/lucas-clemente/quic-go
package github.com/onsi/ginkgo/v2/ginkgo: cannot find package "github.com/onsi/ginkgo/v2/ginkgo" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/ginkgo (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/ginkgo (from $GOPATH)
package net/netip: unrecognized import path "net/netip" (import path does not begin with hostname)
package slices: unrecognized import path "slices" (import path does not begin with hostname)
package golang.org/x/sys/cpu: C source files not allowed when not using cgo or SWIG: cpu_gccgo_x86.c
package go.uber.org/mock/mockgen: import "go.uber.org/mock/mockgen" is a program, not an importable package
package golang.org/x/net/ipv4: found packages ipv4 (batch.go) and main (gen.go) in /home/delia/go/src/golang.org/x/net/ipv4
package golang.org/x/net/ipv6: found packages ipv6 (batch.go) and main (gen.go) in /home/delia/go/src/golang.org/x/net/ipv6
package golang.org/x/sys/unix: found packages unix (affinity_linux.go) and main (mkasm.go) in /home/delia/go/src/golang.org/x/sys/unix

But well, I continue and go to branch conext17

delia@vm:~$ cd ~/go/src/github.com/lucas-clemente/quic-go
delia@vm:~/go/src/github.com/lucas-clemente/quic-go$ git remote add mp-quic https://github.com/qdeconinck/mp-quic.git
delia@vm:~/go/src/github.com/lucas-clemente/quic-go$ git fetch mp-quic 
remote: Enumerating objects: 108, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 108 (delta 16), reused 17 (delta 16), pack-reused 88
Receiving objects: 100% (108/108), 142.86 KiB | 1.06 MiB/s, done.
Resolving deltas: 100% (23/23), completed with 14 local objects.
From https://github.com/qdeconinck/mp-quic
 * [new branch]        conext17   -> mp-quic/conext17
 * [new branch]        gh-pages   -> mp-quic/gh-pages
delia@vm:~/go/src/github.com/lucas-clemente/quic-go$ git checkout conext17 
branch 'conext17' set up to track 'mp-quic/conext17'.
Switched to a new branch 'conext17'

And finally, go get cannot finish due to multiple errors.

delia@vm:~/go/src/github.com/lucas-clemente/quic-go$ go get -t -u ./...
package crypto/ecdh: unrecognized import path "crypto/ecdh" (import path does not begin with hostname)
package github.com/hashicorp/golang-lru/v2/simplelru: cannot find package "github.com/hashicorp/golang-lru/v2/simplelru" in any of:
    /usr/local/go/src/github.com/hashicorp/golang-lru/v2/simplelru (from $GOROOT)
    /home/delia/go/src/github.com/hashicorp/golang-lru/v2/simplelru (from $GOPATH)
package github.com/onsi/ginkgo/v2/formatter: cannot find package "github.com/onsi/ginkgo/v2/formatter" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/formatter (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/formatter (from $GOPATH)
package github.com/onsi/ginkgo/v2/internal: cannot find package "github.com/onsi/ginkgo/v2/internal" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/internal (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/internal (from $GOPATH)
package github.com/onsi/ginkgo/v2/internal/global: cannot find package "github.com/onsi/ginkgo/v2/internal/global" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/internal/global (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/internal/global (from $GOPATH)
package github.com/onsi/ginkgo/v2/internal/interrupt_handler: cannot find package "github.com/onsi/ginkgo/v2/internal/interrupt_handler" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/internal/interrupt_handler (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/internal/interrupt_handler (from $GOPATH)
package github.com/onsi/ginkgo/v2/internal/parallel_support: cannot find package "github.com/onsi/ginkgo/v2/internal/parallel_support" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/internal/parallel_support (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/internal/parallel_support (from $GOPATH)
package github.com/onsi/ginkgo/v2/internal/testingtproxy: cannot find package "github.com/onsi/ginkgo/v2/internal/testingtproxy" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/internal/testingtproxy (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/internal/testingtproxy (from $GOPATH)
package github.com/onsi/ginkgo/v2/reporters: cannot find package "github.com/onsi/ginkgo/v2/reporters" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/reporters (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/reporters (from $GOPATH)
package github.com/onsi/ginkgo/v2/types: cannot find package "github.com/onsi/ginkgo/v2/types" in any of:
    /usr/local/go/src/github.com/onsi/ginkgo/v2/types (from $GOROOT)
    /home/delia/go/src/github.com/onsi/ginkgo/v2/types (from $GOPATH)
package golang.org/x/net/html/atom: found packages atom (atom.go) and main (gen.go) in /home/delia/go/src/golang.org/x/net/html/atom
package golang.org/x/text/encoding/internal/identifier: import "golang.org/x/text/encoding/internal/identifier" is a program, not an importable package
package golang.org/x/text/encoding/charmap: found packages charmap (charmap.go) and main (maketables.go) in /home/delia/go/src/golang.org/x/text/encoding/charmap
package golang.org/x/text/encoding/htmlindex: import "golang.org/x/text/encoding/htmlindex" is a program, not an importable package
package golang.org/x/text/unicode/bidi: found packages bidi (bidi.go) and main (gen.go) in /home/delia/go/src/golang.org/x/text/unicode/bidi
package golang.org/x/text/unicode/norm: found packages norm (composition.go) and main (maketables.go) in /home/delia/go/src/golang.org/x/text/unicode/norm
package golang.org/x/net/http2/hpack: found packages hpack (encode.go) and main (gen.go) in /home/delia/go/src/golang.org/x/net/http2/hpack
package io/fs: unrecognized import path "io/fs" (import path does not begin with hostname)

Is this a known issue or I am missing something?

luotianyi521jpg commented 1 week ago

hello,I wonder if you have fixed the problem because I am facing the same problem.Maybe we can talk about it ,my email is 23210240321@m.fudan.edu.cn,hoping you can email me.