Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13510

Error of execution "make dbschema" for NetBSD

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0.0alpha5, 4.0 (plan)
    • 4.0.0alpha3
    • Proxy (P), Server (S)
    • None
    • NetBSD 7.11 x64
    • Sprint 30
    • 0.25

      When we compile zabbix from svn on NetBSD, we get the error:

       make dbschema
      cd database/ibm_db2 &&  make  data.sql &&  make  schema.sql
      `data.sql' is up to date.
      ../../create/bin/gen_schema.pl ibm_db2 > schema.sql
      sh: ../../create/bin/gen_schema.pl: not found
      *** Error code 127
      
      Stop.
      make[1]: stopped in /home/mvekslers/workspace/trunk/database/ibm_db2
      *** Error code 1
      

      The problem connected with default path to 'perl'.
      Possible solution for all perl scripts is first string as:

      #!/usr/bin/env perl
      

            MVekslers Michael Veksler
            MVekslers Michael Veksler
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: