I assume I need to install libz.dylib ?
-Ed
Xcode 7.1.1
OS X 10.10.5
Checkout:
git clone git://code.qt.io/qt/qt5.git
cd qt5
git checkout v5.5.1
echo First call to init-repository will fail due to qt3d
perl init-repository || true
echo Fix using git submodule update --recursive
git submodule update —recursive
echo Finish init-repository force
perl init-repository -f || true
Configure:
../qt5/configure -prefix $PWD/Qt-v5.5.1 -commercial -confirm-license
-debug-and-release -nomake tests -nomake examples -skip qtmultimedia -skip
qtwebkit -no-sql-mysql
Tail end of the build:
/Users/edward3/Documents/projects/qt-build-2/qt5/qtwebengine/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/main/acm2/acm_generic_codec.h:825:19:
note: overridden virtual function is here
virtual int16_t InternalCreateEncoder() = 0;
^
3 warnings generated.
[5505/10912] CC
obj/src/3rdparty/chromium/third_party/ffmpeg/libavutil/ffmpegsumo.utils.o
/Users/edward3/Documents/projects/qt-build-2/qt5/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavutil/utils.c:112:26:
warning: implicit conversion turns string literal into bool: 'char [19]' to
'_Bool' [-Wstring-conversion]
default: av_assert0(!"valid element size");
~^~~~~~~~~~~~~~~~~~~~
/Users/edward3/Documents/projects/qt-build-2/qt5/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavutil/avassert.h:38:11:
note: expanded from macro 'av_assert0'
if (!(cond)) { \
^
1 warning generated.
[5565/10912] SOLINK(module) ffmpegsumo.so, POSTBUILDS
FAILED: if [ ! -e ffmpegsumo.so -o ! -e ffmpegsumo.so.TOC ] || otool -l
ffmpegsumo.so | grep -q LC_REEXPORT_DYLIB ; then /usr/bin/clang++ -bundle
-Wl,-search_paths_first -stdlib=libc++ -mmacosx-version-min=10.7 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-Lgen/third_party/ffmpeg -arch x86_64 -L. -o ffmpegsumo.so @ffmpegsumo.so.rsp
&& { otool -l ffmpegsumo.so | grep LC_ID_DYLIB -A 5; nm -gP ffmpegsumo.so | cut
-f1-2 -d' ' | grep -v U$; true; } > ffmpegsumo.so.TOC; else /usr/bin/clang++
-bundle -Wl,-search_paths_first -stdlib=libc++ -mmacosx-version-min=10.7
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-Lgen/third_party/ffmpeg -arch x86_64 -L. -o ffmpegsumo.so @ffmpegsumo.so.rsp
&& { otool -l ffmpegsumo.so | grep LC_ID_DYLIB -A 5; nm -gP ffmpegsumo.so | cut
-f1-2 -d' ' | grep -v U$; true; } > ffmpegsumo.so.tmp && if ! cmp -s
ffmpegsumo.so.tmp ffmpegsumo.so.TOC; then mv ffmpegsumo.so.tmp
ffmpegsumo.so.TOC ; fi; fi
clang: error: no such file or directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.dylib'
[5565/10912] CXX
obj/src/3rdparty/chromium/jingle/glue/jingle_glue.xmpp_client_socket_factory.o
ninja: build stopped: subcommand failed.
make[5]: *** [invoke_ninja] Error 1
make[4]: *** [debug-all] Error 2
make[3]: *** [sub-gyp_run-pro-make_first] Error 2
make[2]: *** [sub-core-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtwebengine-make_first] Error 2
edwards-mbp:build-qt-v5.5.1 edward3$ ls /usr
X11 X11R6 bin include lib libexec sbin share standalone
edwards-mbp:build-qt-v5.5.1 edward3$ sudo ls /usr
Password:
X11 X11R6 bin include lib libexec sbin share standalone
This email and any files transmitted with it from The Charles Machine Works,
Inc. are confidential and intended solely for the use of the individual or
entity to which they are addressed. If you have received this email in error
please notify the sender. Our company accepts no liability for the contents of
this email, or for the consequences of any actions taken on the basis of the
information provided, unless that information is subsequently confirmed in
writing. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. Finally, the recipient should check this email and any attachments for
the presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest