OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • [solved] build qrencode as BSD port
« previous next »
  • Print
Pages: [1]

Author Topic: [solved] build qrencode as BSD port  (Read 2148 times)

ole

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
    • View Profile
[solved] build qrencode as BSD port
« 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.
« Last Edit: July 17, 2020, 07:18:42 pm by ole »
Logged

ole

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 1
    • View Profile
Re: build qrencode as BSD port
« Reply #1 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 ...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • [solved] build qrencode as BSD port
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2