Post APX94LIbcb9SwabfX6 by krom@fosstodon.org
 (DIR) More posts by krom@fosstodon.org
 (DIR) Post #APX7RBMIXvOOrm63W4 by selea@social.linux.pizza
       2022-11-12T16:34:00Z
       
       1 likes, 0 repeats
       
       So, #golang people.I downloaded the sources for GoToSocial (https://github.com/superseriousbusiness/gotosocial).I tried running "go build" and was meet with:can't load package: package .: no buildable Go source files in /root/gotosocialWhat am I missing here?I wanted to try building it on a :illumos: based distro (not Linux).Thanks for helping out a newbie
       
 (DIR) Post #APX7uRw9zFvSgIpJGC by angristan@mstdn.io
       2022-11-12T16:39:13Z
       
       0 likes, 0 repeats
       
       @selea what's your go version?
       
 (DIR) Post #APX80DeU0mVG79JFPU by selea@social.linux.pizza
       2022-11-12T16:40:21Z
       
       0 likes, 0 repeats
       
       @angristan 1.8 - it was native in Illumos, but I problably have to upgrade.Can't find anything in the GoToSocial docs that tells me what version is needed thou.
       
 (DIR) Post #APX89o2S62cXZV5mEq by martijn@ieji.de
       2022-11-12T16:41:59Z
       
       0 likes, 0 repeats
       
       @seleaHave you tried asking on matrix in the help channel? https://matrix.to/#/!mlPctfMHjyopbOnliM:superseriousbusiness.org?via=nltrix.net&via=matrix.org&via=superseriousbusiness.org
       
 (DIR) Post #APX8DCy9rRYflHhpL6 by selea@social.linux.pizza
       2022-11-12T16:42:39Z
       
       0 likes, 0 repeats
       
       @martijn Oh I will, thanks
       
 (DIR) Post #APX8XKFIW7DK7YJcgK by mxfraud@tabletop.social
       2022-11-12T16:46:15Z
       
       0 likes, 0 repeats
       
       @selea tagging #GoToSocialDev or #GoToSocial might help :)
       
 (DIR) Post #APX8tnkfUl0I0EhqTY by angristan@mstdn.io
       2022-11-12T16:50:20Z
       
       0 likes, 0 repeats
       
       @selea Oh, you actually need to run go build ./cmd/gotosocial instead, that where the go code is
       
 (DIR) Post #APX8w44LnXvvBozXai by angristan@mstdn.io
       2022-11-12T16:50:45Z
       
       0 likes, 0 repeats
       
       @selea and recommended go version is here https://github.com/superseriousbusiness/gotosocial/blob/main/go.mod#L3
       
 (DIR) Post #APX8xjrVtlSZ67ml1M by angristan@mstdn.io
       2022-11-12T16:50:52Z
       
       0 likes, 0 repeats
       
       @selea that's* where
       
 (DIR) Post #APX92f8Ou3C3sp23Bg by angristan@mstdn.io
       2022-11-12T16:51:51Z
       
       0 likes, 0 repeats
       
       @selea and build script is here https://github.com/superseriousbusiness/gotosocial/blob/main/scripts/build.sh
       
 (DIR) Post #APX94LIbcb9SwabfX6 by krom@fosstodon.org
       2022-11-12T16:51:42Z
       
       0 likes, 0 repeats
       
       @angristan @selea yes. There are no .go files to build with go build in repository root
       
 (DIR) Post #APXAoIFVOSXEl9dCQC by lil5@fosstodon.org
       2022-11-12T17:11:44Z
       
       0 likes, 0 repeats
       
       @selea Might need to run go build cmd/gotosocial/main.go
       
 (DIR) Post #APXAu1x2tvIXwzjU4e by nikolawannabe@social.linux.pizza
       2022-11-12T17:12:43Z
       
       0 likes, 0 repeats
       
       @selea there is a build.sh file in the scripts folder you should use.
       
 (DIR) Post #APXB71qsa9HDPH2wMa by selea@social.linux.pizza
       2022-11-12T17:15:11Z
       
       0 likes, 0 repeats
       
       @nikolawannabe @lil5 @angristan @krom I really think that I need to compile Go 1.19 first, but it seems that I need go in order to compile the 1.19 go compiler on Illumos.I have to dig a little bit.
       
 (DIR) Post #APXUJRie8GvOEipWN6 by lil5@fosstodon.org
       2022-11-12T20:50:11Z
       
       0 likes, 0 repeats
       
       @selea @nikolawannabe @angristan @krom Compile go?,.. why if you can download and install pre compiled go from  https://go.dev/doc/installDont let me stop you, i just never heard someone actually interested in compiling a language just to use it.
       
 (DIR) Post #APXUy0flaxzSE5pEYK by selea@social.linux.pizza
       2022-11-12T20:57:41Z
       
       0 likes, 0 repeats
       
       @lil5 @nikolawannabe @angristan @krom There is no Illumos binary...
       
 (DIR) Post #APXVSZTYlLCYqzgk7M by krom@fosstodon.org
       2022-11-12T21:03:07Z
       
       0 likes, 0 repeats
       
       @selea @lil5 @nikolawannabe @angristan go 1.4 and before has been written in C. Later it became selfhosted. Yet it's still possible to bootstrap using go1. 4.
       
 (DIR) Post #APXVkPbcCKoLSFxnE0 by selea@social.linux.pizza
       2022-11-12T21:06:23Z
       
       0 likes, 0 repeats
       
       @krom @lil5 @nikolawannabe @angristan Not 1.19, it needs 1.17 to even bootstrap
       
 (DIR) Post #APXVrKEOZw8qoTOo5o by selea@social.linux.pizza
       2022-11-12T21:07:39Z
       
       0 likes, 0 repeats
       
       @krom @lil5 @nikolawannabe @angristan I have 1.8, so I just need to take a couple of hours to do it. :)