View Full Version : sco openserver 5: make errors
sstovall
22-02-2005, 18:22
I am having trouble running "make" on SCO openserver 5. I don't know c code, so the problem isn't apparent to me. Here is what is happening. After I run make. I get the following errors:
apw003_root>make
Making all in src/zabbix_agent
line 5: Syntax error.
*** Error code 1 (bu21)apw003_root: not found
Any help with this problem will be greatly appreciated. Thank you.
You must use GNU Make, not standard 'make' coming with SCO/HP-UX/AIX/etc.
sstovall
22-02-2005, 22:00
Alexei,
I am using the lastest version of gnu make, version 3.80.
What else may it be?
Hmm, maybe I misinterpreted output of the make. May I ask you run make -v? Thanks.
sstovall
22-02-2005, 22:23
The output of the make -v command only displays usage:
Usage: make [-f makefile] [-bBeinpPqrstuw]
There was a typo in my original posting. After typing make from the zabbix-1.0
directory, I received the following error output:
Making al in src/zabbix_agent
line 5: Syntax error.
*** Error code 1 (bu21)
Sorry for the confusion.
As I said, you're not running GNU Make! It seems that you have both make binaries installed (native and GNU), and you start the native make. Specify full path to GNU make...
On my system:
zabbix@ubuntu:~ $ make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
sstovall
22-02-2005, 23:13
You are right. The native make is being run before gnu make. After specifying the complete path to the gnu make binary. Zabbix compiled with no errors.Thank you for your help.
Can you please send me that compiled binary?
Thanks