[solved] build qrencode as BSD port

Started by ole, July 16, 2020, 06:27:30 PM

Previous topic - Next topic
July 16, 2020, 06:27:30 PM Last Edit: July 17, 2020, 07:18:42 PM by ole
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 ...