Bureaucrats, cc_docs_admin, cc_staff
2,320
edits
(Added some info about compute canada stack) |
No edit summary |
||
Line 20: | Line 20: | ||
<!--T:5--> | <!--T:5--> | ||
Sometimes this will work exactly as prescribed, but sometimes it will fail at <code>make install</code> because the package expects to be able to write to <code>/usr/local</code> or some other shared area in the file system. It will always fail if <code>sudo make install</code> is attempted, because <code>sudo</code> is a request for "root" or administrator privileges. The usual solution is to supply a <code>--prefix</code> flag at the <code>configure</code> step, to direct the installation to go to the directory of your choice, ''e.g.:'' | Sometimes this will work exactly as prescribed, but sometimes it will fail at <code>make install</code> because the package expects to be able to write to <code>/usr/local</code> or some other shared area in the file system. It will always fail if <code>sudo make install</code> is attempted, because <code>sudo</code> is a request for "root" or administrator privileges. The usual solution is to supply a <code>--prefix</code> flag at the <code>configure</code> step, to direct the installation to go to the directory of your choice, ''e.g.:'' | ||
{{Command|./configure --prefix{{=}} | {{Command|./configure --prefix{{=}}/my/project/directory/some-package && make && make install}} | ||
<!--T:6--> | <!--T:6--> |