After installing net-analyzer/zabbix-frontend i notice that the mod_php need the flag USE="GD" flag in use to properly show graphic but there is no indication in installation that indicate that mod_php need this flag. Reproducible: Always Steps to Reproduce: 1. install apache with mod_php 2. install zabbix_server and zabbix_frontend and configure it properly 3. Connect on your frontend, monitaure a new host (with zabbix_agent installed) 4. go in "view" --> "latest data" --> select your host --> click on any graphic Actual Results: you shoudn't be able to see the graphic, it need the flag "gd" to show them Expected Results: compile mod_php with USE="gd" to activate the graphic Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12.5 i686) ================================================================= System uname: 2.6.12.5 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca http://adelie.polymtl.ca" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 alsa apm arts avi berkdb bitmap-fonts crypt cups curl eds emboss encode foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imap imlib ipv6 jpeg libg++ libwww mad maildir mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam perl png python quicktime readline sdl snmp spell sse ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY ** after have made the correction to my USE flags
I'm know about this bug. But i'm not understand how know mod_php emerged with "gd" flag. If you know tell me. I'm fix ebuilds ;)
When you compile mod_php, you need to use the flag "gd" ( USE="gd" emerge mod_php ) to be able to display the graphic in zabbix-frontend program
What if you checked this in the ebuild's src_unpack function? For example something like the following may work: src_unpack() { if ! built_with_use dev-php/mod_php gd; then ewarn "You must build mod_php with gd support (USE="gd") to enable." ewarn "the graphics in zabbix_frontend!" fi unpack ${A}; }
I'll set up a new installation to try the configuration and tell you if it work correctly. It may be done before tomorrow afternoon. Thank you very much
I can affirm that once I enabled the gd use flag it works flawlessly.
Taking this over from iggy.
See bug #133230