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

installation by go install does not work #1359

Open
Syuparn opened this issue Oct 30, 2022 · 1 comment
Open

installation by go install does not work #1359

Syuparn opened this issue Oct 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Syuparn
Copy link
Contributor

Syuparn commented Oct 30, 2022

I tried to get a binary of this module via go install.
Currently, installation in Readme does not work for the latest version.

https://github.com/dolthub/go-mysql-server#installation

$ go version
go version go1.19.1 linux/amd64
$ go install github.com/dolthub/go-mysql-server@latest
go: github.com/dolthub/go-mysql-server@latest (in github.com/dolthub/[email protected]):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

I have two questions about this.

1. Does this repository have a executable package?

go install github.com/dolthub/go-mysql-server installs and compiles the specified package as an executable.
I also cloned this repository and run go build in the root directory, but no executables are generated.
If the executable package is located in a different place, we should replace the go install argument with it.
(I have not found the place yet)

2. If not, are there any plans to create an executable package?

If there are no executables or CLIs for now but plans to create them, I am willing to contribute that.

@zachmu
Copy link
Member

zachmu commented Oct 31, 2022

Hi @Syuparn,

There aren't specific plans to create an executable main package, but we would certainly take a contribution that does this to start a local server with the in-memory database implementation.

@zachmu zachmu added the enhancement New feature or request label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants