GMDB icon indicating copy to clipboard operation
GMDB copied to clipboard

Unable to install

Open Brutus11111 opened this issue 3 years ago • 6 comments

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

Brutus11111 avatar Mar 11 '21 19:03 Brutus11111

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.

Dentrax avatar Mar 12 '21 11:03 Dentrax

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

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

Brutus11111 avatar Mar 12 '21 12:03 Brutus11111

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

This is as far as I get now:

https://termbin.com/zr8b

Brutus11111 avatar Mar 15 '21 10:03 Brutus11111

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.

Dentrax avatar Mar 15 '21 13:03 Dentrax

https://termbin.com/o1f6

Brutus11111 avatar Mar 15 '21 15:03 Brutus11111

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?

Brutus11111 avatar Mar 29 '21 09:03 Brutus11111