[mythtv-users] Building for OSX

James Linder jam at tigger.ws
Sun Feb 28 06:38:48 UTC 2016


Hi All
anticipating 0.28 I tried to build master.

From the wiki
https://www.mythtv.org/wiki/MythTV_on_Mac_OSX_build

Running (and I have a working mac ports 5.5.1)

I get
…
[haycorn] /Users/jam/packaging/OSX/build [523]% ./osx-packager-qtsdk.pl -qtsdk /opt/local/libexec/qt5/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   370    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  1  437M    1 8095k    0     0   4502      0 28:16:49  0:30:41 27:46:08  3789curl: (18) transfer closed with 450048454 bytes remaining to read
[osx-pkg] Failed system call: " /usr/bin/curl -f -L http://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.tar.gz > /Users/jam/packaging/OSX/build/.osx-packager/src/qt-everywhere-opensource-src-5.5.1.tar.gz " with error code 18
Died at ./osx-packager-qtsdk.pl line 1246.
 

and clean and tryagain
...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9 -L/Users/jam/packaging/OSX/build/.osx-packager/build/lib -F/opt/local/libexec/qt5/lib -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -single_module -dynamiclib -o libqsqlmysql.dylib .obj/main.o .obj/qsql_mysql.o .obj/moc_qsql_mysql_p.o  -F/opt/local/libexec/qt5/lib -L/Users/jam/packaging/OSX/build/.osx-packager/build/lib -lmysqlclient_r -framework QtSql -framework QtCore -framework DiskArbitration -framework IOKit
mv -f libqsqlmysql.dylib ../../../../plugins/sqldrivers/
install -m 755 -p ../../../../plugins/sqldrivers/libqsqlmysql.dylib /Users/jam/packaging/OSX/build/.osx-packager/build/qtplugins-5.5.1/libqsqlmysql.dylib
install -m 644 -p /Users/jam/packaging/OSX/build/.osx-packager/src/qt-everywhere-opensource-src-5.5.1/qtbase/lib/cmake/Qt5Sql/Qt5Sql_QMYSQLDriverPlugin.cmake /opt/local/libexec/qt5/lib/cmake/Qt5Sql/
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.
[osx-pkg] Failed system call: " cd qtbase/src/plugins/sqldrivers/mysql ; make install ; make -f Makefile.Release install ;  " with error code 2
Died at ./osx-packager-qtsdk.pl line 1361.

OK the buls script does not work for me. Am I doing something silly?
I HAVE Qt 5.5.1 why is it trying to build it?

James


More information about the mythtv-users mailing list