View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 109 posts ] 
Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sat Mar 31, 2007 9:41 am 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
Thanks for the great script! I tried it today, and I ran into the issue where i had to apt-get remove the plugins to get mythfrontend to startup... i'm running the script again now, hopefully that will take care of it :)

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 10:36 am 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
ok, my second run of the script completed... like the previous poster, i had to " mv libmythphone.so libmythphone.so.disabled " after the script finished in order for mythfrontend to load...

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 11:10 am 
Offline
Joined: Thu Jun 16, 2005 2:37 pm
Posts: 116
Location: St. Louis MO.
Good deal, I'm glad you like it. Are you running R5E50? and did you use dwaine's modified version?
Thanks!

_________________
Backend: HP NetServer LT 6000r U3; 6 700Mhz Xeon CPUs; 3GB PC133 ECC; LSI Ultra160 SCSI 4 18GB 10kRPM striped system; 7200RPM 160GB recordings; Ubuntu-server 7.04; HDHomeRun box.
Frontend: A64 3000+; 512MB DDR; Hauppauge grey; knoppmyth PXE/NFS.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 12:00 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
Nope, i'm running R5A30.1. I didn't try dwaine's modified version, should I? I did notice now i dont have mythmusic. Do i have to get that seperately via svn?

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 1:07 pm 
Offline
Joined: Thu Jun 16, 2005 2:37 pm
Posts: 116
Location: St. Louis MO.
dwaines version is only for R5E50. I'm not sure why your not getting mythmusic, it might not be enabled in configure.
Do this:
cd mythplugins/
./configure --prefix=/usr --enable-all

Then see what it says about mythmusic.

_________________
Backend: HP NetServer LT 6000r U3; 6 700Mhz Xeon CPUs; 3GB PC133 ECC; LSI Ultra160 SCSI 4 18GB 10kRPM striped system; 7200RPM 160GB recordings; Ubuntu-server 7.04; HDHomeRun box.
Frontend: A64 3000+; 512MB DDR; Hauppauge grey; knoppmyth PXE/NFS.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 2:04 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
Aha! that showed me the problem... "MythMusic requires taglib." I ran
apt-get install libtag1 libtag1-dev and then make and now i'm back in business! thanks for your help!

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 12:01 am 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Excellent script, thank you.

I need to "upgrade" to trunk to get some features missing from this release. I thought I would build new debs with checkinstall, remove the "original" debs and install the new ones.

