|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
||||
|
||||
Quote:
https://bintray.com/opensagetv/saget...9.0.4.252/view From this sticky in the Open Source Downloads forum: http://forums.sagetv.com/forums/showthread.php?t=62422 |
#62
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#63
|
||||
|
||||
I guess I just read i386 as PC/Intel not specifically x86 32.
|
#64
|
|||
|
|||
Quote:
If you don't plan on using the newer gcc you can put CC=gcc-4.7 in /etc/environment and don't have to worry about setting CC every time you want to do a build.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#65
|
|||
|
|||
Quote:
For the record I'm currently trialling SageTV running under Tiny Core Linux. The trial I just did with the OS SageTV code is running under Tiny Core. It's lean and fast. Less than 18MB for the base operating system and 180MB for supporting packages. Also, stuckless, I'm trying to get the Wiki up and running on the sagetv github pages. Are you OK if I steal your build details from this thread and put them into the Wiki? Cheers
__________________
-------------------------------------------------- Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2), MyGica Dual Tuner USB DVB-T, 2 x HD-200 clients |
#66
|
|||
|
|||
Thanks for the tip. Its only a VM which I'm using just to build SageTV so setting it permanently in /etc/environment is probably a good idea.
__________________
-------------------------------------------------- Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2), MyGica Dual Tuner USB DVB-T, 2 x HD-200 clients |
#67
|
|||
|
|||
My server is a 4-core Atom system that is only 32-bit. I'm currently trying to move SageTV and other services (btsync amongst others) from Ubuntu on this platform to Tiny Core Linux. I'm having some success, although Tiny Core Linux takes a bit of getting used to.
__________________
-------------------------------------------------- Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2), MyGica Dual Tuner USB DVB-T, 2 x HD-200 clients |
#68
|
||||
|
||||
Absolutely. Feel free to take anything I've posted and add it to the wiki.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#69
|
|||
|
|||
jni.h not found
Ok I'm scratching my head on this. When building in Linux Mint and it get to building the shared libraries I get a fatal error, jni.h not found. Here is all of what I went through:
bobby@bobby-PC ~ $ sudo add-apt-repository ppa:webupd8team/java [sudo] password for bobby: You are about to add the following PPA: Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA. More info (and Ubuntu installation instructions): - for Oracle Java 7: http://www.webupd8.org/2012/01/insta...buntu-via.html - for Oracle Java 8: http://www.webupd8.org/2012/09/insta...u-via-ppa.html Debian installation instructions: - Oracle Java 7: http://www.webupd8.org/2012/06/how-t...in-debian.html - Oracle Java 8: http://www.webupd8.org/2014/03/how-t...in-debian.html Oracle Java 9 (for both Ubuntu and Debian): http://www.webupd8.org/2015/02/insta...ntu-linux.html For JDK9, the PPA uses standard builds from: https://jdk9.java.net/download/ (and not the Jigsaw builds!). Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/insta...ntu-linux.html More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java Press Enter to continue or Ctrl+C to cancel Executing: /tmp/tmp.ufywVUGOTz/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com gpg: key EEA14886: "Launchpad VLC" not changed gpg: Total number processed: 1 gpg: unchanged: 1 bobby@bobby-PC ~ $ sudo apt-get update Ign:1 http://packages.linuxmint.com sarah InRelease Hit:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit:5 http://packages.linuxmint.com sarah Release Get:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB] Hit:8 http://archive.canonical.com/ubuntu xenial InRelease Hit:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 190 kB in 3s (60.5 kB/s) Reading package lists... Done bobby@bobby-PC ~ $ export JDK_HOME=/bobby/lib/jvm/java-8-oracle/ bobby@bobby-PC ~ $ export JAVA_ARCH=i386 bobby@bobby-PC ~ $ cd sagetv bobby@bobby-PC ~/sagetv $ cd build bobby@bobby-PC ~/sagetv/build $ ./buildall.sh Build the Sage.jar file Bulding Sage.jar... [ant:exec] The command attribute is deprecated. Please use the executable attribute and nested arg elements. :updateBuildNumber [ant:exec] The command attribute is deprecated. Please use the executable attribute and nested arg elements. SAGETV VERSION 9.0.6.347_amd64 :compileJava Note: /home/bobby/sagetv/java/sage/StudioFrame.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. rocessResources UP-TO-DATE :classes :cleanSageJar :compileTestJava warning: [options] bootstrap class path not set in conjunction with -source 1.5 warning: [options] source value 1.5 is obsolete and will be removed in a future release warning: [options] target value 1.5 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings rocessTestResources UP-TO-DATE :testClasses :test :sageJar Sage.jar created in build/release/ :restoreSageConstants Restored java/sage/SageConstants.java BUILD SUCCESSFUL Total time: 1 mins 8.164 secs /home/bobby/sagetv/build Build the Miniclient jar file [ant:exec] The command attribute is deprecated. Please use the executable attribute and nested arg elements. :clean :cleanMiniJar :compileMiniclientJava warning: [options] bootstrap class path not set in conjunction with -source 1.5 warning: [options] source value 1.5 is obsolete and will be removed in a future release warning: [options] target value 1.5 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings rocessMiniclientResources UP-TO-DATE :miniclientClasses :miniclientJar MiniClient.jar created in build/minirelease/ BUILD SUCCESSFUL Total time: 11.8 secs /home/bobby/sagetv/build Build the shared libraries make: Entering directory '/home/bobby/sagetv/native/so/SageLinux' gcc -c -fPIC -I/bobby/lib/jvm/java-8-oracle//include -I/bobby/lib/jvm/java-8-oracle//include/linux -D_FILE_OFFSET_BITS=64 -c -o sage_Sage.o sage_Sage.c sage_Sage.c:16:17: fatal error: jni.h: No such file or directory compilation terminated. <builtin>: recipe for target 'sage_Sage.o' failed make: *** [sage_Sage.o] Error 1 make: Leaving directory '/home/bobby/sagetv/native/so/SageLinux' Build failed, exiting. Build failed, exiting. I'm just trying sage v 9 out since I can't seem to get the build right on windows. I don't know what I am doing wrong there either. but right now I wanna concentrate on this. So what am I doing wrong here. |
#70
|
||||
|
||||
Java you set JAVA_HOME and JAVA_ARCH?
You can look at the docker file that I use when building sagetv to get an idea of libraries and environment, etc. https://github.com/stuckless/sagetv-...r/sagetv-build EDIT: looks like you are setting it... but /bobby/lib/ doesn't seem right to me. Does that location actually exist?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#71
|
|||
|
|||
re
Hello struckless,
I hope it does but maybe your right and it doesn't exsits. maybe go and create it then set it to home? |
#72
|
||||
|
||||
Quote:
To be honest, the best bet for rebuilding sagetv from sources is to use the Docker image, or use the Vagrant image... Those images have the required dependendies and correct version of gcc, etc. Also, if you just looking for a newer release, I can build it publish it. I tend to the building, but I only rebuilt it when someone asks, since I don't monitor the changes going into the core very often.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#73
|
|||
|
|||
Quote:
What seems odd in your output is that you run sudo add-apt-repository ppa:webupd8team/java to add the repository for the Oracle java download, which runs OK, then sudo apt-get update to tell the system to update its repository cache, which also runs OK, but then you don't run sudo apt-get install -y oracle-java8-installer which performs the actual java installation. I'm guessing you are actually running another java which is already installed but then you're telling the build (via JAVA_HOME) that it needs to look in a different place for the include files. Did you forget to run sudo apt-get install -y oracle-java8-installer ? If so, run clean.sh from the build directory, to start the build from scratch. Run sudo apt-get install -y oracle-java8-installer. Run update-alternatives --config java and make sure that ..../java-8-oracle/jre/bin/java is selected. Then start the build process again from the export JAVA_HOME..... point. What does which java say? What does update-alternatives --config java say?
__________________
-------------------------------------------------- Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2), MyGica Dual Tuner USB DVB-T, 2 x HD-200 clients |
#74
|
|||
|
|||
Ok I'm going to try to do that, start over seems to be the best thing to do in this case. thanks
|
#75
|
|||
|
|||
Well tried to install again, and did the things that were suggested,and still no luck. However I did have luck updating the ones on my windows version, but still I would like to try it on linux. I don't see what is wrong but apparently something is so here is what I am doing.
bobby@bobby-PC ~ $ sudo apt-get install -y oracle-java8-installer Reading package lists... Done Building dependency tree Reading state information... Done oracle-java8-installer is already the newest version (8u101+8u101arm-1~webupd8~2). 0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded. bobby@bobby-PC ~ $ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1082 auto mode 1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1082 manual mode Press <enter> to keep the current choice[*], or type selection number: 2 bobby@bobby-PC ~ $ cd sagetv bobby@bobby-PC ~/sagetv $ cd build bobby@bobby-PC ~/sagetv/build $ export JDK_HOME=/user.lib.jvm.java-8-oracle/jre/bin/java bobby@bobby-PC ~/sagetv/build $ ./buildall.sh Build the Sage.jar file Bulding Sage.jar... [ant:exec] The command attribute is deprecated. Please use the executable attribute and nested arg elements. :updateBuildNumber [ant:exec] The command attribute is deprecated. Please use the executable attribute and nested arg elements. Backed up java/sage/SageConstants.java SAGETV VERSION 9.0.6.347_amd64 :compileJava Note: /home/bobby/sagetv/java/sage/StudioFrame.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. rocessResources UP-TO-DATE :classes :cleanSageJar UP-TO-DATE :compileTestJava warning: [options] bootstrap class path not set in conjunction with -source 1.5 warning: [options] source value 1.5 is obsolete and will be removed in a future release warning: [options] target value 1.5 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings rocessTestResources UP-TO-DATE :testClasses :test :sageJar Sage.jar created in build/release/ :restoreSageConstants Restored java/sage/SageConstants.java BUILD SUCCESSFUL Total time: 2 mins 7.726 secs /home/bobby/sagetv/build Build the Miniclient jar file [ant:exec] The command attribute is deprecated. Please use the executable attribute and nested arg elements. :clean :cleanMiniJar UP-TO-DATE :compileMiniclientJava warning: [options] bootstrap class path not set in conjunction with -source 1.5 warning: [options] source value 1.5 is obsolete and will be removed in a future release warning: [options] target value 1.5 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings rocessMiniclientResources UP-TO-DATE :miniclientClasses :miniclientJar MiniClient.jar created in build/minirelease/ BUILD SUCCESSFUL Total time: 26.13 secs /home/bobby/sagetv/build Build the shared libraries make: Entering directory '/home/bobby/sagetv/native/so/SageLinux' gcc -c -fPIC -I/user.lib.jvm.java-8-oracle/jre/bin/java/include -I/user.lib.jvm.java-8-oracle/jre/bin/java/include/linux -D_FILE_OFFSET_BITS=64 -c -o sage_Sage.o sage_Sage.c sage_Sage.c:16:17: fatal error: jni.h: No such file or directory compilation terminated. <builtin>: recipe for target 'sage_Sage.o' failed make: *** [sage_Sage.o] Error 1 make: Leaving directory '/home/bobby/sagetv/native/so/SageLinux' Build failed, exiting. Build failed, exiting. |
#76
|
||||
|
||||
Like the last time... you are setting the JDK_HOME to an incorrect directory Keep in mind this is not just a randomly made up place, but, the JDK (java development kit) has to exist here. And it cannot be just a JRE (java runtime) it must be the JDK.
Your Java Home is Code:
export JDK_HOME=/user.lib.jvm.java-8-oracle/jre/bin/java After you set JDK_HOME, you an test it... if after you set JDK_HOME issue the command... Code:
ls -al $JDK_HOME Based on what you are showing, I would think that your JDK_HOME should be Code:
export JDK_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ EDIT: Have you read the first post, under the section Configuring Ubuntu? It has the steps for installing java, and setting the JDK_HOME.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient Last edited by stuckless; 08-28-2016 at 05:13 AM. |
#77
|
|||
|
|||
well I thought I was following that guide but I guess I may not be. I am running linux mint 18 cinnamon
|
#78
|
|||
|
|||
ok well it seems that I left out a step somewhere or misspelled something but it looks like it is installing now, more than likely I was misspelling the pathway as you stated.
|
#79
|
||||
|
||||
Glad you have it working.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#80
|
|||
|
|||
well ok now that I got past the other part now on to trying to install, so I ran into this now
Build the 3rdparty binaries ./bootstrap: 3: ./bootstrap: aclocal: not found autoheader: error: AC_CONFIG_HEADERS not found in configure.in ./bootstrap: 10: ./bootstrap: automake: not found configure.in:4: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:6: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:17: error: possibly undefined macro: AM_PROG_LIBTOOL configure.in:30: error: possibly undefined macro: AM_CONDITIONAL Build failed, exiting. Build failed, exiting. well yay so would a clean.sh and delete the folder and try again help? or is there something deeper going on? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need a YouTube primer | Skiier__Dude | SageTV Customizations | 0 | 05-30-2012 10:51 AM |
Close to building a Linux SageTV Computer, which Linux distribution is best? | davephan | SageTV Linux | 8 | 02-24-2011 06:57 PM |
Can I set SageTV to use a specific Tuner for certain channels? | 2FAST4U | SageTV Software | 1 | 05-12-2010 06:55 PM |
Cable STB primer help requests | cavalli | Hardware Support | 1 | 12-12-2008 09:27 AM |
SageTV Linux specific features | ntisdale | SageTV Linux | 0 | 04-11-2007 05:12 AM |