Bug 349885

Summary: `make install` fails to install the widget to a prefix
Product: [Applications] marble Reporter: zl29ah
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zl29ah 2015-07-04 07:23:43 UTC
Trying to install marble-master to a prefix as described in INSTALL:
cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=prefix -DPACKAGE_ROOT_PREFIX=prefix .
…
make install
…
CMake Error at src/plugins/designer/marblewidget/cmake_install.cmake:44 (file):
  file INSTALL cannot copy file
  "/home/l29ah/projects/marble/src/plugins/designer/marblewidget/libMarbleWidgetPlugin.so"
  to "/usr/lib64/qt4/plugins/designer/libMarbleWidgetPlugin.so".
Call Stack (most recent call first):
  src/plugins/designer/cmake_install.cmake:37 (include)
  src/plugins/cmake_install.cmake:37 (include)
  src/cmake_install.cmake:40 (include)
  cmake_install.cmake:73 (include)

-DWITH_DESIGNER_PLUGIN=NO evades the problem.
Build log: https://dump.bitcheese.net/files/ytixezo/filennBtxV
Comment 1 zl29ah 2015-07-04 07:28:31 UTC
Eh, i mistaken, it's Applications/15.04.
Comment 2 Justin Zobel 2021-03-09 22:51:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 zl29ah 2021-03-10 02:25:44 UTC
Seems working now.