Closed GliderGeek closed 4 years ago
upgrading to go 1.14.2 does not make a change
https://stackoverflow.com/a/27428046/4629173 this solved it for me(export GOPATH and GOBIN)
This bring me a bit further: renews.arm
is produced. However another error pops up:
$ make install_nyt
go get ./...
env GOOS=linux GOARCH=arm GOARM=5 go build -o renews.arm
ssh-add
make: *** [install_nyt] Error 1
after adding an ssh key (per https://remarkablewiki.com/tech/ssh) i got a step further.
unfortunately another error:
$ make install_nyt
go get ./...
env GOOS=linux GOARCH=arm GOARM=5 go build -o renews.arm
ssh-add
Identity added: ***
ssh root@10.11.99.1 systemctl stop renews
Failed to stop renews.service: Unit renews.service not loaded.
make: *** [install_nyt] Error 5
service is not yet present. thus the first time, that command should not be executed. out-commenting this line in makefile made it work
(only needed for first run)
UPDATE: i created a PR for this: https://github.com/Evidlo/remarkable_news/pull/4
The block with ssh context did not work for me. replaced it with:
ssh root@$(host) systemctl daemon-reload
ssh root@$(host) systemctl enable renews
ssh root@$(host) systemctl restart renews
It now seems to work 🎉 😄 thanks for the nice project, let me know if you need some help debugging some of the problems i described above
The block with ssh context did not work for me. replaced it with:
That's weird. OSX uses either bash or zsh and both of those should support that syntax.
Can you paste the error you got? Be sure to use the latest commit.
Also, if you add SHELL=/bin/bash
to the top of the Makefile, does that fix anything?
will do so
So what's the verdict here? Does the SSH heredoc work on OSX?
@Evidlo I'm on macOS Big Sur and I needed both of @GliderGeek modifications for the install to work.
tried the install as described in the README and got the following error:
will try to fix this and report if i encounter other problems