When configuring certain programs for compilation from source it’s required to include path to required libraries/packages. I don’t know how to obtain that information. For example, how do I know the installation prefix for openssl on my system? It’s not in the default directory (/usr/local/openssl). Any help with that would be greatly appreciated.
Nothing coming from the distro is at /usr/local/*; this is strictly reserved for stuff you add by your own. The usual prefix for compilation is /usr. You can check how any (existing) package is installed by downloading the respective source rpm, opening the package with unrpm and looking at the *.spec file.
On 2010-09-12 14:36, vodoo wrote:
>
> Nothing coming from the distro is at /usr/local/*; this is strictly
> reserved for stuff you add by your own. The usual prefix for compilation
> is /usr. You can check how any (existing) package is installed by
> downloading the respective source rpm, opening the package with unrpm
> and looking at the *.spec file.
Eummm… :-? The destination for the compilation would be /usr/local/, that’s standard practice.
The “.configure” script should find out where anything it needs is installed, which would be,
normally, under /usr. However, some projects look first under /usr/local instead.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))