Bug 349885 - `make install` fails to install the widget to a prefix
Summary: `make install` fails to install the widget to a prefix
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-04 07:23 UTC by zl29ah
Modified: 2021-03-10 02:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.