[mythtv-users] problems compiling master on OS X 10.7

Jason Lewis jasonblewis at gmail.com
Tue Sep 6 05:03:12 UTC 2011


Hi Guys,

I have been trying to compile mythtv master on OSX Lion but not having
much success.

I first fetch the package from git,

then I compile with:
build$ ./osx-packager.pl -verbose -gitrev master

it ends with the error pasted below.

I'm using the most recent version of the script.
4693fdd (HEAD, origin/master, origin/HEAD, master) Revert "OS X: Build
MythMetadataLookup."

Any idea how I might solve that?

Thanks,

Jason

cd src/gui/ && /usr/bin/make -f Makefile install
/usr/bin/make -f Makefile.Release install
gcc -c
-I/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -fconstant-cfstrings -O2 -arch
i386 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_NO_CUPS -DQT_NO_LPR
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE
-DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore
-I../../include -I../../include/QtGui -I.rcc/release-shared
-I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src
-Idialogs -I.moc/release-shared -I.uic/release-shared kernel/qdnd_mac.mm
-o .obj/release-shared/qdnd_mac.o
gcc -c
-I/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -fconstant-cfstrings -O2 -arch
i386 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_NO_CUPS -DQT_NO_LPR
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE
-DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore
-I../../include -I../../include/QtGui -I.rcc/release-shared
-I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src
-Idialogs -I.moc/release-shared -I.uic/release-shared
kernel/qsound_mac.mm -o .obj/release-shared/qsound_mac.o
gcc -c
-I/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -fconstant-cfstrings -O2 -arch
i386 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_NO_CUPS -DQT_NO_LPR
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE
-DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore
-I../../include -I../../include/QtGui -I.rcc/release-shared
-I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src
-Idialogs -I.moc/release-shared -I.uic/release-shared
kernel/qwidget_mac.mm -o .obj/release-shared/qwidget_mac.o
In file included from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qnamespace.h:45,
                 from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qobjectdefs.h:45,
                 from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qobject.h:47,
                 from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qcoreapplication.h:45,
                 from kernel/qapplication.h:45,
                 from kernel/qdnd_mac.mm:42:
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qglobal.h:320:6:
warning: #warning "This version of Mac OS X is unsupported"
In file included from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qnamespace.h:45,
                 from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qobjectdefs.h:45,
                 from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qobject.h:47,
                 from
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qcoreapplication.h:45,
                 from
../../include/QtGui/../../src/gui/kernel/qapplication.h:45,
                 from ../../include/QtGui/qapplication.h:1,
                 from kernel/qsound_mac.mm:41:
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qglobal.h:320:6:
warning: #warning "This version of Mac OS X is unsupported"
In file included from
../../include/QtGui/private/../../../src/gui/kernel/qmacdefines_mac.h:95,
                 from
../../include/QtGui/private/../../../src/gui/kernel/qt_mac_p.h:56,
                 from ../../include/QtGui/private/qt_mac_p.h:1,
                 from kernel/qwidget_mac.mm:76:
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qglobal.h:320:6:
warning: #warning "This version of Mac OS X is unsupported"
gcc -c
-I/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include -m32
-Xarch_i386 -mmacosx-version-min=10.4 -fconstant-cfstrings -O2 -arch
i386 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_NO_CUPS -DQT_NO_LPR
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_NO_FREETYPE -DQT_NO_OPENTYPE
-DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore
-I../../include -I../../include/QtGui -I.rcc/release-shared
-I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src
-Idialogs -I.moc/release-shared -I.uic/release-shared
kernel/qcocoapanel_mac.mm -o .obj/release-shared/qcocoapanel_mac.o
In file included from
../../include/QtGui/private/../../../src/gui/kernel/qmacdefines_mac.h:95,
                 from
../../include/QtGui/private/../../../src/gui/kernel/qcocoapanel_mac_p.h:53,
                 from ../../include/QtGui/private/qcocoapanel_mac_p.h:1,
                 from kernel/qcocoapanel_mac.mm:42:
/Users/jason/build-test/packaging/OSX/build/.osx-packager/build/include/QtCore/qglobal.h:320:6:
warning: #warning "This version of Mac OS X is unsupported"
kernel/qdnd_mac.mm: In member function ‘Qt::DropAction
QDragManager::drag(QDrag*)’:
kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope
make[2]: *** [.obj/release-shared/qdnd_mac.o] Error 1
make[2]: *** Waiting for unfinished jobs....
kernel/qwidget_mac.mm: In function ‘OpaqueWindowPtr*
qt_mac_create_window(QWidget*, WindowClass, WindowAttributes, const
QRect&)’:
kernel/qwidget_mac.mm:734: error: ‘SetRect’ was not declared in this scope
kernel/qwidget_mac.mm: In static member function ‘static SInt32
QWidgetPrivate::qt_widget_event(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)’:
kernel/qwidget_mac.mm:1395: error: ‘SetEmptyRgn’ was not declared in
this scope
kernel/qwidget_mac.mm:1401: error: ‘SetRectRgn’ was not declared in this
scope
kernel/qwidget_mac.mm:1409: error: ‘SetRectRgn’ was not declared in this
scope
kernel/qwidget_mac.mm: In static member function ‘static bool
QWidgetPrivate::qt_widget_rgn(QWidget*, short int, OpaqueRgnHandle*, bool)’:
kernel/qwidget_mac.mm:1711: error: ‘CopyRgn’ was not declared in this scope
kernel/qwidget_mac.mm:1716: error: ‘CopyRgn’ was not declared in this scope
kernel/qwidget_mac.mm: In member function ‘void
QWidgetPrivate::finishCreateWindow_sys_Carbon(OpaqueWindowPtr*)’:
kernel/qwidget_mac.mm:2179: error: ‘SetRect’ was not declared in this scope
kernel/qwidget_mac.mm: In member function ‘void
QWidget::setWindowState(Qt::WindowStates)’:
kernel/qwidget_mac.mm:3633: error: ‘SetRect’ was not declared in this scope
kernel/qwidget_mac.mm: In member function ‘void
QWidgetPrivate::setGeometry_sys(int, int, int, int, bool)’:
kernel/qwidget_mac.mm:4191: error: ‘SetRect’ was not declared in this scope
make[2]: *** [.obj/release-shared/qwidget_mac.o] Error 1
make[1]: *** [release-install] Error 2
make: *** [sub-gui-install_subtargets-ordered] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j3
sub-plugins-install_subtargets-ordered install_qmake install_mkspecs "
with error code 2
Died at ./osx-packager.pl line 801.




More information about the mythtv-users mailing list