NagiosEnterprises / ndoutils

NDOUtils - Database Output for Nagios Core
GNU General Public License v2.0
48 stars 19 forks source link

install-3x in Makefile is missing on master branch #10

Closed tjyang closed 8 years ago

tjyang commented 8 years ago

See the following log, looks like Makefile is missing install-3x and install-2x targets.


/usr/bin/install -c -m 774 -o nagios -g nagios log2ndo /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios sockdebug /usr/local/nagios/bin

  Hint: NDOUtils Installation against Nagios v4.x
  completed.

  If you want to install NDOUtils for Nagios v3.x
  please type  'make install-3x

  If you want to install NDOUtils for Nagios v2.x
  please type  'make install-2x

  Next step should be the database initialization/upgrade
  cd into the db/ directory and either:
     ./installdb  (for a new installation) or:
     ./upgradedb  (for an existing one)

make[1]: Leaving directory `/home/test/workspace/ndoutils/src'

Main NDOUtils components installed

[test@testnagiost01 ndoutils]$ make install-3x
make: *** No rule to make target `install-3x'.  Stop.
[test@nagiost01 ndoutils]$ 
[test@nagiost01 ndoutils]$ grep  install Makefile
INSTALL=/usr/bin/install -c
install:
        @echo "Main NDOUtils components installed"
install-config:
        @echo "*** Config files installed ***"
install-init:
fullinstall: install install-init install-config
[test@nagiost01 ndoutils]$

tjyang commented 8 years ago

Nevermind, "cd src;make install-3x" fixed my issue.