Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171332 - media-tv/dvbstreamer-0.6 seems to require libtermcap
Summary: media-tv/dvbstreamer-0.6 seems to require libtermcap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 10:55 UTC by Mike Auty (RETIRED)
Modified: 2007-04-27 13:45 UTC (History)
0 users

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 Mike Auty (RETIRED) gentoo-dev 2007-03-18 10:55:53 UTC
Attempting to compile dvbstreamer fails with the following message:

i686-pc-linux-gnu-gcc -I../include -mtune=prescott -march=prescott -O2 -fomit-frame-pointer -pipe -Wl,--as-needed -o dvbstreamer -rdynamic main.o dvb.o parsezap.o multiplexes.o services.o pids.o ts.o patprocessor.o pmtprocessor.o sdtprocessor.o servicefilter.o dbase.o cache.o logging.o commands.o binarycomms.o messages.o outputs.o list.o deliverymethod.o pluginmgr.o  /usr/lib/libdvbpsi.so -lpthread /usr/lib/libsqlite3.so -lreadline -ltermcap -lrt ../libltdl/.libs/libltdlc.a -ldl
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make[1]: *** [dvbstreamer] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-tv/dvbstreamer-0.6/work/dvbstreamer-0.6/src'
make: *** [install-recursive] Error 1

!!! ERROR: media-tv/dvbstreamer-0.6 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 1689:   Called src_install
  dvbstreamer-0.6.ebuild, line 29:   Called die

It seems to have been hardwired in the Makefile.am and so is re-included even after an autoreconf.  Interestingly, sed-ing it out (sed -i -e 's! -ltermcap!!' src/Makefile*) seems to allow the program to compile, install and at the very least start up ok on the console.

If I can provide any further information or test out potential patches just let me know...  5:)
Comment 1 Matthias Schwarzott gentoo-dev 2007-03-23 15:21:14 UTC
Added sed-statement to delete -ltermcap out of Makefile*.
Thanks for bug-report including solution :)