OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: ole on July 16, 2020, 06:27:30 pm

Title: [solved] build qrencode as BSD port
Post by: ole on July 16, 2020, 06:27:30 pm
Hello OPNsense friends,

for a self written script I require qrencode. I installed the opnsense tools and ports and found:

Code: [Select]
/usr/ports/graphics/qr-code-generator

but failed to compile it:

Code: [Select]
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

Code: [Select]
echo "Foo Bar" | qrencode -t ANSIUTF8

to get my QR Code.
Title: Re: build qrencode as BSD port
Post by: ole on July 17, 2020, 07:18:25 pm
libqrencode and install the missing packages via pkg install ... solved it. I could swear htop got the tools by its own build process ...