[ZBX-13510] Error of execution "make dbschema" for NetBSD Created: 2018 Feb 20  Updated: 2024 Apr 10  Resolved: 2018 Mar 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 4.0.0alpha3
Fix Version/s: 4.0.0alpha5, 4.0 (plan)

Type: Incident report Priority: Trivial
Reporter: Michael Veksler Assignee: Michael Veksler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

NetBSD 7.11 x64


Issue Links:
Sub-task
part of ZBXNEXT-4391 Get information about svn last-change... Open
Team: Team C
Sprint: Sprint 30
Story Points: 0.25

 Description   

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

Generated at Sat Apr 27 03:13:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.