[Bloat] macOS Catalina causes 'hugo serve' to segfault...

Rich Brown richb.hanover at gmail.com
Sat Feb 22 07:39:38 EST 2020


> On Feb 22, 2020, at 7:26 AM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:

...

> In case anyone else wants to build the old version of Hugo, we managed
> to resolve this, and with a recent version of Go, the following command
> should now get you a working 'hugo' binary in your $GOPATH/bin:
> 
> go get github.com/tohojo/hugo
> 
> -Toke

And for posterity (and so I can find it by searching the archives of the list...), here's how I got it building on my macOS Catalina machine:

* Upgrade to latest Go - https://golang.org/dl/ then double-click the .pkg file

* Ensure that there are enough files: see https://medium.com/mindful-technology/too-many-open-files-limit-ulimit-on-mac-os-x-add0f1bfddde

* Use these commands:

export GOPATH=~/github/hugo-from-source
# save source in $GOPATH & build it
go get -v github.com/tohojo/hugo 
cd ~/github/bufferbloat.net
$GOPATH/bin/hugo serve

-Rich



More information about the Bloat mailing list