Before I do this however, I thought I would make sure I could reinstall the "default" R5E50 debs if needed (in my experience, things don't always go smoothly, and this is the best way to get back to "working" when you run out of time).

If I look at /usr/local/bin/install-i586, I find:
Code:
cd /usr/src/mythtv/i586
dpkg -i libmyth* myth*.deb modules/*.deb


However, the /usr/src/mythtv/i586 directory does not exist.

Was it removed from R5E50? Does anybody know where to get the debs?
I looked in ftp://knoppmyth.net/R5/pkgs, but these are "old" versions


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 03, 2007 9:38 pm 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
Here is the newest version of the script that I use with R5F1. I changed the --enable-dts option to --enable-libdts. Works great!!

#!/bin/bash
echo "Welcome to Watto's compile/install MythTV script for Knoppmyth."

# Fatal Error function.
fatal_error () {
echo 1>&2 "Fatal error - $*, exiting."
exit 1
}

# Nice make function.
make_nice () {
/usr/bin/nice -n17 /usr/bin/make "$@"
}

# Athlon64 Compile Fix.
grep 'Athlon(tm) 64' /proc/cpuinfo >/dev/null && EXTRA_OPTS="--arch=athlon"

# User input.
TARGET=trunk # Default to trunk
WAIT_FOR_USER=false
while [ -n "$1" ] ; do
case "$1" in
head)
TARGET=trunk
;;
fixes)
TARGET=branches/release-0-20-fixes
;;
pause)
WAIT_FOR_USER=true
;;
*)
echo
echo "Unknown command line parameter. Usage: mythsvn.sh [head|fixes] [pause]"
echo " Selecting head will compile from the SVN head,"
echo " Selecting fixes will compile the fixes branch,"
echo " Selecting pause will pause before installation."
exit 1
;;
esac
shift
done

# Download SVN.
/usr/bin/svn co http://svn.mythtv.org/svn/$TARGET/mythtv
/usr/bin/svn co http://svn.mythtv.org/svn/$TARGET/mythplugins
/usr/bin/svn co http://svn.mythtv.org/svn/$TARGET/myththemes

# Backup custom menu.
/bin/cp -f /usr/share/mythtv/mainmenu.xml ./
/bin/cp -f /usr/share/mythtv/optical_menu.xml ./

# Configure/make MythTV.
cd mythtv
./configure --disable-distcc --prefix=/usr --enable-proc-opt --enable-dvb --enable-xvmc --enable-xvmc-opengl --enable-opengl-vsync --enable-libdts $EXTRA_OPTS
export QTDIR=/usr/share/qt3
/usr/bin/qmake mythtv.pro
make_nice || fatal_error "The build failed!"

# Backup Knoppmyth and MythTV.
grep /usr/share/mythtv /myth/backup/backup.list >/dev/null ||
echo ./usr/share/mythtv >> /myth/backup/backup.list
sed -si~ -e 's:^/:./:' /myth/backup/backup.list
/usr/local/bin/mythbackup

# Pause before installation (optional)
[ "$WAIT_FOR_USER" = "true" ] && read -p "Please hit 'Any Key' to continue..."

# Stop all effected programs.
/etc/init.d/lirc stop
/etc/init.d/mythtv-backend stop
/etc/init.d/mysql stop

# Install MythTV and restore custom menus.
make_nice install || fatal_error "failed to install MythTV"
/bin/cp -f ../mainmenu.xml /usr/share/mythtv/
/bin/cp -f ../optical_menu.xml /usr/share/mythtv/

# Configure and Install MythThemes.
cd ../myththemes/
./configure --prefix=/usr $EXTRA_OPTS
/usr/bin/qmake myththemes.pro
make_nice || fatal_error "failed to make MythThemes"
make_nice install || fatal_error "failed to install MythThemes"

# Restart everything.
/etc/init.d/mysql restart
/etc/init.d/mythtv-backend restart
/etc/init.d/lirc restart
(sleep 5 ; /usr/bin/irexec -d /home/mythtv/.lircrc) &

# Configure, make, and install MythPlugins.
cd ../mythplugins/
./configure --prefix=/usr --enable-all $EXTRA_OPTS
/usr/bin/qmake mythplugins.pro
make_nice || fatal_error "failed to build MythPlugins"
make_nice install || fatal_error "failed to install MythPlugins"

# Restart frontend to load plugins and update MythWeb.
/bin/cp -R -f mythweb/* /var/www/mythweb
/usr/share/mythtv/mythweb/modules/_shared/lang/build_translation.pl

# All done!
shutdown -r now
exit 0


Top
 Profile  
 
 Post subject: R5F1 script error
PostPosted: Wed Jul 04, 2007 1:22 pm 
Offline
Joined: Thu Nov 17, 2005 2:54 am
Posts: 6
When running this script, I received the following error:
Unknown option "--enable-libdts".
See ./configure --help for available options.
Project ERROR: Please run the configure script first
make: *** No targets specified and no makefile found. Stop.
Fatal error - The build failed! , exiting.

edit: used sh mythsvn.sh head


Last edited by elephant on Wed Jul 04, 2007 3:32 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: Re: R5F1 script error
PostPosted: Wed Jul 04, 2007 1:35 pm 
Offline
Joined: Thu Jun 16, 2005 2:37 pm
Posts: 116
Location: St. Louis MO.
elephant wrote:
When running this script, I receive the following error:
Unknown option "--enable-libdts".
See ./configure --help for available options.
Project ERROR: Please run the configure script first
make: *** No targets specified and no makefile found. Stop.
Fatal error - The build failed! , exiting.

Are you using the trunk or svn-fixes? If you dont know than you are using the trunk. I use the trunk and "--enable-libdts" works for me.

_________________
Backend: HP NetServer LT 6000r U3; 6 700Mhz Xeon CPUs; 3GB PC133 ECC; LSI Ultra160 SCSI 4 18GB 10kRPM striped system; 7200RPM 160GB recordings; Ubuntu-server 7.04; HDHomeRun box.
Frontend: A64 3000+; 512MB DDR; Hauppauge grey; knoppmyth PXE/NFS.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 19, 2007 10:26 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
I've run this script successfully on one build, it errors out on a Asus Pundit P1-AH2 running F1 without problems for a few months.

This is the error I see.

Code:
rv10.c: In function 'rv10_decode_packet':
rv10.c:615: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [rv10.o] Error 1
make[2]: Leaving directory `/usr/local/bin/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/usr/local/bin/mythtv/libs'
make: *** [sub-libs] Error 2
Fatal error - The build failed!, exiting.


Any way around this? TIA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 08, 2007 3:53 pm 
Offline
Joined: Sun Jun 18, 2006 8:14 pm
Posts: 25
dwaine wrote:
Here is the newest version of the script that I use with R5F1. I changed the --enable-dts option to --enable-libdts. Works great!!



Well, it worked for me. Sorta. I'm running R5F1, and I used this to upgrade to the latest trunk release. Except, I'm having the following issues:

* When I go into mythtv-setup, and go into option #6, Storage Directories, I get a segfault, and back to the shell I immediately go.

* MythWeb is all screwed up. When I go to Listings, I get no listings. When I try to schedule something, I get an error at the bottom of the page saying something about cant find storage groups (which obviously, I havnt setup, since it segfaults)... and there is no button to "save" my new attempted recording.

:(

Anyone have any thoughts? This is an Asus mobo, an Athlon XP 3000+, 2gb of RAM, an 80gb HDD for the system, and a 250gb HDD for recordings. Its a backend/frontend combo box, SVIDEO out to my 27" CRT TV.

Thanks!
--Eric


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 09, 2007 2:35 am 
Offline
Joined: Sun Jun 18, 2006 8:14 pm
Posts: 25
NefariousAryq wrote:
Well, it worked for me. Sorta. I'm running R5F1, and I used this to upgrade to the latest trunk release. Except, I'm having the following issues:



Okay, ignore the last post. I wiped the SVN directory, and tried again, and now the segfault issue disappeared. Must have been an issue with that version of SVN I had, for that day.

I still had the MythWeb issues, so I wiped the /var/www directory, copied all the files over from the svn plugins directory, edited the config file and copied it into /etc/apache2/conf.d/ and viola, all is now perfect with my MythTV box again!

THANKS!
--Eric


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 09, 2007 11:08 am 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
I noticed I'm getting this option for XVMC libs. I have a nvidia card and was wondering if this is actually correct.

# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support yes
XvMC VLD support yes
XvMC pro support no
XvMC OpenGL sup. no
XvMC libs -lXvMCW
OpenGL video yes
Mac acceleration no
OpenGL vsync yes
DirectFB yes

With mplayer svn I'm getting this when configuring. Should I not get XvMCNVIDIA with mythtv?

Checking for XvMC ... yes (using XvMCNVIDIA)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 09, 2007 6:57 pm 
Offline
Joined: Fri Dec 29, 2006 7:20 pm
Posts: 1
Got this working with a slight tweak: From dwaine post on page 6 I had to modify the script slight to work for my machine on a clean install of R5F1. Removed:
grep 'Athlon(tm) 64' /proc/cpuinfo >/dev/null && EXTRA_OPTS="--arch=athlon"
and all other instances of $EXTRA_OPTS

Of course since my machine is not an AMD this makes a lot of sense. I'm a newbie at this, but from what little I can tell is that the "grep 'Athlong"...command does not put out a completly empty string...at least when I pipe this to a file I get one, invisible? null?, character in the file.

It's working; I'm in heaven...gory details below in case anybody is curious....I am NOT asking for help; only posting details in case it helps anybody else out there...Big thanks to the community/forum!!!
R5F1 clean install
PVR-350(had to patch according to:
http://mysettopbox.tv/phpBB2/viewtopic. ... light=r5f1
and
http://ivtvdriver.org/index.php/Trouble ... .19_and_up
)
Relevant commands and returns?
# uname -a
Linux mythtv 2.6.18-chw-13 #1 SMP PREEMPT Tue Mar 6 19:57:00 PST 2007 i686 GNU/Linux
# more /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 0
model name : Intel(R) Pentium(R) 4 CPU 1300MHz
stepping : 7
cpu MHz : 1296.900
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up
bogomips : 2595.67


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 109 posts ] 
Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu