Ad Widget

Collapse

Zabbix Source Configure bootstrapping makefile error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Zabbix Source Configure bootstrapping makefile error

    While trying to compile Zabbix from sources in a new Debian Bullseye installation, I run "./configure" and got the error below.
    Code:
    (...)
    config.status: creating man/Makefile
    config.status: creating include/config.h
    config.status: include/config.h is unchanged
    config.status: executing depfiles commands
    config.status: error: in `/root':
    config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking. If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary). You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
    See `config.log' for more details
    There is no "config.log" whitin /zabbix-5.4.8/ folder to see more details.

    I'm not sure what it means so I didn't go forward.
    Any idea?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Originally posted by markfree

    config.status: error: in `/root':
    Never configure or compile as root. Use a normal, non-privileged account for those steps. Only use root privileges when they are required.

    Make certain you haven't filled the / volume with the extracted source code and the byproducts of running configure.

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #3
      Even with a different user, I'm unable to configure Zabbix.
      Code:
      config.status: creating man/Makefile
      config.status: creating include/config.h
      config.status: executing depfiles commands
      config.status: error: in `/home/dan':
      config.status: error: Something went wrong bootstrapping makefile fragments
      for automatic dependency tracking. If GNU make was not used, consider
      re-running the configure script with MAKE="gmake" (or whatever is
      necessary). You can also try re-running configure with the
      '--disable-dependency-tracking' option to at least be able to build
      the package (albeit without support for automatic dependency tracking).
      See `config.log' for more details
      I've downloaded and extracted everything within the user's home directory.
      Code:
      wget -nc -O ~/zabbix-5.4.8.tar.gz https://cdn.zabbix.com/zabbix/sources/stable/5.4/zabbix-5.4.8.tar.gz
      tar --skip-old-files -C ~/ -xzvf ~/zabbix-5.4.8.tar.gz
      Yet I get the same error message, just with a different user name.

      Comment

      • markfree
        Senior Member
        • Apr 2019
        • 868

        #4
        I guess the issue was not a user privilegde related.
        I didn't look correctly for the "config.log" file. Now I've found it.

        Actually, "make" (or "build-essential") was absent in my installation, thus causing the issue.

        After installing it "./configure" went on.

        Thanks a lot guys.

        Comment

        Working...