Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31371

'Package not found' error when installing with 'make install'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.0.2
    • WebKit
    • None

      I've found my build environment had other problems related to pkgconfig. I succeeded to build Qt 5.1.0 without errors. Unless others report the same issue, I think this bug may be marked as resolved.

      Thank you.

      I'm trying to build Qt-5.0.2 from sources, it configures and builds successfully, but throws an error when I do "make install":

      ( test -e Makefile.WebKit2.Target || /usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake /usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit2/Target.pri -o Makefile.WebKit2.Target ) && make -f Makefile.WebKit2.Target install
      make[3]: Entering directory `/usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit2'
      /usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtbase/bin/qmake -o Makefile.WebKit2.Target Target.pri
      Project ERROR: Package x11 not found
      make[3]: *** [Makefile.WebKit2.Target] Error 3
      make[3]: Leaving directory `/usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit2'
      make[2]: *** [sub-Target-pri-install_subtargets-ordered] Error 2
      make[2]: Leaving directory `/usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit2'
      make[1]: *** [sub-Source-WebKit2-WebKit2-pro-install_subtargets-ordered] Error 2
      make[1]: Leaving directory `/usr/src/packages/qt-everywhere-opensource-src-5.0.2/qtwebkit'
      make: *** [module-qtwebkit-install_subtargets] Error 2

      If I go to the mentioned directory manually and trigger qmake manually it works fine.

      I also tried a workaround mentioned on this page: http://qt-project.org/forums/viewreply/109427/ and it worked for me.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            annulen Konstantin Tokarev
            achernov Alexey Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes