Summary: | net-analyzer/ntop-3.2-r2 fails to compile with USE=snmp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Willard Dawson <willard.dawson> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | perl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Willard Dawson
2007-03-27 12:44:23 UTC
What is your perl version ? (In reply to comment #1) > What is your perl version ? > perl -v: v5.8.8 built for i686-linux-thread-multi perl -V: Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.20-gentoo-r3, archname=i686-linux-thread-multi uname='linux wdawsonlt 2.6.20-gentoo-r3 #1 smp thu mar 15 10:43:09 edt 2007 i686 intel(r) pentium(r) m processor 2.00ghz genuineintel gnulinux ' config_args='-des -Darchname=i686-linux-thread -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-march=i686 -O2 -pipe -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/i686-linux-thread-multi 5.8.2 5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi 5.8.5 5.8.5/i686-linux-thread-multi 5.8.6 5.8.6/i686-linux-thread-multi 5.8.7 5.8.7/i686-linux-thread-multi -Dinc_version_list=5.8.0 5.8.0/i686-linux-thread-multi 5.8.2 5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi 5.8.5 5.8.5/i686-linux-thread-multi 5.8.6 5.8.6/i686-linux-thread-multi 5.8.7 5.8.7/i686-linux-thread-multi -Dcf_by=Gentoo -Ud_csh -Dusenm -Dusethreads -Di_ndbm -Di_gdbm -Di_db' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='i686-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-march=i686 -O2 -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement' ccversion='', gccversion='4.1.2 (Gentoo 4.1.2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='i686-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Mar 22 2007 17:24:57 @INC: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . net-analyzer/ntop-3.2-r3 failed Making install in . cd . && /bin/sh ./missing --run echo --gnu --gnu cd . && /bin/sh ./missing --run echo --gnu --gnu ----------------------------------------------- Converting docs/FAQ to HTML format .... Please wait Oh, yeah... If we hang here, then you are probably running make not GNU make (gmake) sed: -e expression #1, char 13: Invalid range end make[2]: *** [faq.html] Error 1 make[2]: *** Waiting for unfinished jobs.... /usr/bin/install -c -m 644 './ntop.8' '/var/tmp/portage/net-analyzer/ntop-3.2-r3/image//usr/share/man/man8/ntop.8' make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 !!! ERROR: net-analyzer/ntop-3.2-r3 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3631: Called src_install ntop-3.2-r3.ebuild, line 92: Called die (In reply to comment #3) > Oh, yeah... > If we hang here, then you are probably > running make not GNU make (gmake) On Gentoo, is there a difference? $ which make /usr/bin/make $ which gmake /usr/bin/gmake $ ls -l /usr/bin/make lrwxrwxrwx 1 root root 5 Mar 2 12:41 /usr/bin/make -> gmake wdawson@WDAWSONLT ~ $ ls -l /usr/bin/gmake -rwxr-xr-x 1 root root 144268 Mar 2 12:41 /usr/bin/gmake OK, so I try with `alias make=gmake` and separately with `export make=gmake`, but neither make a difference. Is there a workaround? And, why need I apply it here and apparently with nothing else I have in Gentoo? I'm confused on this one... heh, not a make bug but a bash bug, /me looks into it hrm ok, can you post the line in question, maybe trying to run it manually, looks like your gawk is messed up somehow (In reply to comment #6) > hrm ok, can you post the line in question, maybe trying to run it manually, > looks like your gawk is messed up somehow > Actually... this line turned out to be most indicative of the problem: /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a: No such file or directory I fixed that by re-emerging a few things. Unfortunately, I've since forgotten them all... I'm sure it was in part due to re-emerging perl. For example, I now find: /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/DynaLoader Perhaps I induced this problem by adding threads and ithreads to my /etc/make.conf... Sorry for not having the forensic trail for how I "fixed" the ability to build ntop using snmp on my system. Definitely, though, this was not due to any bug in ntop, just as you surmise. |