Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7001415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:48:00+00:00 2026-05-27T20:48:00+00:00

I have just started having a go at developing a small KDE app as

  • 0

I have just started having a go at developing a small KDE app as a test for myself and I have had some problems fathoming how to use cmake which I have largely overcome. Currently my app builds ok (i.e. cmake && make run without errors). However running ‘make install’ gives the following error:

    kemra102@kaon:~/projects/kquickformat/build> make install
[  0%] Built target kquickformat_automoc
Scanning dependencies of target kquickformat
[ 50%] Building CXX object src/CMakeFiles/kquickformat.dir/kquickformat_automoc.o             
Linking CXX executable kquickformat                                                           
[100%] Built target kquickformat                                                              
Linking CXX executable CMakeFiles/CMakeRelink.dir/kquickformat
Install the project...                                                                        
-- Install configuration: ""                                                                  
-- Installing: /usr/local/bin/kquickformat
CMake Error at src/cmake_install.cmake:38 (FILE):
  file INSTALL cannot copy file
  "/home/kemra102/projects/kquickformat/build/src/CMakeFiles/CMakeRelink.dir/kquickformat"
  to "/usr/local/bin/kquickformat".
Call Stack (most recent call first):
  cmake_install.cmake:37 (INCLUDE)


make: *** [install] Error 1

Any ideas as nothing seems obvious to myself?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:48:01+00:00Added an answer on May 27, 2026 at 8:48 pm

    To install to default locations you usually need root privileges. So either use sudo make install, or rerun cmake specifying an installation prefix where you have write permission. For example, I use:

    cmake -DCMAKE_INSTALL_PREFIX=$HOME/install/
    

    If you do that, remember also to set all Qt and KDE related environment variables, otherwise the application you installed will not be working properly or at all. I usually call a shell function that does something like:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/install/lib
    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/install/lib/pkgconfig
    export KDEDIR=$HOME/install
    export KDEDIRS=$KDEDIR
    export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/install
    export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$HOME/install/plugins
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started learning Erlang and am trying out some Project Euler problems
I have just started to use NHibernate 3.2 with its new Conformist API, having
I have just started learning MVVM and having a dilemna. If I have a
I am having a problem that just started happening in OS 3.1. I have
I have just started using Rhino mocks and I am having difficulty doing that.
I have just started trying to build my first wp7 app, and I am
I have just started developing using Youtube API and stuck in very beginning. I
I've just recently started developing a site for iPhone using jQTouch, and have the
I have just started to develop android application yesterday and having a great fun
I have just started reading a C++ textbook and I am having trouble solving

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.