I am running a system with dev-lang/perl-5.8.5-r4 -berkdb -debug +doc -gdbm -ithreads -perlsuid (-uclibc) I also installed net-analyzer/aimsniff. (The installation ran fine.) Whenever I try to run the program, however, it complains about missing GDBM_File. A little research, and I discovered that "Module 'GDBM_File' is part of the base perl install" (as told to me by g-cpan.pl). I have not tested it yet, but I assume GDBM_File is installed when the gdbm use-flag is turned on for perl. Reproducible: Always Steps to Reproduce: 1. USE="-gdbm" emerge perl 2. emerge aimsniff 3. cd /etc/init.d 4. wget 'http://bugs.gentoo.org/attachment.cgi?id=41752&action=view' -O aimsniff 5. chmod +x aimsniff 6. /etc/init.d/aimsniff start Actual Results: * Starting asniff... Can't locate GDBM_File.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux .) at /usr/sbin/aimsniff line 47. BEGIN failed--compilation aborted at /usr/sbin/aimsniff line 47. [ !! ] Expected Results: * Starting asniff... [ ok ] The flags I have set for aimsniff are -apache2 -http +mysql -samba -vhosts as output by `emerge -vp aimsniff`. You will notice that I downloaded an initscript from bugzilla into my /etc/init.d/ folder. That bug is # 67444, and has been untouched since Oct. 13, 2004. I think it works very well and should be included in the ebuild. I'm not sure how you would go about fixing this problem, but I think at least an ewarn or einfo command should be included in the ebuild of net-analyzer/aimsniff telling the user that aimsniff will not work properly if perl is compiled without gdbm. `emerge info` output: Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 00:15:27)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/var/tmp/portage/distfiles/" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/var/tmp/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X apm avi bash-completion bitmap-fonts bzlib calendar cdr crypt cups doc emboss encode esd f77 fam fastcgi font-server foomaticdb fortran ftp gif gmp gnome gpm gstreamer gtk gtk2 hardened hardenedphp icq imap imlib innodb jabber jpeg ldap libg++ libwww mad maildir mikmod mime motif mozilla mpeg msn mysql ncurses nls nocd opengl pam pcre pdflib perl pic png python quicktime readline ruby sdl slang sndfile sockets socks5 spell ssl svga tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 53794 [details] aimsniff-0.9-r2.ebuild
Fixed. Thanks for the report. Thanks soulse.