tce-load -i Xorg-7.7-3d-dev sqlite3-dev dbus-dev openssl-1.0.0-dev alsa-dev libmng-dev libpng-dev tiff-dev cups-dev pulseaudio-dev perl5 icu-dev gtk2-dev librsvg-dev gst-plugins-base-0.10-dev cd qt-everywhere-opensource-src-4.8.6 sed -i -e '631a if (image->isNull()) { state = Error; return -1; }' src/gui/image/qgifhandler.cpp sed -i -e "/#if/d" -e "/#error/d" -e "/#endif/d" config.tests/unix/libmng/libmng.cpp sed -i '/CONFIG -/ a\isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../..' src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro [edit configure to force gstreamer=yes & enter pkg-config --cflags/libs] pkg-config --cflags gstreamer-0.10 gstreamer-plugins-base-0.10 QT_CFLAGS_GSTREAMER="-pthread -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2" QT_LIBS_GSTREAMER="-L/usr/local/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2" CFG_GSTREAMER=yes QMakeVar set QT_CFLAGS_GSTREAMER "$QT_CFLAGS_GSTREAMER" QMakeVar set QT_LIBS_GSTREAMER "$QT_LIBS_GSTREAMER" QT4LINK=/usr/local CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe" ./configure -prefix /usr/local -bindir /usr/local/bin -plugindir /usr/local/lib/qt4/plugins -importdir /usr/local/lib/qt4/imports -headerdir /usr/local/include/qt4 -datadir /usr/local/share/qt4 -sysconfdir /usr/local/etc/xdg -docdir /usr/local/share/doc/qt4 -demosdir /usr/local/share/doc/qt4/demos -examplesdir /usr/local/share/doc/qt4/examples -translationdir /usr/local/share/qt4/translations -confirm-license -opensource -release -system-sqlite -qt3support -no-phonon -no-phonon-backend -no-nis -no-openvg -nomake demos -nomake examples -no-exceptions -gstreamer -optimized-qmake find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; time make -j5 [real 30m 43.48s] find . -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \; sudo make install sudo rm -rf /usr/local/tests sudo install -Dm644 src/gui/dialogs/images/qtlogo-64.png /usr/local/share/pixmaps/qt4logo.png sudo install -Dm644 tools/assistant/tools/assistant/images/assistant-128.png /usr/local/share/pixmaps/assistant-qt4.png sudo install -Dm644 tools/designer/src/designer/images/designer.png /usr/local/share/pixmaps/designer-qt4.png sudo install -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png /usr/local/share/pixmaps/linguist-qt4.png sudo install -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png /usr/local/share/pixmaps/qdbusviewer-qt4.png sudo su for file in 3Support CLucene Core DBus Declarative DesignerComponents Designer Gui Help Multimedia Network OpenGL Script ScriptTools Sql Svg Test UiTools WebKit XmlPatterns Xml phonon do [ -e /usr/local/lib/libQt${file}.prl ] && sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' /usr/local/lib/libQt${file}.prl done unset file Build type: linux-g++ Architecture: x86_64 Platform notes: - Also available for Linux: linux-kcc linux-icc linux-cxx Build .................. libs tools docs translations Configuration .......... system-sqlite release largefile stl precompile_header mmx 3dnow sse sse2 sse3 ssse3 sse4_1 sse4_2 avx minimal-config small-config medium-config large-config full-config qt3support accessibility opengl shared reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png system-tiff system-freetype system-zlib cups iconv glib dbus openssl x11sm xshape xvideo xsync xrender mitshm fontconfig xkb alsa pulseaudio icu concurrent xmlpatterns multimedia audio-backend svg script scripttools declarative release Debug .................. no Qt 3 compatibility ..... yes QtDBus module .......... yes (run-time) QtConcurrent code ...... yes QtGui module ........... yes QtScript module ........ yes QtScriptTools module ... yes QtXmlPatterns module ... yes Phonon module .......... no Multimedia module ...... auto SVG module ............. yes WebKit module .......... yes JavaScriptCore JIT ..... To be decided by JavaScriptCore Declarative module ..... yes Declarative debugging ...yes Support for S60 ........ no Symbian DEF files ...... no STL support ............ yes PCH support ............ yes MMX/3DNOW/SSE/SSE2/SSE3. yes/yes/yes/yes/yes SSSE3/SSE4.1/SSE4.2..... yes/yes/yes AVX..................... yes Graphics System ........ default IPv6 support ........... yes IPv6 ifname support .... yes getaddrinfo support .... yes getifaddrs support ..... yes Accessibility .......... yes NIS support ............ no CUPS support ........... yes Iconv support .......... yes Glib support ........... yes GStreamer support ...... yes PulseAudio support ..... yes Large File support ..... yes GIF support ............ plugin TIFF support ........... plugin (system) JPEG support ........... plugin (system) PNG support ............ yes (system) MNG support ............ plugin (system) zlib support ........... system Session management ..... yes OpenGL support ......... yes (Desktop OpenGL) OpenVG support ......... no NAS sound support ...... no XShape support ......... yes XVideo support ......... yes XSync support .......... yes Xinerama support ....... runtime Xcursor support ........ runtime Xfixes support ......... runtime Xrandr support ......... runtime Xrender support ........ yes Xi support ............. runtime MIT-SHM support ........ yes FontConfig support ..... yes XKB Support ............ yes immodule support ....... yes GTK theme support ...... yes SQLite support ......... plugin (system) OpenSSL support ........ yes (run-time) Alsa support ........... yes ICD support ............ no libICU support ......... yes Use system proxies ..... no g++ -Wl,-rpath-link,/usr/src/qt-everywhere-opensource-src-4.8.6/lib -fno-exceptions -Wl,-O1 -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -o ../../bin/qtconfig .obj/release-shared/colorbutton.o .obj/release-shared/main.o .obj/release-shared/previewframe.o .obj/release-shared/previewwidget.o .obj/release-shared/mainwindow.o .obj/release-shared/paletteeditoradvanced.o .obj/release-shared/moc_colorbutton.o .obj/release-shared/moc_previewframe.o .obj/release-shared/moc_previewwidget.o .obj/release-shared/moc_mainwindow.o .obj/release-shared/moc_paletteeditoradvanced.o .obj/release-shared/qrc_qtconfig.o -L/usr/src/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lQtGui -L/usr/src/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lQtCore -lpthread -lXrender -L/usr/local/lib -lfontconfig -lfreetype -lXext -lX11 -lm /usr/local/bin/ld: .obj/release-shared/mainwindow.o: undefined reference to symbol 'gst_object_unref' /usr/local/lib/libgstreamer-0.10.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:129: recipe for target '../../bin/qtconfig' failed make[2]: *** [../../bin/qtconfig] Error 1 make[2]: Leaving directory '/usr/src/qt-everywhere-opensource-src-4.8.6/tools/qtconfig' Makefile:266: recipe for target 'sub-qtconfig-make_default-ordered' failed make[1]: *** [sub-qtconfig-make_default-ordered] Error 2 make[1]: Leaving directory '/usr/src/qt-everywhere-opensource-src-4.8.6/tools' Makefile:854: recipe for target 'sub-tools-make_default-ordered' failed make: *** [sub-tools-make_default-ordered] Error 2 Command exited with non-zero status 2 real 30m 44.02s