Comment 45 for bug 467825

Revision history for this message
Paul Crawford (psc-sat) wrote :

You need 'sudo' for installing the build dependencies, such as:

$ sudo apt-get build-dep upower

But not for getting the source tree, as this is sufficient:

$ apt-get source upower

If you used sudo for that, the source files and their directories it will be owned by the root user. To change this use:

sudo chown -R mikael:mikael upower-0.9.1

Assuming your user name on this system is 'mikael' and you are in the directory you downloaded the source tree to.

To install, normally you need once again to use something like:

$ sudo make install

However, there is a whole world of special building environment/tools that have been created that may be needed by software developers who, it seem, have too much time on their hands and are not satisfied with 'make install' doing some copying :(

Finally a warning! Be very careful with chown/chgrp/chmod and the possibility you can recurs to an unexpected place (e.g. don't use '.*' or similar as that will include '..' which then goes up a level and -R takes you down all directors that are parallel to your current one).