Ad Widget

Collapse

sco openserver 5: make errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sstovall
    Junior Member
    • Feb 2005
    • 4

    #1

    sco openserver 5: make errors

    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.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    You must use GNU Make, not standard 'make' coming with SCO/HP-UX/AIX/etc.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • sstovall
      Junior Member
      • Feb 2005
      • 4

      #3
      Alexei,

      I am using the lastest version of gnu make, version 3.80.
      What else may it be?

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Hmm, maybe I misinterpreted output of the make. May I ask you run make -v? Thanks.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • sstovall
          Junior Member
          • Feb 2005
          • 4

          #5
          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.

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            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.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • sstovall
              Junior Member
              • Feb 2005
              • 4

              #7
              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.

              Comment

              • Gomex
                Junior Member
                Zabbix Certified Specialist
                • Apr 2009
                • 11

                #8
                Can you please send me that compiled binary?

                Thanks

                Comment

                Working...