make install installs zabbix_agentd even when configured not to

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 5.2.0alpha1
    • Component/s: Installation (I)
    • None
    • Environment:
      Ubuntu 18.04

      Steps to reproduce:

      1. Get sources from master
      2. Run configure and make install

      $ ./bootstrap.sh
      $ ./configure --disable-server --disable-agent --disable-proxy --disable-java --enable-agent2 --prefix=/home/aleksandrs/devel/run/playground
      
      ...
      Configuration:
      
        Detected OS:           linux-gnu
        Install path:          /home/aleksandrs/devel/run/playground
        Compilation arch:      linux
      
        Compiler:              cc
        Compiler flags:         -g -O2
      
        Library-specific flags:
      
        Enable server:         no
      
        Enable proxy:          no
      
        Enable agent:          no
      
        Enable agent 2:        yes
      
        Enable Java gateway:   no
      
        LDAP support:          no
        IPv6 support:          no
      
      $ make install
      

      Result:

      $ ls -l /home/aleksandrs/devel/run/playground/sbin/
      total 21324
      -rwxrwxr-x 1 aleksandrs aleksandrs 19866536 jūl 10 15:29 zabbix_agent2
      -rwxr-xr-x 1 aleksandrs aleksandrs  1964232 jūl 10 15:29 zabbix_agentd
      

      Expected:

      $ ls -l /home/aleksandrs/devel/run/playground/sbin/
      total 21324
      -rwxrwxr-x 1 aleksandrs aleksandrs 19866536 jūl 10 15:29 zabbix_agent2
      

            Assignee:
            Zabbix Development Team
            Reporter:
            Alex Kalimulin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: