[mythtv-users] Mythtv frontend on PPC
OM Ugarcina
mo.ucina at gmail.com
Sat Oct 12 04:30:34 UTC 2013
Looks like this time around I got fixes-0.27 pulled , which is good . The
Configure passed ok , however make has crashed with following error :
ar cq libmythmpeg2-0.27.a cpu_accel.o cpu_state.o alloc.o header.o decode.o
slice.o motion_comp.o idct.o motion_comp_altivec.o idct_altivec.o
ranlib -s libmythmpeg2-0.27.a
cd libmythui/ && /Users/user/Downloads/mythtv/.osx-packager/build/bin/qmake
/Users/user/Downloads/mythtv/.osx-packager/src/myth-git/mythtv/libs/libmythui/
libmythui.proQMAKE=/Users/user/Downloads/mythtv/.osx-packager/build/bin/qmake
-o Makefile
cd libmythui/ && /usr/bin/make -f Makefile
ccache /Developer/usr/bin/gcc -c -pipe -pipe -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DPIC -arch ppc -D_USING_105SDK=1
-mmacosx-version-min=10.5
-I/Users/user/Downloads/mythtv/.osx-packager/build/include
-I/Users/user/Downloads/mythtv/.osx-packager/build/mysql -DNDEBUG
-fomit-frame-pointer -fPIC -maltivec -mabi=altivec -g -Wall -Wpointer-arith
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-switch
-Woverloaded-virtual -funit-at-a-time -g -arch ppc -DUSING_APPLEREMOTE
-D_GNU_SOURCE -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DMUI_API
-DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB
-I/Users/user/Downloads/mythtv/.osx-packager/build/mkspecs/macx-g++ -I.
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtCore
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtNetwork
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtGui
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtOpenGL
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtXml
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtSql
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtWebKit
-I/Users/user/Downloads/mythtv/.osx-packager/build/include -I/usr/include
-I/Users/user/Downloads/mythtv/.osx-packager/build
-I../../external/qjson/include -I../libmythbase -I../.. -I..
-I../../external/FFmpeg
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I. util-osx-cocoa.mm -o
util-osx-cocoa.o
ccache /Developer/usr/bin/g++ -c -pipe -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DPIC -arch ppc -D_USING_105SDK=1
-mmacosx-version-min=10.5
-I/Users/user/Downloads/mythtv/.osx-packager/build/include
-I/Users/user/Downloads/mythtv/.osx-packager/build/mysql -DNDEBUG
-fomit-frame-pointer -fPIC -maltivec -mabi=altivec -g -Wall -Wpointer-arith
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-switch
-Woverloaded-virtual -funit-at-a-time -gdwarf-2 -arch ppc -fPIC
-DUSING_APPLEREMOTE -D_GNU_SOURCE -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT
-DMUI_API -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-I/Users/user/Downloads/mythtv/.osx-packager/build/mkspecs/macx-g++ -I.
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtCore
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtNetwork
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtGui
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtOpenGL
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtXml
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtSql
-I/Users/user/Downloads/mythtv/.osx-packager/build/include/QtWebKit
-I/Users/user/Downloads/mythtv/.osx-packager/build/include -I/usr/include
-I/Users/user/Downloads/mythtv/.osx-packager/build
-I../../external/qjson/include -I../libmythbase -I../.. -I..
-I../../external/FFmpeg
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I. -o mythmainwindow.o
mythmainwindow.cpp
In file included from mythrender_opengl.h:27,
from mythmainwindow_internal.h:11,
from mythmainwindow.cpp:2:
util-osx.h:5:30: error: CarbonCore/Endian.h: No such file or directory
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:481:
error: ‘BigEndianLong’ does not name a type
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:497:
error: variable or field ‘GetKeys’ declared void
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h:497:
error: ‘KeyMap’ was not declared in this scope
make[2]: *** [mythmainwindow.o] Error 1
make[1]: *** [sub-libmythui-make_default] Error 2
make: *** [libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make " with error code 2
Died at ./osx-packager-qtsdk.pl line 1730.
Looks like I am stuck here for a while.
Regards
Milorad
On Sat, Oct 12, 2013 at 2:34 PM, OM Ugarcina <mo.ucina at gmail.com> wrote:
> Just trying a bit of an experiment , by adding this patch into the build
> file :
>
> 192-168-1-241:mythtv user$ cat osx-packager-qtsdk.patch
> --- osx-packager-qtsdk.pl.orig 2013-10-11 19:01:07.000000000 +1100
> +++ osx-packager-qtsdk.pl 2013-10-12 14:20:51.000000000 +1100
> @@ -98,6 +98,43 @@
> 'libcdio',
> ],
> ],
> + '0.27-fixes'
> + => [
> + 'branch' => 'fixes/0.27',
> + 'mythtv'
> + => [
> + 'ccache',
> + 'libtool',
> + 'pkgconfig',
> + 'dvdcss',
> + 'freetype',
> + 'lame',
> + 'cmake',
> + 'mysqlclient',
> + #'dbus',
> + 'qt',
> + 'yasm',
> + 'liberation-sans',
> + 'firewiresdk',
> + 'libtool',
> + 'autoconf',
> + 'automake',
> + 'taglib',
> + ],
> + 'mythplugins'
> + => [
> + 'exif',
> +# MythMusic needs these:
> + 'libtool',
> + 'autoconf',
> + 'automake',
> + 'libogg',
> + 'vorbis',
> + 'flac',
> + 'libcddb',
> + 'libcdio',
> + ],
> + ],
> '0.26-fixes'
> => [
> 'branch' => 'fixes/0.26',
> @@ -557,6 +594,12 @@
> %depend_order = @{ $build_profile{'0.26-fixes'} };
> $gitrevision = 'fixes/0.26'
> }
> +elsif ( $OPT{'buildprofile'} == '0.27-fixes' )
> +{
> + &Verbose('Building using 0.27-fixes profile');
> + %depend_order = @{ $build_profile{'0.27-fixes'} };
> + $gitrevision = 'fixes/0.27'
> +}
> else
> {
> &Verbose('Building using master profile');
>
>
>
> On Sat, Oct 12, 2013 at 1:16 PM, OM Ugarcina <mo.ucina at gmail.com> wrote:
>
>> Hello JYA , that does seem odd to me too . Here is the packager I am
>> using :
>>
>> 192-168-1-241:mythtv user$ head -n 50 osx-packager-qtsdk.pl
>> #!/usr/bin/perl
>>
>> ### = file
>> ### osx-packager-qtsdk.pl
>> ###
>> ### = revision
>> ### 2.0
>> ####
>> ### Copyright (c) 2012 Jean-Yves Avenard
>> ### based on osx-packager.pl by by Jeremiah Morris <jm at whpress.com>
>> ###
>> ### = location
>> ### https://github.com/MythTV/packaging//OSX/build/osx-packager-qtsdk.pl
>> ###
>> ### = description
>> ### Tool for automating frontend builds on Mac OS X.
>> ### Run "osx-packager.pl -man" for full documentation.
>>
>> use strict;
>> use Getopt::Long qw(:config auto_abbrev);
>> use Pod::Usage ();
>> use Cwd ();
>> use File::Temp qw/ tempfile tempdir /;
>> ....
>>
>> our %build_profile = (
>> 'master'
>> => [
>> 'branch' => 'master',
>> 'mythtv'
>> => [
>> 'ccache',
>> 'libtool',
>>
>>
>> 'pkgconfig',
>> 'dvdcss',
>> 'freetype',
>> 'lame',
>> 'cmake',
>> 'mysqlclient',
>> #'dbus',
>> 'qt',
>>
>>
>> 'yasm',
>> 'liberation-sans',
>> 'firewiresdk',
>> 'libtool',
>> 'autoconf',
>> 'automake',
>> 'taglib',
>>
>> ],
>>
>> 'mythplugins'
>> => [
>> 'exif',
>>
>>
>> And I am running the command as suggested :
>>
>>
>> ./osx-packager-qtsdk.pl -verbose -qtsrc 4.8.5 -gcc -nosysroot
>>
>> The script was downloaded from as suggested :
>>
>>
>> https://github.com/MythTV/packaging/blob/master/OSX/build/osx-packager-qtsdk.pl
>>
>> Is there perhaps another script , which has the 27 fixes defined under
>> "branch", because that would suit me better ( not ready yet to take plunge
>> into .28 ) . Appreciate all the help greatly .
>>
>> Milorad
>>
>>
>>
>>
>>
>> On Sat, Oct 12, 2013 at 12:41 PM, Jean-Yves Avenard <jyavenard at gmail.com>wrote:
>>
>>> On 12 October 2013 10:50, OM Ugarcina <mo.ucina at gmail.com> wrote:
>>> > --disable-lirc --disable-distcc --python=/usr/bin/python2.6
>>> > --prefix=/Users/user/Downloads/mythtv/.osx-packager/build
>>> > --cc=/Developer/usr/bin/gcc --cxx=/Developer/usr/bin/g++
>>> > --qmake=/Users/user/Downloads/mythtv/.osx-packager/build/bin/qmake
>>> > --extra-libs=-F/Users/user/Downloads/mythtv/.osx-packager/build/lib
>>> > --firewire-sdk=/Users/user/Downloads/mythtv/.osx-packager/build/lib
>>> > --disable-mythlogserver
>>> > ERROR! You must have the Exiv2 image tag reader library installed to
>>> compile
>>> > MythTV.
>>>
>>> the you are either (or both), not building the fixes/0.27 branch and
>>> are building master. And/or you aren't using the osx-packager-qtsdk.pl
>>> from the master branch.
>>>
>>> exiv2 is a requirements that was added to master a couple of weeks ago
>>> (for the new mythgallery) and the packager script got updated too for
>>> that dependency...
>>>
>>> if you want to build fixes/0.27 use the fixes/0.27 or master branch of
>>> the OSX builder
>>> if you want to build mythtv master (0.28) then you must use the OSX
>>> builder from the master branch
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131012/02c27efc/attachment.html>
More information about the mythtv-users
mailing list