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

Unable to install #6

Open
Brutus11111 opened this issue Mar 11, 2021 · 6 comments
Open

Unable to install #6

Brutus11111 opened this issue Mar 11, 2021 · 6 comments

Comments

@Brutus11111
Copy link

I'm unable to install it

https://termbin.com/05y9

I'm not sure if this is the right place to mention it though.

sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 |   return pNew;
       |          ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 |   Select standin;
       |          ^~~~~~~

Installing go-sqlite3 manually gives me the same error message

@Dentrax
Copy link
Owner

Dentrax commented Mar 12, 2021

Thanks for your issue. Can please indicate your environment here? (i.e. Go version, OS, etc.)

I'm able to get success build from these commands in my local env. (go version go1.16 darwin/amd64)

$ go get -u github.com/Dentrax/GMDB

I'm not sure but it seems cascadia project does not have a go.sum file. That's why you are getting failing build.

@Brutus11111
Copy link
Author

go version go1.16 linux/amd64
Running on Arch Linux

Tbh, I heard of go before, but never actively used it.

@Brutus11111
Copy link
Author

Ok they closed that without saying anything, but they fixed that.

This is as far as I get now:

https://termbin.com/zr8b

@Dentrax
Copy link
Owner

Dentrax commented Mar 15, 2021

Can you please try to pull it again? @Brutus11111 I did some small changes in our go.mod file. In case if it does not solve your problem, I think we should create an issue at go-sqlite3 project.

@Brutus11111
Copy link
Author

https://termbin.com/o1f6

@Brutus11111
Copy link
Author

Can you please try to pull it again? @Brutus11111 I did some small changes in our go.mod file. In case if it does not solve your problem, I think we should create an issue at go-sqlite3 project.

Any idea?

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

2 participants