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

Tidb not supported on windows built it? #88

Closed
insionng opened this issue Sep 9, 2015 · 9 comments
Closed

Tidb not supported on windows built it? #88

insionng opened this issue Sep 9, 2015 · 9 comments

Comments

@insionng
Copy link
Contributor

insionng commented Sep 9, 2015

C:\Users\insio>go get github.com/pingcap/tidb

github.com/pingcap/tidb/parser

E:\gopath\src\github.com\pingcap\tidb\parser\yy_parser.go:17: undefined: yyLexer
E:\gopath\src\github.com\pingcap\tidb\parser\yy_parser.go:18: undefined: yyParse

@shenli
Copy link
Member

shenli commented Sep 9, 2015

Thanks for your feedback.
Do you have github.com/qiuyesuifeng/golex and github.com/qiuyesuifeng/goyacc in you GOPATH?

@qiuyesuifeng
Copy link
Member

@insionng
building tidb should use make to generate parser/parser.go and parser/scanner.go which is needed by yy_parser.go.

please refer README, use go get -d github.com/pingcap/tidb then make.
u can try again.

@insionng
Copy link
Contributor Author

Because the windows do not "make" command, I compiled by writing shell.

make.sh/make.bat:


go get github.com/qiuyesuifeng/goyacc
go get github.com/qiuyesuifeng/golex
touch temp.XXXXXX
goyacc -o /dev/null -xegen "temp.XXXXXX" parser/parser.y
goyacc -o parser/parser.go -xe "temp.XXXXXX" parser/parser.y
rm -f "temp.XXXXXX"
rm -f y.output

@unknwon
Copy link
Contributor

unknwon commented Sep 13, 2015

@insionng you can make a PR for make.bat 👏

@insionng
Copy link
Contributor Author

@unknwon Okay~

@unknwon
Copy link
Contributor

unknwon commented Sep 13, 2015

cc @ngaut

@ngaut
Copy link
Member

ngaut commented Sep 13, 2015

Good job, looking forward for your PR

@insionng
Copy link
Contributor Author

@ngaut
Copy link
Member

ngaut commented Sep 16, 2015

Done.

@ngaut ngaut closed this as completed Sep 16, 2015
YuJuncen pushed a commit to YuJuncen/tidb that referenced this issue Apr 23, 2021
…etrics into real Prometheus metrics (pingcap#88)

* *: replace the ad-hoc common.metrics by prometheus

For now we do not distinguish between tables. The 4 old metrics are
replaced by 6 new histograms.

* restore: move the delivery into its own goroutine to parallelize it

This should increase the performance by 30%.

* tests: retain the logs after running

* restore: apply backpressure on KV-Encoding to prevent OOM

* restore: print the duration needed for import + cleanup

* metric, restore: record checksum durations

* restore: limits the size of each Put() message to 31 MB

Prevents the gRPC ResourceExhausted error on caused by importer's
MaxRecvSize.

* restore: don't print time taken when import failed

* restore: fix missing error check
YuJuncen pushed a commit to YuJuncen/tidb that referenced this issue Apr 23, 2021
* *: extract storage package, and update kvproto

* go.mod: point to the actual master version

* storage: changed BackendOptions to a unified structure

* go.mod,stroage: update kvproto, remove incompatible storage option check

* cmd: fix go fmt and lint

* storage: recognize s3.region to fix lint
okJiang pushed a commit to okJiang/tidb that referenced this issue Oct 19, 2021
mittalrishabh pushed a commit to mittalrishabh/tidb that referenced this issue May 30, 2024
… error (pingcap#52607) (pingcap#52969) (pingcap#88)

close pingcap#52846

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
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

5 participants