SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-06-2011, 11:48 AM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Moving sage install to Ubuntu 11.10 amd64.

I've been running Sage on a 64-bit Ubuntu for a while, most recently 10.10. I decided to upgrade to 11.10. I'm using the same PC with the same NIC so I don't have to worry about the license server. To do the new install, I'm installing 11.10 on a new drive, Sage is untarred/installed on a RAID array. The idea is I can go back and forth between old and new by rebooting until I get the 11.10 up and running.

It seems 11.10 has a new way of dealing with 32-bit packages and I'm trying to find the quick and easy way to get a 32-bit JRE installed so Sage will work. Is anyone running Sage on 64-bit Ubuntu 11.10? What did you do?
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM

Last edited by kbyrd; 11-06-2011 at 11:56 AM.
Reply With Quote
  #2  
Old 11-07-2011, 12:21 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by kbyrd View Post
It seems 11.10 has a new way of dealing with 32-bit packages and I'm trying to find the quick and easy way to get a 32-bit JRE installed so Sage will work. Is anyone running Sage on 64-bit Ubuntu 11.10? What did you do?
I've been running on 11.10 since I built this machine in September (before 11.10 was released).

I don't let Ubuntu manage SageTV's Java. I've seen it try to force the OpenJDK on me 2 too many times. I just install the Sun JRE manually into /opt/jre. Then edit the SageTV startup file (sagesettings) to have this line "export PATH=/opt/jre/bin:$PATH"

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #3  
Old 11-07-2011, 05:30 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Quote:
Originally Posted by drewg View Post
I've been running on 11.10 since I built this machine in September (before 11.10 was released).

I don't let Ubuntu manage SageTV's Java. I've seen it try to force the OpenJDK on me 2 too many times. I just install the Sun JRE manually into /opt/jre. Then edit the SageTV startup file (sagesettings) to have this line "export PATH=/opt/jre/bin:$PATH"

Drew
That's not a bad idea, I'll try that. But doesn't that just move my problem? Aren't there other 32-bit libs (like libc) that I'll need? I used to install ia32-libs for this. How did you manage that?
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #4  
Old 11-08-2011, 08:29 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by kbyrd View Post
That's not a bad idea, I'll try that. But doesn't that just move my problem? Aren't there other 32-bit libs (like libc) that I'll need? I used to install ia32-libs for this. How did you manage that?
The problem is that 32-bit on 64-bit used to either be either easy or impossible, depending on what you were trying to install Recently they've introduced some sort of "mulltiarch" thing that lets you install 32-bit versions of many packages. Now it seems that anything is possible, but everything is confusing. In this new system, rather than saying "apt-get install foo" you say "apt-get install foo:i386" to get the 32-bit version.

I sort of blundered around until it worked. Here's the 32-bit stuff I've currently got installed:

