Hello OPNsense friends,
for a self written script I require qrencode. I installed the opnsense tools and ports and found:
/usr/ports/graphics/qr-code-generator
but failed to compile it:
sudo make install
===> qr-code-generator-1.6.0 depends on package: gmake>=4.3 - found
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
[-M log] [-D dest] [-h hash] [-T tags]
[-B suffix] [-l linkflags] [-N dbdir]
file1 file2
install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
[-M log] [-D dest] [-h hash] [-T tags]
[-B suffix] [-l linkflags] [-N dbdir]
file1 ... fileN directory
install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
[-M log] [-D dest] [-h hash] [-T tags]
directory ...
*** Error code 64
Stop.
make: stopped in /usr/ports/graphics/qr-code-generator
Before, I compiled and build htop successfully, which was quite easy. So, what is the way to compile/install this? My first attempt was to compile py-qrencode, but it will install a lot of other and therefore unwanted tools! Hence I ^C the build ....
Finally I only want to call
echo "Foo Bar" | qrencode -t ANSIUTF8
to get my QR Code.
libqrencode and install the missing packages via pkg install ... solved it. I could swear htop got the tools by its own build process ...