@syam. Very good tips.. Its useful to others too
*-- JeevZ * +-----------------------------------------------------------------------------------------------+ * * *| !!Its Better to be Blessed With Nothing Than Cursed with Blessings!! |* +- ---------------------------------------------------------------------------------------------- + Jeevachaithanyan Sivanandan +60102780263 http://about.me/jeevanism On Mon, Jul 30, 2012 at 5:53 PM, Syam <[email protected]> wrote: > > > On Mon, Jul 30, 2012 at 9:02 AM, Visakh <[email protected]> wrote: > >> >> >> That is, I want to be able to test the software without touching the >> default installation (install to a non standard location). > > > Most 'make' based packages will have a 'prefix' argument to the > 'configure' script to install to a custom directory. For example > --prefix=/my/path will install everything relative to that path: > /my/path/lib, /my/path/include etc. > > >> I am willing to compile all required dependencies from source, but the >> compiled apps should be able to link with custom-compiled SOs, rather than >> with the distro's version (ie, ld configuration). > > > Again, most packages I use have an argument to configure the directories > for individual dependent libraries. For example, when building gcc, IIRC, > there are options --with-mpfr=, --with-gmp= which allow you to set the same > prefix directory as you used when building GMP and MPFR for compiling gcc. > There are even more options for fine tuning which will let you specify the > 'include' and 'lib' separately, rather than specifying the 'prefix' path. > I have done this for building new GCC on an RHEL machine without affecting > the installed versions. > > > >> The apps should also invoke other custom-compiled apps when available. > > > For this, I guess you'll have to set LD_LIBRARY_PATH environment variable > to point to your custom directories before you invoke your app. You can do > this in a wrapper starter script so that it doesn't get applied to the > whole system. > > -- > Regards, > > Syam > [email protected] > > -- > "Freedom is the only law". > "Freedom Unplugged" > http://www.ilug-tvm.org > > You received this message because you are subscribed to the Google > Groups "ilug-tvm" group. > To control your subscription visit > http://groups.google.co.in/group/ilug-tvm/subscribe > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > > > > For details visit the google group page: > http://groups.google.com/group/ilug-tvm?hl=en > -- "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en
