Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

follow $PREFIX #10

Open
karelzak opened this issue Dec 22, 2015 · 1 comment
Open

follow $PREFIX #10

karelzak opened this issue Dec 22, 2015 · 1 comment

Comments

@karelzak
Copy link

Build system promises installation to /usr/local, but binaries go to /usr/lib64 and /usr/bin and gettext stuff to /usr/share/locale

$ cmake ../
...
-- *** Building s63_pi ***
-- *** Will install to /usr/local ***

$ sudo make install
...
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Debug"
-- Installing: /usr/lib64/opencpn/libs63_pi.so
-- Installing: /usr/bin/OCPNsenc
... etc.

It would be really nice to have all by default in /usr/local like opencpn.

@leamas
Copy link

leamas commented Oct 24, 2018

However, as of today CMakeLists supports the (non-obvious) PREFIX option, so cmake -DPREFIX=/usr/local should make the trick. Which possibly means that this bug could be closed (?)

bdbcat added a commit that referenced this issue Jul 17, 2021
bdbcat added a commit that referenced this issue Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants