[Gllug] How do I make sources available to compile against?

Ashley Evans hoshy at hoshy.co.uk
Wed Dec 1 02:59:16 UTC 2004


On Tuesday 30 November 2004 18:50, Dylan wrote:
> Hi,
>
> Up till now, I've been able to satisfy the requirements of home-compiled
> apps by installing a *-devel or *.src rpm. Now, I've come against one
> with no rpm that I can find - so I've d/loaded and compiled/installed
> the dependency, but I don't know what to do to make the headers
> available for compiling against.
>
> Any and all advice gratefully received.
>
> Dylan
> --
> "I see your Schwartz is as big as mine"
>                                   -Dark Helmet

Commonly, sources that I've compiled using a ./configure have options to 
specify the location of library dependencies. 

Try a ./configure --help and look for an option to tell the script the 
location for the particular library you've installed.

In my experience, which is quite limited :) I've found that hand rolled 
programs and libraries install themselves to /usr/local/ whereas most 
distribution packages install their headers and libs to /usr - sometimes this 
can confuse the configure script.

You may also want to try adding the path of the installed library 
to /etc/ld.so.conf and running ldconfig - afaik (and I would like to be 
corrected if wrong) this only affects programs at runtime when they try to 
locate dynamicly linked libraries, but if the library is installed to a 
non-standard location it may be required.

Hope this helps,

Ashley
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list