Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79745 - ntop-3.0 Makefile exits due to erraneous sed syntax
Summary: ntop-3.0 Makefile exits due to erraneous sed syntax
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 155652 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-27 09:07 UTC by Adam H Hansen
Modified: 2006-11-21 03:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam H Hansen 2005-01-27 09:07:00 UTC
ntop Makefile exits due to erraneous sed syntax. A range specifier is incorrectly '-' instead of ','.

Reproducible: Always
Steps to Reproduce:
1.emerge ntop

or: make install after compiling with make.
Actual Results:  
-----------------------------------------------
Converting ntop.8 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
gmake[2]: *** [ntop.html] Error 1
gmake[2]: Leaving directory `/scratch/tmp/portage/ntop-3.0/work/ntop-3.0'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory `/scratch/tmp/portage/ntop-3.0/work/ntop-3.0'
gmake: *** [install-recursive] Error 1


Expected Results:  
Correct install

Running the sed (actually groff) command in hand, exchanging the range "[ -\~]"
with "[ ,\~]", does not produce the error message. There are three such sed
ranges in near proximity in 'Makefile' (lines 1127, 1145 and 1164), that are
erraneous.
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-01-27 16:39:01 UTC
version of ntop?

Also, post your emerge info please.
Comment 2 Simon Alman 2005-02-10 04:59:04 UTC
copy all html files from:
/usr/share/doc/ntop-3.1/html/
to
/usr/share/ntop/html
and restart ntop to make it work properly.

Read the FAQ in /usr/share/doc/ntop-3.1/FAQ.gz for more details - find "Q. ntop shows an older, single menu interface" for details of configuring the html properly.

Regards.
Comment 3 Adam H Hansen 2005-02-10 05:41:05 UTC
emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gentoo.diku.dk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.diku.dk/gentoo-portage"
USE="x86 3dfx X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups emacs encode f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imap imlib ipv6 jpeg ldap libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby sasl sdl spell ssl subject-rewrite svga tcpd tiff truetype truetype-fonts type1-fonts virus-scan voodoo3 x xml2 xmms xv zlib"

Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-06-25 13:42:18 UTC
I can't reproduce this at all. Still a problem?
Comment 5 Adam H Hansen 2005-06-26 07:58:28 UTC
Yes, still same error emerging.
Comment 6 Michael J. Freeman 2005-09-19 20:29:41 UTC
I can't reproduce it either, just emerged it today.
Comment 7 Marco Morales 2005-11-01 00:18:28 UTC
Ok, if anyone could reproduce it with an updated system please reopen this bug.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 02:49:49 UTC
*** Bug 155652 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 02:52:27 UTC
Reopen wrt Bug 155652 
Comment 10 Michal Jakubowski 2006-11-19 03:17:18 UTC
(In reply to comment #2)
> copy all html files from:
> /usr/share/doc/ntop-3.1/html/
> to
> /usr/share/ntop/html
> and restart ntop to make it work properly.
> 
> Read the FAQ in /usr/share/doc/ntop-3.1/FAQ.gz for more details - find "Q. ntop shows an older, single menu interface" for details of configuring the html properly.
> 
> Regards.
Do not work
Comment 11 Markus Ullmann (RETIRED) gentoo-dev 2006-11-21 03:11:51 UTC
(In reply to comment #0)
> Running the sed (actually groff) command in hand, exchanging the range "[ -\~]"
> with "[ ,\~]", does not produce the error message.

Can you try if that resolves the issue for you?