Ad Widget

Collapse

Errors after running the ( sudo make install )

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anjiytwok
    Member
    • Dec 2012
    • 44

    #1

    Errors after running the ( sudo make install )

    Below is the error message:

    follwed the zabbix installation steps:

    Successfully Executed the step:4 Configure the sources by follwong command:

    provided by Zabbix:
    ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl

    But I have added few others-

    ./configure --prefix=/usr/local --enable-server --enable-agent --enable-java --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl

    how ever it step number 4 was success.

    Now step 5 - Make and install everything

    I have executed the

    sudo make install

    got following error: Could you please tell me what could be the reason.
    is it due to in step number 4 added few others like (--enable-java ) or is there any other reason


    please help out if any one come across this problem-

    --------------------------------------------------------------------------------
    make[5]: Leaving directory `/home/anji/zabbix/zabbix-2.0.4/src/zabbix_server'
    make[4]: Leaving directory `/home/anji/zabbix/zabbix-2.0.4/src/zabbix_server'
    make[3]: Leaving directory `/home/anji/zabbix/zabbix-2.0.4/src/zabbix_server'
    make[2]: Leaving directory `/home/anji/zabbix/zabbix-2.0.4/src/zabbix_server'
    Making install in zabbix_java
    make[2]: Entering directory `/home/anji/zabbix/zabbix-2.0.4/src/zabbix_java'
    /bin/mkdir -p class/src
    /bin/mkdir -p class/tests
    javac -d class/src -classpath lib/org-json-2010-12-28.jar:lib/logback-core-0.9.27.jar:lib/logback-classic-0.9.27.jar:lib/slf4j-api-1.6.1.jar src/com/zabbix/gateway/*.java
    jar cf bin/zabbix-java-gateway-2.0.4.jar -C class/src .
    /bin/bash: jar: command not found
    make[2]: *** [bin/zabbix-java-gateway-2.0.4.jar] Error 127
    make[2]: Leaving directory `/home/anji/zabbix/zabbix-2.0.4/src/zabbix_java'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/anji/zabbix/zabbix-2.0.4/src'
    make: *** [install-recursive] Error 1
Working...