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

How to use relative path for linux installation #194

Closed
frealgagu opened this issue Jun 30, 2018 · 2 comments
Closed

How to use relative path for linux installation #194

frealgagu opened this issue Jun 30, 2018 · 2 comments

Comments

@frealgagu
Copy link

I've tried to compile as follows:
git submodule sync
git submodule update --init --recursive
./prepare.py -c
./prepare.py --list-cmake-variables -DENABLE_RELATIVE_PREFIX=YES

compilation is successful, however the references to libraries are absolute to installation path. I want to move the package to another directory but is not possible because the references pointing to libraries in the original directory.

@sanekmihailow
Copy link

sanekmihailow commented Aug 27, 2018

+1

@ghost
Copy link

ghost commented Dec 13, 2018

the same problems here,
i think it is one way to solve, create a project on ccmake or cmake-gui,
put all needed files such .h and .c into a project-dir and edit the cmake-list.txt
and also the pyprepare, e.g. add a DESTDIR= option for make install
i have not the time to learn it all,
cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants