Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installing Qt4.8.5 on Ubuntu 10.04 by compiling
Qt 6.12 LTS is out! See what's new in the release blog

Installing Qt4.8.5 on Ubuntu 10.04 by compiling

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 3.5k Views 1 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I'm trying to install Qt 4.8.5 by compiling. I followed the directions at this site.

    "http://blog.matoski.com/2013/01/14/compile-qt-4-8-4-on-ubuntu-10-04-lucid/":http://blog.matoski.com/2013/01/14/compile-qt-4-8-4-on-ubuntu-10-04-lucid/

    It compiles without issue but when I try to install via sudo make install it appears that it's trying to install itself ontop of itself hence all the errors.

    @cp: /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60professional-msvc2005' and /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60professional-msvc2005' are the same file
    make: [install_mkspecs] Error 1 (ignored)
    cp -f -r /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60professional-msvc2008 /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/
    cp: /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60professional-msvc2008' and /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60professional-msvc2008' are the same file
    make: [install_mkspecs] Error 1 (ignored)
    cp -f -r /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60standard-msvc2005 /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/
    cp: /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60standard-msvc2005' and /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60standard-msvc2005' are the same file
    make: [install_mkspecs] Error 1 (ignored)
    cp -f -r /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60standard-msvc2008 /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/
    cp: /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60standard-msvc2008' and /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm60standard-msvc2008' are the same file
    make: [install_mkspecs] Error 1 (ignored)
    cp -f -r /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm65professional-msvc2005 /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/
    cp: /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm65professional-msvc2005' and /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm65professional-msvc2005' are the same file
    make: [install_mkspecs] Error 1 (ignored)
    cp -f -r /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm65professional-msvc2008 /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/
    cp: /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm65professional-msvc2008' and /var/lib/mythtv/compile/qt-everywhere-opensource-src-4.8.5/mkspecs/wincewm65professional-msvc2008' are the same file
    make: [install_mkspecs] Error 1 (ignored)
    @

    I've never seen this type of issue when compiling anything. What went wrong? Did I need to specify an install path?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It seems that you've chosen a bad location to uncompress your files :) Get the tar.gz, extract somewhere in your home directory, then follow that tutorial.

      I prefer building with -prefix (or a -developer-build) that creates a self-contained package: no sudo needed, and the OS remains unpolluted. It also allows to have several Qt builds in parallel (Qt 4 and 5, for example).

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved