Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mythtv fails, but manual compile passes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Snaketails
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2003
Posts: 78
Location: Boronia.Vic.Oz.Au

PostPosted: Sat Sep 18, 2004 1:25 pm    Post subject: emerge mythtv fails, but manual compile passes Reply with quote

I am trying to emerge in mythtv-0.16 but it keeps bombing out with the following.

Code:

ln -s libmyth-0.16.so.0.16.0 libmyth-0.16.so
ln -s libmyth-0.16.so.0.16.0 libmyth-0.16.so.0
ln -s libmyth-0.16.so.0.16.0 libmyth-0.16.so.0.16
make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmyth'
make: Entering directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv'

<---SNIP--->

g++ -c -pipe `artsc-config --cflags` -Wall -W -O3 -pipe `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XVMC -DUSING_OPENGL_VSYNC -DUSING_XRANDR -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o dvbsections.o dvbsections.cpp
dvbrecorder.cpp: In member function `virtual void DVBRecorder::StartRecording()':
dvbrecorder.cpp:381: warning: unused variable 'qualthread'
dvbdiseqc.cpp: In member function `bool DVBDiSEqC::PositionerGotoAngular(dvb_tuning_t&, bool, bool&)':
dvbdiseqc.cpp:587: error: `M_PI' undeclared (first use this function)
dvbdiseqc.cpp:587: error: (Each undeclared identifier is reported only once for each function it appears in.)
dvbdiseqc.cpp:603: error: `tan' undeclared (first use this function)
dvbdiseqc.cpp:603: error: `sin' undeclared (first use this function)
dvbdiseqc.cpp:603: error: `atan2' undeclared (first use this function)
dvbdiseqc.cpp:631: error: `round' undeclared (first use this function)
make: *** [dvbdiseqc.o] Error 1
make: *** Waiting for unfinished jobs....
ivtvdecoder.cpp:54: warning: unused parameter 'needFlush'
make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv'

!!! ERROR: media-tv/mythtv-0.16 failed.
!!! Function src_compile, Line 160, Exitcode 2
!!! (no error message)


But if I compile the source manually (not emerge) then it will compile fully without any fuss.

I even disabled DISTCC in case that was a problem

Code:

USE="3ds acpi acpi4linux amd antlr apache2 bluetooth bsf bsh cdparanoia \
     chroot codecs curl dba dga divx4linux dnd droproot dvb dvd dvdr \
     ethereal evo f77 faac faad fbcon fbdev ffmpeg firebird flac flash \
     freetds fusion gb gd gnomedb gnuplot gphoto2 gps gstreamer hbci \
     high-ints icq ieee1394 imagemagick imap innodb ipv6 ipv6arpa jack \
     jack-tmpfs java joystick js ladcca lcms leim libgda lids lirc \
     lm_sensors mbox mmx mmx2 mng mp3 mpi mplayer msn mule music mythtv \
     nocardbus nvidia oav offensive openal parse-clocks pcre pda php \
     plotutils prelude radius rtc samba sasl scanner session slp snmp sse \
     sse2 tga threads tiff transcode usagi usb v4l v4l2 videos vim-with-x \
     wmf xine xinerama xml xosd -directfb -mozilla"


Keywords I am running is "~x86"

If you want any further info, please just ask.
Back to top
View user's profile Send private message
Paul Grayson
n00b
n00b


Joined: 31 Jul 2004
Posts: 1

PostPosted: Sun Sep 26, 2004 9:49 am    Post subject: Reply with quote

I believe the original error only appears if compiling with dvb support, and against a 2.6 kernel tree. I get the same problem too.

It can be fixed, I believe, by compiling against a 2.4 kernel with the separate linuxtv-db package, but I need the 2.6 kernel for other hardware issues.
Back to top
View user's profile Send private message
CanuckFlyboy
n00b
n00b


Joined: 05 Sep 2004
Posts: 14

PostPosted: Mon Sep 27, 2004 4:02 pm    Post subject: Reply with quote

I was hoping someone would know the solution as I also have the same problem. Running 2.6.8-gentoo-r3, X-org, Radeon 9000 and my use statement is a little shorter than yours. I read somewhere it wouldn't compile with opengl-update ati so I tried with it set back to x but still the same compile problem.
Back to top
View user's profile Send private message
baitken
n00b
n00b


Joined: 28 Jun 2004
Posts: 64
Location: Calgary, Alberta, Canada

PostPosted: Wed Sep 29, 2004 5:36 am    Post subject: Also having emerge problems Reply with quote

Emerge is crapping out on me right on Tk-TableMatrix-1.1 which is the first package. I am running the latest dev sources (2.6.8).
Code:
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-perl/Tk-TableMatrix-1.1 failed.
!!! Function perl-module_src_compile, Line 60, Exitcode 2
!!! compilation failed


Is this just a bad ebuild? If so it has been almost a week since I have first tried it. Does anybody know what might be going on? (Sorry, I'm still new at this)
_________________
Chaos will always prevail over order because chaos is more organized
Back to top
View user's profile Send private message
tubster
n00b
n00b


Joined: 04 Oct 2004
Posts: 1
Location: Sweden

PostPosted: Mon Oct 04, 2004 9:49 pm    Post subject: Reply with quote

I'm running 2.6.9 kernel and I'm also experiencing the same problem with mythtv 0.16, I try to emerge but it fails exactly as described above.

I succeded emerging mythtv though. I added

#include "math.h"

in dvbdiseq.cpp. This seems to solve the compile errors. I'm no expert at C++ programming but it seems that the errors is concerning common mathematical functions. :roll:
Back to top
View user's profile Send private message
Snaketails
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2003
Posts: 78
Location: Boronia.Vic.Oz.Au

PostPosted: Tue Oct 05, 2004 1:20 pm    Post subject: Reply with quote

How did you get the ebuild to compile after you modified the file?
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Mon Oct 25, 2004 11:39 pm    Post subject: Link Reply with quote

See the third-last post in this thread... :wink:
_________________
"The philosophy of one century is the common sense of the next." - Henry Ward Beecher
Back to top
View user's profile Send private message
Snaketails
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2003
Posts: 78
Location: Boronia.Vic.Oz.Au

PostPosted: Tue Oct 26, 2004 1:58 pm    Post subject: Reply with quote

Ok, what I *did* do,
emerge mythtv (emerges the latest version)

<CTRL-Z> (After the file extraction and the configure script is running)

vi /var/tmp/portage/mythtv-0.16/libs/libmythtv/dvbdiseqc.cpp (found by `find -name dvbdiseq*` )

fg (continuing the compilation)

file compiles and builds.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum