Choose target directory upon "make install"
Is it possible to choose the target directory upon make install after running
I cannot install into /usr/local since I only have an account on a server. I am trying to compile and install the Poco C++ libraries.
Thx in advance.
Sorry! buddy but I do not think there is.However it is not that much of a big deal you can do a:
this removes all your makefiles generated by your first ./configure and assigned to the initial --prefix=/path/to/prefix in your case, this being /usr/local.Now after you have done this you must do a new configure and set a directory you have permissions to, like:
This means that when you run make install, all your libs and bins will be placed in the progname directory in your home folder, beware though you must never delete the progname folder or else your programme is gone.My personal advice, use prefix like this :
Not 100% sure it will work but with the full-stop at the beginning of the folder name it effectively becomes a hidden folder, you therefore never need to worry about deleting it, you won't even see it.
Hope this helps.
Old saying : "The best things in life a free"
Old saying updated :"The best things in life are open source"
normally you choose the install directory during the configuration step:
The usual autotools-generated configure script supports the --help option:
|All times are GMT -5. The time now is 07:54 AM.|