Closed Oclair closed 3 years ago
Thanks @Oclair. The build is failing at Node deps installation, before even getting to the actual JS frontend.
There's also this:
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
@mr-karan maybe you could take a look at this on your FreeBSD instance?
Off the topic, will start cross-compiling and making a FreeBSD release available on GitHub starting with the next version.
@Oclair I think you need to perform these steps in order to configure Python dependency for node-gyp
.
@Oclair I think you need to perform these steps in order to configure Python dependency for
node-gyp
.
Well I tried it, the suggested commands did not work. Seriously, I'd prefer things aren't forced to work in an environment, otherwise I'll need to force updates as well, document how to get it working elsewhere etc...
The releases will now include pre-compiled (Free/Open/Net)BSD binaries. https://github.com/knadh/listmonk/commit/aee1bfd92eee5d7c4e034b630f3eb4a35d877492
v0.8.0-beta comes pre-compiled for BSD flavours.
thanks very much for the freebsd-amd64 binary, it runs. can you also post the construction steps? i'd like to be able to reproduce your binary here.
listmonk uses goreleaser to build the bins for various platforms. make release-dry
will run all the compilation steps and also produce a bin for freebsd-amd64.
To only compile for freebsd, you can edit the build
target in the Makefile https://github.com/knadh/listmonk/blob/master/Makefile#L41, add GOOS=freebsd GOARCH=amd64
and then run make dist
.
Hi there, I attempted to build this from source on FreeBSD 12.1, I am not sure anyone has attempted this yet so I figured I would simply contribute my attempt. If support for FreeBSD is possible I would definitely be glad to give it a spin, I'm not a developer but a long time sysadmin, so I can do some hacking when needed but so far have no experience maintaining a "port". Happy to help with testing tough! Hope to hear back from you, as your project is highly regarded from some freebsd sysadmins!
OC