Code:
dpkg-query -l | grep i386
ii  appmenu-qt:i386                         0.2.2-0ubuntu1                          appmenu support for Qt
rc  flashplugin-downloader:i386             10.3.183.10ubuntu3                      Adobe Flash Player plugin downloader
ii  gcc-4.6-base:i386                       4.6.1-9ubuntu3                          GCC, the GNU Compiler Collection (base package)
ii  ia32-libs-multiarch:i386                20090808ubuntu26                        Multi-arch versions of former ia32-libraries
ii  libacl1:i386                            2.2.51-3                                Access control list shared library
ii  libasound2:i386                         1.0.24.1-0ubuntu10                      shared library for ALSA applications
ii  libatk1.0-0:i386                        2.2.0-0ubuntu1                          ATK accessibility toolkit
ii  libattr1:i386                           1:2.4.46-3                              Extended attribute shared library
ii  libaudio2:i386                          1.9.2-8ubuntu1                          Network Audio System - shared libraries
ii  libavahi-client3:i386                   0.6.30-4ubuntu1                         Avahi client library
ii  libavahi-common-data:i386               0.6.30-4ubuntu1                         Avahi common data files
ii  libavahi-common3:i386                   0.6.30-4ubuntu1                         Avahi common library
ii  libc6:i386                              2.13-20ubuntu5                          Embedded GNU C Library: Shared libraries
ii  libc6-i386                              2.13-20ubuntu5                          Embedded GNU C Library: 32-bit shared libraries for AMD64
ii  libcairo2:i386                          1.10.2-6ubuntu3                         The Cairo 2D vector graphics library
ii  libcomerr2:i386                         1.41.14-1ubuntu3                        common error description library
ii  libcups2:i386                           1.5.0-8ubuntu2                          Common UNIX Printing System(tm) - Core library
ii  libcupsimage2:i386                      1.5.0-8ubuntu2                          Common UNIX Printing System(tm) - Raster image library
ii  libcurl3:i386                           7.21.6-3ubuntu3                         Multi-protocol file transfer library (OpenSSL)
ii  libdatrie1:i386                         0.2.4-3                                 Double-array trie library
ii  libdb5.1:i386                           5.1.25-11                               Berkeley v5.1 Database Libraries [runtime]
ii  libdbus-1-3:i386                        1.4.14-1ubuntu1                         simple interprocess messaging system (library)
ii  libdbusmenu-qt2:i386                    0.9.0-0ubuntu2                          a Qt library that implements the DBusMenu spec
ii  libdrm-intel1:i386                      2.4.26-1ubuntu1                         Userspace interface to intel-specific kernel DRM services -- runtime
ii  libdrm-nouveau1a:i386                   2.4.26-1ubuntu1                         Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  libdrm-radeon1:i386                     2.4.26-1ubuntu1                         Userspace interface to radeon-specific kernel DRM services -- runtime
ii  libdrm2:i386                            2.4.26-1ubuntu1                         Userspace interface to kernel DRM services -- runtime
ii  libexpat1:i386                          2.0.1-7ubuntu3                          XML parsing C library - runtime library
ii  libffi6:i386                            3.0.11~rc1-2                            Foreign Function Interface library runtime
ii  libfontconfig1:i386                     2.8.0-3ubuntu2                          generic font configuration library - runtime
ii  libfreetype6:i386                       2.4.4-2ubuntu1                          FreeType 2 font engine, shared library files
ii  libgcc1:i386                            1:4.6.1-9ubuntu3                        GCC support library
ii  libgcrypt11:i386                        1.5.0-1                                 LGPL Crypto library - runtime library
ii  libgdbm3:i386                           1.8.3-10                                GNU dbm database routines (runtime version)
ii  libgdk-pixbuf2.0-0:i386                 2.24.0-1ubuntu1                         GDK Pixbuf library
ii  libgl1-mesa-dri:i386                    7.11-0ubuntu3                           free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:i386                    7.11-0ubuntu3                           free implementation of the OpenGL API -- GLX runtime
ii  libglapi-mesa:i386                      7.11-0ubuntu3                           free implementation of the GL API -- shared library
ii  libglib2.0-0:i386                       2.30.0-0ubuntu4                         GLib library of C routines
ii  libgnutls26:i386                        2.10.5-1ubuntu3                         the GNU TLS library - runtime library
ii  libgpg-error0:i386                      1.10-0.3ubuntu1                         library for common error values and messages in GnuPG components
ii  libgssapi-krb5-2:i386                   1.9.1+dfsg-1ubuntu1.1                   MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libgtk2.0-0:i386                        2.24.6-0ubuntu5                         The GTK+ graphical user interface library
ii  libgtk2.0-0-dbg:i386                    2.24.6-0ubuntu5                         The GTK+ libraries and debugging symbols
ii  libice6:i386                            2:1.0.7-2                               X11 Inter-Client Exchange library
ii  libidn11:i386                           1.22-2                                  GNU Libidn library, implementation of IETF IDN specifications
ii  libjasper1:i386                         1.900.1-7ubuntu2                        The JasPer JPEG-2000 runtime library
ii  libjpeg62:i386                          6b1-1ubuntu2                            The Independent JPEG Group's JPEG runtime library (version 6.2)
ii  libk5crypto3:i386                       1.9.1+dfsg-1ubuntu1.1                   MIT Kerberos runtime libraries - Crypto Library
ii  libkeyutils1:i386                       1.4-6                                   Linux Key Management Utilities (library)
ii  libkrb5-3:i386                          1.9.1+dfsg-1ubuntu1.1                   MIT Kerberos runtime libraries
ii  libkrb5support0:i386                    1.9.1+dfsg-1ubuntu1.1                   MIT Kerberos runtime libraries - Support library
ii  liblcms1:i386                           1.19.dfsg-1ubuntu2                      Little CMS color management library
ii  libldap-2.4-2:i386                      2.4.25-1.1ubuntu4                       OpenLDAP libraries
ii  libllvm2.9:i386                         2.9+dfsg-3ubuntu2                       Low-Level Virtual Machine (LLVM), runtime library
ii  libmng1:i386                            1.0.10-1ubuntu1                         Multiple-image Network Graphics library
ii  libnspr4:i386                           4.8.7-0ubuntu3                          NetScape Portable Runtime Library
ii  libnspr4-0d:i386                        4.8.7-0ubuntu3                          NetScape Portable Runtime Library
ii  libnss3:i386                            3.12.9+ckbi-1.82-0ubuntu6               Network Security Service libraries
ii  libnss3-1d:i386                         3.12.9+ckbi-1.82-0ubuntu6               Network Security Service libraries
ii  libpango1.0-0:i386                      1.29.3+git20110916-0ubuntu1             Layout and rendering of internationalized text
ii  libpciaccess0:i386                      0.12.1-2                                Generic PCI access library for X
ii  libpcre3:i386                           8.12-3ubuntu2                           Perl 5 Compatible Regular Expression Library - runtime files
ii  libpixman-1-0:i386                      0.22.2-1                                pixel-manipulation library for X and cairo
ii  libpng12-0:i386                         1.2.46-3ubuntu1                         PNG library - runtime
ii  libqt4-dbus:i386                        4:4.7.4-0ubuntu8                        Qt 4 D-Bus module
ii  libqt4-declarative:i386                 4:4.7.4-0ubuntu8                        Qt 4 Declarative module
ii  libqt4-designer:i386                    4:4.7.4-0ubuntu8                        Qt 4 designer module
ii  libqt4-network:i386                     4:4.7.4-0ubuntu8                        Qt 4 network module
ii  libqt4-opengl:i386                      4:4.7.4-0ubuntu8                        Qt 4 OpenGL module
ii  libqt4-qt3support:i386                  4:4.7.4-0ubuntu8                        Qt 3 compatibility library for Qt 4
ii  libqt4-script:i386                      4:4.7.4-0ubuntu8                        Qt 4 script module
ii  libqt4-scripttools:i386                 4:4.7.4-0ubuntu8                        Qt 4 script tools module
ii  libqt4-sql:i386                         4:4.7.4-0ubuntu8                        Qt 4 SQL module
ii  libqt4-svg:i386                         4:4.7.4-0ubuntu8                        Qt 4 SVG module
ii  libqt4-test:i386                        4:4.7.4-0ubuntu8                        Qt 4 test module
ii  libqt4-xml:i386                         4:4.7.4-0ubuntu8                        Qt 4 XML module
ii  libqt4-xmlpatterns:i386                 4:4.7.4-0ubuntu8                        Qt 4 XML patterns module
ii  libqtcore4:i386                         4:4.7.4-0ubuntu8                        Qt 4 core module
ii  libqtgui4:i386                          4:4.7.4-0ubuntu8                        Qt 4 GUI module
ii  librtmp0:i386                           2.3-2ubuntu1                            toolkit for RTMP streams (shared library)
ii  libsasl2-2:i386                         2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 Cyrus SASL - authentication abstraction library
ii  libsasl2-modules:i386                   2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 Cyrus SASL - pluggable authentication modules
ii  libselinux1:i386                        2.0.98-1.1                              SELinux runtime shared libraries
ii  libsm6:i386                             2:1.2.0-2                               X11 Session Management library
ii  libsqlite3-0:i386                       3.7.7-2ubuntu2                          SQLite 3 shared library
ii  libssl1.0.0:i386                        1.0.0e-2ubuntu4                         SSL shared libraries
ii  libstdc++6:i386                         4.6.1-9ubuntu3                          GNU Standard C++ Library v3
ii  libtasn1-3:i386                         2.9-4                                   Manage ASN.1 structures (runtime)
ii  libthai0:i386                           0.1.15-2                                Thai language support library
ii  libtiff4:i386                           3.9.5-1ubuntu1                          Tag Image File Format (TIFF) library
ii  libuuid1:i386                           2.19.1-2ubuntu3                         Universally Unique ID library
ii  libx11-6:i386                           2:1.4.4-2ubuntu1                        X11 client-side library
ii  libxau6:i386                            1:1.0.6-3                               X11 authorisation library
ii  libxcb-render0:i386                     1.7-3                                   X C Binding, render extension
ii  libxcb-shm0:i386                        1.7-3                                   X C Binding, shm extension
ii  libxcb1:i386                            1.7-3                                   X C Binding
ii  libxcomposite1:i386                     1:0.4.3-2                               X11 Composite extension library
ii  libxcursor1:i386                        1:1.1.12-1                              X cursor management library
ii  libxdamage1:i386                        1:1.1.3-2                               X11 damaged region extension library
ii  libxdmcp6:i386                          1:1.1.0-3                               X11 Display Manager Control Protocol library
ii  libxext6:i386                           2:1.3.0-3                               X11 miscellaneous extension library
ii  libxfixes3:i386                         1:5.0-4                                 X11 miscellaneous 'fixes' extension library
ii  libxft2:i386                            2.2.0-3ubuntu1                          FreeType-based font drawing library for X
ii  libxi6:i386                             2:1.4.3-3ubuntu1                        X11 Input extension library
ii  libxinerama1:i386                       2:1.1.1-3                               X11 Xinerama extension library
ii  libxrandr2:i386                         2:1.3.2-2                               X11 RandR extension library
ii  libxrender1:i386                        1:0.9.6-2                               X Rendering Extension client library
ii  libxss1:i386                            1:1.2.1-2                               X11 Screen Saver extension library
ii  libxt6:i386                             1:1.1.1-2                               X11 toolkit intrinsics library
ii  libxv1:i386                             2:1.0.6-2                               X11 Video extension library

