Comments (8)
This is resolved in master branch, all dependencies for google code were removed ages ago.
I assume you are building from a release, if so you'll need replace all the dependencies references, we pinned go-uuid to this repo:
"github.com/lonelycode/go-uuid/uuid"
Thanks google code for breaking our backwards compatability :-(
from tyk.
So how do you explain this, master branch up-to-date:
make build/container
GOOS=linux GOARCH=amd64 go build -o build/tyk
../../gocode/src/github.com/lonelycode/osin/tokengen.go:7:2: cannot find package "code.google.com/p/go-uuid/uuid" in any of:
/usr/local/Cellar/go/1.4.2/libexec/src/code.google.com/p/go-uuid/uuid (from $GOROOT)
/Users/xxxxx/gocode/src/code.google.com/p/go-uuid/uuid (from $GOPATH)
analytics.go:8:2: cannot find package "labix.org/v2/mgo" in any of:
/usr/local/Cellar/go/1.4.2/libexec/src/labix.org/v2/mgo (from $GOROOT)
/Users/xxxxx/gocode/src/labix.org/v2/mgo (from $GOPATH)
../../gocode/src/github.com/lonelycode/tykcommon/api_defintitions.go:6:2: cannot find package "labix.org/v2/mgo/bson" in any of:
/usr/local/Cellar/go/1.4.2/libexec/src/labix.org/v2/mgo/bson (from $GOROOT)
/Users/xxxxx/gocode/src/labix.org/v2/mgo/bson (from $GOPATH)
make: *** [build/tyk] Error 1
from tyk.
Dammit, a dependency in a pinned dependency... missed that one. Try it now (you'll need to git update the osin lib)
from tyk.
Ok, did it and now complains on this:
go build runtime: linux/amd64 must be bootstrapped using make.bash
make: *** [build/tyk] Error 1
Note: I'm running this on OSX
from tyk.
The makefile is set up to compile for linux on amd64, if you are running on a different platform you'll need to modify this line:
GOOS=linux GOARCH=amd64 go build -o build/tyk
in the Makefile to be whatever platform you are building for, according to the golang docs you have the following to pick from
$GOOS $GOARCH
darwin 386
darwin amd64
dragonfly 386
dragonfly amd64
freebsd 386
freebsd amd64
freebsd arm
linux 386
linux amd64
linux arm
netbsd 386
netbsd amd64
netbsd arm
openbsd 386
openbsd amd64
plan9 386
plan9 amd64
solaris amd64
windows 386
windows amd64
FYI: The reason this isn't working is because we don't actively support Docker yet, this file was supplied by a third-party, so it's pretty custom to their setup.
from tyk.
Your totally right!! I did it using other way but thanks for that information. :)
I recompiled go for all distributions available: brew reinstall go --cross-compile-all
This way user doesn't need to change the docker file to the OS based version.
Now that I have the server up and running, what's the endpoint for the dashboard and management ? I saw a few endpoints in main but nothing as I was expecting..
from tyk.
haha, wow - that's a bit much, it may just be a case of building for whatever is on the system, I don;t think you need to set those flags per se.
There's quite a lot you are missing i think - the dashboard is a seperate component, that docker file is just for the gateway binary.
Would suggest looking at the docs as there's quite a lot!
https://tyk.io/v1.5/setup/install-dashboard/
Thanks,
Martin
from tyk.
Ok ok! Many thanks for your help! :)
from tyk.
Related Issues (20)
- OAuth2 client_credentials authentication does not seem to be RFC6749 compliant HOT 3
- Rate limit does not get reset when using more than 1 gateway pods in kubernetes HOT 1
- Optimize rate limit using Lua script
- [Q]: Adding more tests and increasing the Code Coverage HOT 4
- Double response from go plugin virtual endpoint HOT 1
- [TT-5070]Wrong HTTP status code when panic happens inside Go plugin HOT 1
- [TT-11223]ERROR: Tyk PUMP not able to connect to Redis Sentinels HOT 1
- Error with middleware in one gateway while other pods are working fine HOT 1
- KV Store config not read in tyk.conf (security.certificates.upstream) HOT 4
- User not authorized when using basic authentication HOT 1
- OAS API: transformRequestMethod.toMethod expects boolean instead of string HOT 1
- Automatic retries when there are specific errors from Upstream
- How to define proxy.listen_path as exact path? HOT 4
- HTTP/2 Continuation Frame Vulnerability
- graphql playground error for federation
- Add HTTP proxy support to MDCB
- Tyk cannot validate client certificates against a certificate authority HOT 2
- Profile Raw Editor cursor placement HOT 2
- Sd
- Sd HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tyk.