Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Bundled fresh does not respect PREFIX and wants to install itself into /usr/... #24

Open
pasnox opened this issue May 1, 2014 · 2 comments

Comments

@pasnox
Copy link
Owner

pasnox commented May 1, 2014

From [email protected] on October 12, 2012 06:01:38

What steps will reproduce the problem? 1. Make sure /opt/ is writable
2. qmake PREFIX=/opt/qwbfs
3. make install What is the expected output? What do you see instead? I expect everything to go under /opt/qwbfs/ . However I'm getting the following:

mlt@nb:/tmp/qwbfsmanager-1.2.3-src$ make install
cd fresh/ && make -f Makefile install
make[1]: Entering directory /tmp/qwbfsmanager-1.2.3-src/fresh' mkdir: cannot create directory/usr/include/qt4/FreshCore/': Permission denied
make[1]: *** [install_fresh_core_headers] Error 1
make[1]: Leaving directory `/tmp/qwbfsmanager-1.2.3-src/fresh'
make: *** [sub-fresh-install_subtargets-ordered] Error 2 What version of the product are you using? On what operating system? 1.2.3 Please provide any additional information below. I'm running Ubuntu GNU/Linux 12.04.1

Original issue: http://code.google.com/p/qwbfs/issues/detail?id=24

@pasnox
Copy link
Owner Author

pasnox commented May 1, 2014

From [email protected] on October 11, 2012 21:27:07

I did not look into details but here is what I did.
It looks like qwbfs links statically with fresh. So I had to reconfigure fresh so it does not want to install into /usr/...

cd fresh
cmake -D CMAKE_INSTALL_PREFIX=/opt/qwbfs .
make install DESTDIR=/opt/qwbfs
cd ..
make install DESTDIR=/opt/qwbfs

Not perfect at all, but

ldd /opt/qwbfs/bin/qwbfsmanager| grep -i fresh

does not show anything and qwbfsmanager starts ok

@pasnox
Copy link
Owner Author

pasnox commented May 1, 2014

From pasnox on October 18, 2012 10:26:24

Hi,

Looks like it's a bug in the qmake handling.
theorically the make install step should not install fresh library, it's only used.
Only qwbfsmanager itself should be installed ( and its dependenceis like resources etc).

Hi will investigate that.

Thanks,

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

No branches or pull requests

1 participant