SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-14-2017, 09:26 AM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Ubuntu 16:04 build sagetv - faad2/mp4ff compile error

I just run a build on tag V9.1.6 and I run into compile problems with third_party library faad2 (through CC=gcc-4.7 ./buildall.sh).

First it complains about missing files in mp4ff build
https://github.com/google/sagetv/tre...2/common/mp4ff

Compiler error with missing files: drms.h drms.c drmstables.h
If I comment those out in the Makefile.am it compiles but it hangs later with an error message "No working C compiler found":

Code:
...
make[1]: Leaving directory '/home/sagetv/third_party/codecs/faad2'
No working C compiler found.
Build failed, exiting.
Anyone building with Ubuntu 16:04 the full server and facing the same issue?
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #2  
Old 10-16-2017, 11:42 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
There are some errors that do show up during the compilation that are ignorable (and the scripts will just continue on and ignore them). So if you saw those and just cancelled it, that would explain why...but otherwise I'm not sure. You'd have to post the specific logs from the build failure to understand what test its doing to determine there is no C compiler.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 12-17-2017, 07:13 AM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Code:
make[2]: Leaving directory '/home/mwn/working/sagetv/third_party/codecs/faad2/libfaad'
Making all in common
make[2]: Entering directory '/home/mwn/working/sagetv/third_party/codecs/faad2/common'
Making all in mp4ff
make[3]: Entering directory '/home/mwn/working/sagetv/third_party/codecs/faad2/common/mp4ff'
gcc-4.7 -DHAVE_CONFIG_H -I. -I../..    -DUSE_TAGGING=1 -fno-common -MT libmp4ff_a-mp4ff.o -MD -MP -MF .deps/libmp4ff_a-mp4ff.Tpo -c -o libmp4ff_a-mp4ff.o `test -f 'mp4ff.c' || echo './'`mp4ff.c
gcc-4.7 -DHAVE_CONFIG_H -I. -I../..    -DUSE_TAGGING=1 -fno-common -MT libmp4ff_a-mp4atom.o -MD -MP -MF .deps/libmp4ff_a-mp4atom.Tpo -c -o libmp4ff_a-mp4atom.o `test -f 'mp4atom.c' || echo './'`mp4atom.c
gcc-4.7 -DHAVE_CONFIG_H -I. -I../..    -DUSE_TAGGING=1 -fno-common -MT libmp4ff_a-mp4meta.o -MD -MP -MF .deps/libmp4ff_a-mp4meta.Tpo -c -o libmp4ff_a-mp4meta.o `test -f 'mp4meta.c' || echo './'`mp4meta.c
gcc-4.7 -DHAVE_CONFIG_H -I. -I../..    -DUSE_TAGGING=1 -fno-common -MT libmp4ff_a-mp4sample.o -MD -MP -MF .deps/libmp4ff_a-mp4sample.Tpo -c -o libmp4ff_a-mp4sample.o `test -f 'mp4sample.c' || echo './'`mp4sample.c
gcc-4.7 -DHAVE_CONFIG_H -I. -I../..    -DUSE_TAGGING=1 -fno-common -MT libmp4ff_a-mp4util.o -MD -MP -MF .deps/libmp4ff_a-mp4util.Tpo -c -o libmp4ff_a-mp4util.o `test -f 'mp4util.c' || echo './'`mp4util.c
gcc-4.7 -DHAVE_CONFIG_H -I. -I../..    -DUSE_TAGGING=1 -fno-common -MT libmp4ff_a-mp4tagupdate.o -MD -MP -MF .deps/libmp4ff_a-mp4tagupdate.Tpo -c -o libmp4ff_a-mp4tagupdate.o `test -f 'mp4tagupdate.c' || echo './'`mp4tagupdate.c
make[3]: *** No rule to make target 'drms.c', needed by 'libmp4ff_a-drms.o'.  Stop.
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libmp4ff_a-mp4sample.Tpo .deps/libmp4ff_a-mp4sample.Po
mv -f .deps/libmp4ff_a-mp4meta.Tpo .deps/libmp4ff_a-mp4meta.Po
mv -f .deps/libmp4ff_a-mp4ff.Tpo .deps/libmp4ff_a-mp4ff.Po
mv -f .deps/libmp4ff_a-mp4util.Tpo .deps/libmp4ff_a-mp4util.Po
mv -f .deps/libmp4ff_a-mp4tagupdate.Tpo .deps/libmp4ff_a-mp4tagupdate.Po
mv -f .deps/libmp4ff_a-mp4atom.Tpo .deps/libmp4ff_a-mp4atom.Po
make[3]: Leaving directory '/home/mwn/working/sagetv/third_party/codecs/faad2/common/mp4ff'
Makefile:356: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/mwn/working/sagetv/third_party/codecs/faad2/common'
Makefile:406: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mwn/working/sagetv/third_party/codecs/faad2'
Makefile:336: recipe for target 'all' failed
make: *** [all] Error 2
No working C compiler found.
Build failed, exiting.
Build failed, exiting.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #4  
Old 12-17-2017, 07:47 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
There are definate issues when trying to build sagetv under newer releases of ubuntu. That's why I created the sagetv build docker, which is what I use to rebuild sagetv. It includes the right compiler and libraries.

https://github.com/stuckless/sagetv-...r/sagetv-build
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
Problem Updating to the Newest Build on Ubuntu phantomii SageTV Linux 3 08-28-2017 07:57 AM
Linux Ubuntu 16.04 build error mwnswiss SageTV Github Development 1 05-21-2016 02:14 PM
Compile Server For Mac OS X Taddeusz SageTV Github Development 4 10-15-2015 01:16 PM
Anyone know how to compile SageTVPlayer (mplayer) in mingw? redondo_se SageTV Beta Test Software 8 01-29-2009 04:06 PM
How do I compile xmltv plugin? owilsky SageTV EPG Service 3 01-20-2005 12:12 PM


All times are GMT -6. The time now is 05:09 PM.


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