Bug 41429 - app-admin/apachetop-0.10 version bump
Bug#: 41429 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: web-apps@gentoo.org Reported By: rockoo@gmail.com
Component: Ebuilds
URL: 
Summary: app-admin/apachetop-0.10 version bump
Keywords:  
Status Whiteboard: 
Opened: 2004-02-12 15:49 0000
Description:   Opened: 2004-02-12 15:49 0000
app-admin/apachetop-0.10 version bump

------- Comment #1 From Mike Valstar 2004-03-10 08:58:04 0000 -------
Created an attachment (id=27160) [details]
New 0.11 ebuild

This is a nice version bump and it replaces the hack used in the last version
of the ebuild.

------- Comment #2 From Daniel Webert 2004-03-11 06:23:24 0000 -------
problems w/ ebuild 0.11

<snip>
g++ -DHAVE_CONFIG_H -I. -I. -I..   -pthread  -O2 -mcpu=i686 -pipe  -pthread -c -o filters.o `test -f filters.cc || echo './'`filters.cc
g++  -O2 -mcpu=i686 -pipe  -pthread   -o apachetop  apachetop.o log.o inlines.o ohtbl.o map.o display.o hits_circle.o timed_circle.o filters.o  -lcurses  -lreadline
/lib/libreadline.so: undefined reference to `tgetnum'
/lib/libreadline.so: undefined reference to `tgoto'
/lib/libreadline.so: undefined reference to `tgetflag'
/lib/libreadline.so: undefined reference to `BC'
/lib/libreadline.so: undefined reference to `tgetent'
/lib/libreadline.so: undefined reference to `UP'
/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [apachetop] Error 1
make[2]: Leaving directory `/var/tmp/portage/apachetop-0.11/work/apachetop-0.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apachetop-0.11/work/apachetop-0.11'
make: *** [all] Error 2

!!! ERROR: portage/apachetop-0.11 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
</snap>

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-rc2-evil1)

sys-libs/readline
      Latest version available: 4.3-r5
      Latest version installed: 4.3-r5

net-www/apache
      Latest version available: 2.0.48-r4
      Latest version installed: 2.0.48-r4

------- Comment #3 From Mike Valstar 2004-03-20 23:31:29 0000 -------
hmmmm.... heres what i have 

gcc 3.2.3-r2
glibc 2.3.2-r1
readline-4.3-r4

and technically apache is not _needed_ to build the app, its a glorified log file reader.

I will try this on my system with the newer version of gcc

------- Comment #4 From Mike Valstar 2004-03-20 23:37:35 0000 -------
checked, yeah its gcc...  i'll email the guy who writes the app

------- Comment #5 From Chuck Short (RETIRED) 2004-03-30 15:08:22 0000 -------
It had nothing to do with gcc. You needed to have libtermcap-compat installed
in order for it to compile. Its in cvs now, thanks for the bug report.