ii  libxxf86vm1:i386                        1:1.1.1-2                               X11 XFree86 video mode extension library
ii  qemu-kvm                                0.14.1+noroms-0ubuntu6                  Full virtualization on i386 and amd64 hardware
ii  sni-qt:i386                             0.2.5-0ubuntu2                          indicator support for Qt
ii  zlib1g:i386                             1:1.2.3.4.dfsg-3ubuntu3                 compression library - runtime
Most of those things are probably totally unneeded for SageTV, but this is also a "work-from-home" desktop for me, and I need other 32-bit stuff to run work related binaries.

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #5  
Old 11-12-2011, 01:47 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Thanks for the list Drew. I've got a minimal install working now. For anyone else who cares, I'll be a bit more verbose.

I had a working SageTV server install on a headless 64-bit Ubuntu 10.10, using an HD300 extender for viewing and server interaction. I record from a couple of HDHRs. OS is on a small drive all under '/'. My sagetv install is on an md RAID array under /opt/sagetv/server.

To upgrade to 64-bit 11.10, I got a new root drive (separate from the old 10.10 and the RAID array) and then installed a minimal (there's an option from the Ubuntu install iso) server install. Doing this on a separate drive let me go back and forth between old and new installs, and let me test the new Ubuntu against an known working sage install. Before running /opt/sage/server/startsage for the first time on the 11.10 install, I made a backup of the whole 'server' directory in case some library problem somehow caused a problem. I wanted a fast way to back out to old configuration.


I downloaded the Sun 32-bit JRE, mine was called jre-6u29-linux-i586.bin. In the end I needed the following 32-bit packages:
  • libc6:i386 (duh, any 32-bit app will need this, including the .bin installer for the JRE)
  • zlib1g:i386 (libImageLoader.so in the SageTV directory wants this)
  • libstdc++6 (libHDHomeRunCapture.so want this, others may not need this)

I added PATH=/opt/java/jre1.6.0_29/bin:$PATH to sagesettings. So far so good. startsage runs, I was able to connect my extender, watch some recordings, some blu-ray rips, some handbrake transcoded (h.264 and AAC) DVDs, and view some photos. I searched sagetv_0.txt for 'ERROR' (that's how I found the set of libs above) and haven't found any. I'll point out that I probably don't need the multimedia libraries because I'm using the extender and there isn't any transcoding going on within Sage. I also tried using the BMT web interface and that worked fine too. I didn't try music because I didn't have that setup before.

The major pieces I need to do next are comskip and to make sure CMT/BMT automagically finds metadata for me. Comskip playback works already, but I need to get WINE up and running on this system for the actual exe to run on new content. IIRC, since Sage is calling out to a new process, doing this all in 64-bit WINE worked just fine before. We'll see.


*UPDATE* WINE installed and Comskip works perfectly. However, I'm now convinced that aptitude on 11.10 is completely busted when it comes to multiarch support. To install WINE, it wanted to uninstall some 64-bit versions of various libraries. `apt-get install wine` did the trick for me, though.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM

Last edited by kbyrd; 11-12-2011 at 03:35 PM.
Reply With Quote
  #6  
Old 11-14-2011, 08:43 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by kbyrd View Post
*UPDATE* WINE installed and Comskip works perfectly. However, I'm now convinced that aptitude on 11.10 is completely busted when it comes to multiarch support. To install WINE, it wanted to uninstall some 64-bit versions of various libraries. `apt-get install wine` did the trick for me, though.
I never use aptitude, but I was having the same issue with apt-get during the release candidate phase. Sometimes I'd ask it to install a 32-bit package, and it would want to switch my entire system to 32-bit. I've stared to pay much closer attention to the proposals that apt-get makes

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SageTV Placeshifter on an amd64 Debian/Ubuntu-based system tvierling SageTV Linux 5 01-05-2012 10:58 PM
Install fails w/ ubuntu thegodfaza SageTV Linux 2 01-10-2010 09:19 AM
Moving a Sage install to a Windows 7 box tonysathre SageTV Software 15 01-06-2010 02:28 PM
64 bit Ubuntu install problem. marcusjohn SageTV Linux 0 10-04-2008 12:53 AM
Install Sage on 64bit Ubuntu (7.10) uggie SageTV Linux 2 11-13-2007 06:04 AM


All times are GMT -6. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.