Closed MazeChaZer closed 9 years ago
The Travis build passes, the problem is, you don't have permissions for mkdir
Oh I see, it seems that the DESTDIR
option I'm trying to pass to make install
doesn't have any effect.
I would like to be able to install the files to a certain subdirectory and not into /
so that I can package them. I also tried the prefix
option now, but it doesn't work neither.
Is there any command line option to change the installation root?
@MazeChaZer Wait, I'm confuesed. The log you posted was for make check
. If you want to install the components you just have to run qmake && sudo make install
. This will install the framework in the Qt modules folder, so that you could do this in qml: import Material 0.1
. What do you actually want to do?
Ok, this is a little complicated for me, too, because all this packaging stuff is quite new to me, but I try to explain again what I want to archieve.
In the log I posted above I ran 3 commands:
$ qmake
$ make check
$ make DESTDIR="/tmp/qml-extras" install
qmake
and make check
ran perfectly fine, while make DESTDIR="/tmp/qml-extras" install
fails because it tries to install the files into the system directories.
Now what I want to archive:
I want to create an Arch Linux package.
To do this, I want to install all the files of the project into a subdirectory /tmp/qml-extras
so that I can bundle all of them in an installable package. So for example, instead of /usr/lib/qt/qml
I want the QML files to be installed into /tmp/qml-extras/usr/lib/qt/qml
.
For other projects that use make
without qmake
the above install command works, there you can just specify the DESTDIR
parameter and all files are installed into this path rather than into the root directory. I am wondering if this is also possible with qmake
.
Thanks for your responses so far, they were a big help getting closer to the core of the problem.
@MazeChaZer In that case you don't even need to do anything. make install
basically just moves the files. You can just copy paste :) BTW, I am pretty sure @iBeliever said no arch packages at this time (I think so). Anyway, you should check out the powerpack repo.
Oh cool this makes it a lot easier ;) I was creating the package just for myself to keep my system tidy, I don't like to install into system directories directly from source without a package manager. I'm pretty sure I'll be able to create a package this way, @boghison thanks again for your help and patience :)
@MazeChaZer Oh, no problem, but you really should go celebrate New Year's Eve and leave the package building for later ;)
@boghison Yep, that's what I did ;) Happy New Year!
I am trying to create an Arch Linux package to install these plugins on my system, but the compilation fails and I cannot figure out why. I have the latest qt5-declarative and qt5-tools packages installed on my 64 bit Arch Linux. This is the console output of the compilation: