Ad Widget

Collapse

Failure to make dist from trunk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JumBê
    Junior Member
    • Oct 2018
    • 2

    #1

    Failure to make dist from trunk

    Hi. I was trying to follow the instructions at http://zabbix.org/wiki/Compilation_instructions
    I wanted to create a .tar.gz with the current distribution at zabbix's GitHub. However, when i use the command "make dist" i get the following error:

    make[3]: Entering directory `/tmp/VCS_zabbix_SVN/zabbix/src/zabbix_java'
    make[3]: *** No rule to make target `bin', needed by `distdir'. Stop.
    make[3]: Leaving directory `/tmp/VCS_zabbix_SVN/zabbix/src/zabbix_java'
    make[2]: *** [distdir] Error 1
    make[2]: Leaving directory `/tmp/VCS_zabbix_SVN/zabbix/src'
    make[1]: *** [distdir] Error 1
    make[1]: Leaving directory `/tmp/VCS_zabbix_SVN/zabbix'
    make: *** [dist] Error 2


    I don't really know what is going on. If i checkout the files from the SVN, through svn co, everything runs fine. Maybe these instructions are only meant to be run on those files imported from SVN. How can i make it work on git?
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    dist and ditcheck targets are broken from many years. In 4.0 have been introduced even more dist* targets issues.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment


    • JumBê
      JumBê commented
      Editing a comment
      Hi. In the mean time i was able to fix the problem. I only had to create a bin folder at ../src/zabbix_java. After that i was able to create the distribution with "make dist".
Working...