when emerging php with the "snmp" USE-flag I get this error: [...] make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/local' making all in /var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/mibs make[1]: Entering directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/mibs' make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/mibs' chmod a+x net-snmp-config touch net-snmp-config-x Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/default_store/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/default_store/../../snmplib/ Writing Makefile for NetSNMP::default_store Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/ASN/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/ASN/../../snmplib/ Writing Makefile for NetSNMP::ASN Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/OID/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/OID/../../snmplib/ Writing Makefile for NetSNMP::OID Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/../../snmplib/ Warning: -L../../agent/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/../../agent/.libs Warning: -L../../agent/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/../../agent/ Warning: -L../../agent/helpers/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/../../agent/helpers/.libs Warning: -L../../agent/helpers/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/../../agent/helpers/ Unrecognized argument in LIBS ignored: '-rdynamic' Unrecognized argument in LIBS ignored: '/usr/lib/perl5/5.8.8/i586-linux/auto/DynaLoader/DynaLoader.a' Warning: -L../../../snmplib/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/default_store/../../../snmplib/. libs Warning: -L../../../snmplib/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/agent/default_store/../../../snmplib/ Writing Makefile for NetSNMP::agent::default_store Writing Makefile for NetSNMP::agent Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/SNMP/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/SNMP/../../snmplib/ Writing Makefile for SNMP Checking if your kit is complete... Looks good Warning: prerequisite NetSNMP::OID 5.1 not found. Writing Makefile for NetSNMP::TrapReceiver Writing Makefile for Bundle::NetSNMP make[1]: Entering directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl' make[1]: Warning: File `/usr/lib/perl5/5.8.8/i586-linux/Config.pm' has modification time 5.6e+05 s in the future Makefile out-of-date with respect to /usr/lib/perl5/5.8.8/i586-linux/Config.pm /usr/lib/perl5/5.8.8/i586-linux/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 /usr/bin/perl5.8.8 Makefile.PL ERROR from evaluation of /var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl/default_store/Makefile.PL: You need to install net-snmp firs t (I can't find net-snmp-config) at ./Makefile.PL line 81. make[1]: *** [Makefile] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/perl' make: *** [perlmodules] Error 1 !!! ERROR: net-analyzer/net-snmp-5.2.1.2-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile net-snmp-5.2.1.2-r1.ebuild, line 108: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. File "net-snmp-config" exists in /var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/ and is executable. This is my output of emerge --info: Portage 2.1.1 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i586) ================================================================= System uname: 2.6.17-gentoo-r8 i586 Pentium 75 - 200 Gentoo Base System version 1.12.5 Last Sync: Tue, 17 Oct 2006 16:20:01 +0000 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=i586 -O2 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i586 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 apache2 berkdb bitmap-fonts cli cracklib crypt cups dhcp dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ mailwrapper mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection samba session snmp spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Try w/ 5.4 please...
This bug is awaiting user response...
Remerging php-5.1 with snmp USE flag and net-snmp 5.4 now worked. Thanks!