Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Successfully build from source, but installation "Error copying" ...
Forum Updated to NodeBB v4.3 + New Features

Successfully build from source, but installation "Error copying" ...

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jiapei100
    wrote on 21 Jun 2018, 21:38 last edited by jiapei100
    #1

    I successfully built qt source qt-everywhere-src-5.11.1, following the instructions at http://doc.qt.io/qt-5/linux-building.html.

    However, when I tried to install Qt by sudo checkinstall, I got the following error messages:

    Error copying ....../qt-everywhere-src-5.11.1/qtbase/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h to /usr/local/Qt-5.11.1/include/QtPlatformHeaders/qxcbwindowfunctions.h: Cannot create /usr/local/Qt-5.11.1/include/QtPlatformHeaders/qxcbwindowfunctions.h for output
    Makefile:1230: recipe for target 'install_targ_headers' failed

    How to install Qt from source?

    Cheers
    Pei

    Welcome to Longer Vision
    https://www.longervision.com

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Jun 2018, 21:43 last edited by
      #2

      Hi,

      Since you used /usr/local as prefix you need root privilege to create files there.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply 21 Jun 2018, 21:51
      1
      • S SGaist
        21 Jun 2018, 21:43

        Hi,

        Since you used /usr/local as prefix you need root privilege to create files there.

        J Offline
        J Offline
        jiapei100
        wrote on 21 Jun 2018, 21:51 last edited by
        #3

        @SGaist Hi, I actually was using
        sudo checkinstall

        Welcome to Longer Vision
        https://www.longervision.com

        S P 2 Replies Last reply 22 Jun 2018, 06:30
        0
        • J jiapei100
          21 Jun 2018, 21:51

          @SGaist Hi, I actually was using
          sudo checkinstall

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Jun 2018, 06:30 last edited by
          #4

          @jiapei100 said in Successfully build from source, but installation "Error copying" ...:

          sudo checkinstall

          What is checkinstall ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • J jiapei100
            21 Jun 2018, 21:51

            @SGaist Hi, I actually was using
            sudo checkinstall

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 22 Jun 2018, 16:40 last edited by
            #5

            @jiapei100 said in Successfully build from source, but installation "Error copying" ...:

            checkinstall

            that "command" doesn't show up in any location in the documentation you pointed to. Are you meaning:

            make install
            

            (or using sudo make install if the install prefix needs root privileges)

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0

            4/5

            22 Jun 2018, 06:30

            • Login

            • Login or register to search.
            4 out of 5
            • First post
              4/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved