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

"make install" not working #31

Closed
probonopd opened this issue Mar 25, 2017 · 8 comments
Closed

"make install" not working #31

probonopd opened this issue Mar 25, 2017 · 8 comments

Comments

@probonopd
Copy link
Contributor

I can't get make install to work on Linux. Is it even supported?

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 25, 2017 via email

@probonopd
Copy link
Contributor Author

Yes. Normally Qt applications can be compiled and installed using

qmake PREFIX=/usr
make
sudo make install

on Linux but that doesn't work here.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 25, 2017 via email

@probonopd
Copy link
Contributor Author

This is what I get:

The command "make -j4" exited with 0.
0.14s$ sudo make DESTIDR=appdir install ; sudo chown -R $USER appdir ; find appdir/
[100%] Built target qt-dab-0.998
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/qt-dab-0.998
-- Removed runtime path from "/usr/qt-dab-0.998"
chown: cannot access ‘appdir’: No such file or directory

So it did not install stuff to appdir/usr/bin/qt-dab.

Here is the build script used:
https://github.com/probonopd/qt-dab/blob/cccfab06c271c132e6ff52dfaa4e949fe38917d6/.travis.yml

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 26, 2017 via email

@probonopd
Copy link
Contributor Author

At least it works for many other applications...

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Mar 26, 2017 via email

@probonopd
Copy link
Contributor Author

Thanks for catching and sorry for the noise. With DESTDIR it should hopefully work.

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