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

CMAKE not honor openbmp.conf installation path #9

Open
v1shnya opened this issue Oct 21, 2022 · 0 comments
Open

CMAKE not honor openbmp.conf installation path #9

v1shnya opened this issue Oct 21, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@v1shnya
Copy link

v1shnya commented Oct 21, 2022

Hi Tim,

during the standard build process I see that the conf file is not being placed where it should be

$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ../
$ make
$ sudo make install
Consolidate compiler generated dependencies of target openbmpd
[100%] Built target openbmpd
Install the project...
-- Install configuration: ""
-- Installing: /usr/bin/openbmpd
-- Up-to-date: **/usr/etc/openbmp/openbmpd.conf**

After making installation path absolute, not reletative it's fixed
install(FILES openbmpd.conf DESTINATION **/etc/openbmp/** COMPONENT config)

And, we get

$ sudo make install
Consolidate compiler generated dependencies of target openbmpd
[100%] Built target openbmpd
Install the project...
-- Install configuration: ""
-- Installing: /usr/bin/openbmpd
-- Up-to-date: **/etc/openbmp/openbmpd.conf**
@TimEvens TimEvens self-assigned this Feb 1, 2023
@TimEvens TimEvens added the bug Something isn't working label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants