Ad Widget

Collapse

Zabbix 6 - Compilation Options

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thiagoak
    Junior Member
    • Jan 2023
    • 2

    #1

    Zabbix 6 - Compilation Options

    Hi, how are you?

    I need to compile Zabbix from sources because I need to change the MAX_BUFFER_LEN and I want to know what are the compilation options which are used by the pre-compiled packages like Suse Enterprise Linux.

    I want to compile with the exactly the same.

    How can I get these options?

    Cheers,

    Thiago.
  • tomijs
    Junior Member
    • Jan 2023
    • 7

    #2
    Hello, I am doing great, what about yourself ?

    Zabbix packages contain a version of Zabbix compiled with every option enabled, so if you want to compile with the same options as in packages, enable all options when compiling.


    Cheerio,
    Tom

    Comment

    • thiagoak
      Junior Member
      • Jan 2023
      • 2

      #3
      Hi,

      Many thanks for your answer.

      And how about the options below?

      Fine tuning of the installation directories:
      --bindir=DIR user executables [EPREFIX/bin]
      --sbindir=DIR system admin executables [EPREFIX/sbin]
      --libexecdir=DIR program executables [EPREFIX/libexec]
      --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
      --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
      --localstatedir=DIR modifiable single-machine data [PREFIX/var]
      --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
      --libdir=DIR object code libraries [EPREFIX/lib]
      --includedir=DIR C header files [PREFIX/include]
      --oldincludedir=DIR C header files for non-gcc [/usr/include]
      --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
      --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
      --infodir=DIR info documentation [DATAROOTDIR/info]
      --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
      --mandir=DIR man documentation [DATAROOTDIR/man]
      --docdir=DIR documentation root [DATAROOTDIR/doc/zabbix]
      --htmldir=DIR html documentation [DOCDIR]
      --dvidir=DIR dvi documentation [DOCDIR]
      --pdfdir=DIR pdf documentation [DOCDIR]
      --psdir=DIR ps documentation [DOCDIR]

      Cheers,

      Thiago.

      Comment

      • tomijs
        Junior Member
        • Jan 2023
        • 7

        #4
        Originally posted by thiagoak
        Hi,

        Many thanks for your answer.

        And how about the options below?

        Fine tuning of the installation directories:
        --bindir=DIR user executables [EPREFIX/bin]
        --sbindir=DIR system admin executables [EPREFIX/sbin]
        --libexecdir=DIR program executables [EPREFIX/libexec]
        --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
        --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
        --localstatedir=DIR modifiable single-machine data [PREFIX/var]
        --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
        --libdir=DIR object code libraries [EPREFIX/lib]
        --includedir=DIR C header files [PREFIX/include]
        --oldincludedir=DIR C header files for non-gcc [/usr/include]
        --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
        --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
        --infodir=DIR info documentation [DATAROOTDIR/info]
        --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
        --mandir=DIR man documentation [DATAROOTDIR/man]
        --docdir=DIR documentation root [DATAROOTDIR/doc/zabbix]
        --htmldir=DIR html documentation [DOCDIR]
        --dvidir=DIR dvi documentation [DOCDIR]
        --pdfdir=DIR pdf documentation [DOCDIR]
        --psdir=DIR ps documentation [DOCDIR]

        Cheers,

        Thiago.
        That I do not have an idea about, but you could just compile Zabbix once without these options and see if files are still stored in their default locations. If not then you have your answer - need to define these options too.

        Cheers,
        Tom

        Comment

        Working...