[mythtv] OSX compile problems - Unknown option "--runtime-prefix=../Resources".

Stuart Auchterlonie stuarta at squashedfrog.net
Sun Dec 14 22:08:57 UTC 2008


You need the updated build scripts.

They have been moved to http://svn.mythtv.org/svn/trunk/packaging


Stuart


Kari Salmela wrote:
> Hi,
> 
> some months ago I was able to build mythfrontend for OSX successfully,
> but I seem to get error like this now. I have very limited experience on
> OSX compiling, so I’m little bit out of ideas. I am using Xcode 3.1.2. I
> 
> home-mac:myth ksal$ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5490~1/src/configure
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
> --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5490)
> 
> 
> This is what happens when running perl osx-packager.pl –verbose
> 
> ..
> ..
> [osx-pkg] Using previously built libmad
> [osx-pkg] Using previously downloaded taglib
> [osx-pkg] Using previously unpacked taglib
> [osx-pkg] Using previously configured taglib
> [osx-pkg] Using previously built taglib
> [osx-pkg] Using previously downloaded libogg
> [osx-pkg] Using previously unpacked libogg
> [osx-pkg] Using previously configured libogg
> [osx-pkg] Using previously built libogg
> [osx-pkg] Using previously downloaded vorbis
> [osx-pkg] Using previously unpacked vorbis
> [osx-pkg] Using previously configured vorbis
> [osx-pkg] Using previously built vorbis
> [osx-pkg] Using previously downloaded flac
> [osx-pkg] Using previously unpacked flac
> [osx-pkg] Using previously configured flac
> [osx-pkg] Using previously built flac
> [osx-pkg] Cleaning previous installs of MythTV
> [osx-pkg] /usr/bin/svn log http://svn.mythtv.org/svn/ --revision HEAD
> --xml | grep revision
> [osx-pkg] rm -fr /Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/config
> [osx-pkg] Checking out source code
> [osx-pkg] /usr/bin/svn co --revision 19363
> http://svn.mythtv.org/svn/trunk/mythtv
> http://svn.mythtv.org/svn/trunk/myththemes
> http://svn.mythtv.org/svn/trunk/mythplugins
> /Users/ksal/myth/.osx-packager/src/myth-svn
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/dct-channel/Makefile'
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/6200ch/Makefile'
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/change-channel-lirc/Makefile'
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/d10control/Makefile'
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/sa3250ch/Makefile'
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/dct2000serial/Makefile'
> Restored
> '/Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/contrib/channel_changers/red_eye/Makefile'
> A    /Users/ksal/myth/.osx-packager/src/myth-svn/mythtv/config
> Checked out revision 19363.
> Checked out revision 19363.
> Checked out revision 19363.
> [osx-pkg] Cleaning MythTV makefiles containing PREFIX
> [osx-pkg] find . -name Makefile -exec egrep -q PREFIX {} ; -delete
> [osx-pkg] echo 'Index: libs/libmythui/mythmainwindow.cpp
> ===================================================================
> --- libs/libmythui/mythmainwindow.cpp  (revision 12154)
> +++ libs/libmythui/mythmainwindow.cpp  (working copy)
> @@ -1094,6 +1094,10 @@
>          {
>              QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);
>  
> +            // Work around weird GCC run-time bug. Only manifest on Mac
> OS X
> +            if (!ke)
> +                ke = (QKeyEvent *)e;
> +
>              if (currentWidget())
>              {
>                  ke->accept();
> ' | patch -p0 --forward
> patching file libs/libmythui/mythmainwindow.cpp
> Reversed (or previously applied) patch detected!  Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file
> libs/libmythui/mythmainwindow.cpp.rej
> [osx-pkg] Failed system call: " echo 'Index:
> libs/libmythui/mythmainwindow.cpp
> ===================================================================
> --- libs/libmythui/mythmainwindow.cpp  (revision 12154)
> +++ libs/libmythui/mythmainwindow.cpp  (working copy)
> @@ -1094,6 +1094,10 @@
>          {
>              QKeyEvent *ke = dynamic_cast<QKeyEvent*>(e);
>  
> +            // Work around weird GCC run-time bug. Only manifest on Mac
> OS X
> +            if (!ke)
> +                ke = (QKeyEvent *)e;
> +
>              if (currentWidget())
>              {
>                  ke->accept();
> ' | patch -p0 --forward " with error code 1
> [osx-pkg] Configuring mythtv
> [osx-pkg] ./configure --prefix=/Users/ksal/myth/.osx-packager/build
> --runtime-prefix=../Resources --disable-distcc
> Unknown option "--runtime-prefix=../Resources".
> See ./configure --help for available options.
> [osx-pkg] Failed system call: " ./configure
> --prefix=/Users/ksal/myth/.osx-packager/build
> --runtime-prefix=../Resources --disable-distcc " with error code 1
> Died at osx-packager.pl line 985.
> home-mac:myth ksal$
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list