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 compiling Kodex from source code #10

Open
DinisTrigo opened this issue Sep 19, 2023 · 0 comments
Open

Error compiling Kodex from source code #10

DinisTrigo opened this issue Sep 19, 2023 · 0 comments

Comments

@DinisTrigo
Copy link

DinisTrigo commented Sep 19, 2023

When running make command I get the following error:

package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/cluster.go:17:2: use of internal package github.com/redis/go-redis/internal not allowed
package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/cluster.go:18:2: use of internal package github.com/redis/go-redis/internal/hashtag not allowed
package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/command.go:12:2: use of internal package github.com/redis/go-redis/internal/hscan not allowed
package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/cluster.go:19:2: use of internal package github.com/redis/go-redis/internal/pool not allowed
package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/cluster.go:20:2: use of internal package github.com/redis/go-redis/internal/proto not allowed
package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/cluster.go:21:2: use of internal package github.com/redis/go-redis/internal/rand not allowed
package ./api/definitions
        imports github.com/kiprotect/kodex/definitions
        imports github.com/kiprotect/kodex/cmd
        imports github.com/kiprotect/kodex/cmd/api
        imports github.com/kiprotect/kodex/api/helpers/controller
        imports github.com/kiprotect/kodex/helpers
        imports github.com/kiprotect/kodex/metering
        imports github.com/go-redis/redis
        ../../go/src/github.com/go-redis/redis/command.go:14:2: use of internal package github.com/redis/go-redis/internal/util not allowed
make: *** [Makefile:20: dep] Error 1

When running make install, I get the same error.

How can I solve this problem to be able to compile kodex?

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

1 participant