zorun/kea-hook-runscript

g++ not found on all `nix systems

Closed this issue · 4 comments

In trying to compile under FreeBSD 11.1, the gnu toolchain is not installed and g++ as a compiler invocation fails. c++ should work on most current `nix, especially those that use an "alternatives" approach.

Holding off on a patch, as it's trivial and I'm working through other make issues.

zorun commented

Cool, thanks for looking into it! I'm not against switching to autotools, it's just that I don't want to spend time on it. Feel free to send a patch if you know how these things work.

No problem. I think that staying away from autotools when possible keeps everyone sane! In this case, it should be just changing g++ to c++ the couple places it occurs. Major thanks for writing this! Once I get it to compile under FreeBSD, I'll upload a clean set of patches.

zorun commented

Hi @jeffsf , any news on this issue?

zorun commented

Fixed in 687fbe2 . Please open a new issue if you encounter further issues building this on FreeBSD.