Re: RUNPATH for module dependencies on Unix/Linux

2011-07-05 Thread Daniel Ruggeri
On 7/5/2011 2:46 AM, Joe Orton wrote: > IMO it is much better to leave this stuff in the control of people who > build the software, who can already set env vars or LDFLAGS as they > require. (It would also be much better if everybody used libtool, since > as you say, the .la files make this pr

Re: RUNPATH for module dependencies on Unix/Linux

2011-07-05 Thread Joe Orton
On Tue, Jul 05, 2011 at 11:25:53AM +0200, Rainer Jung wrote: > > I will think about a good way, how users can pass additional LDADD > > flags. Putting the "-R ..." into the LDFLAGS seems to be too heavy, > > because then the RPATH of every module etc. will contain the given > > directory. The real

Re: RUNPATH for module dependencies on Unix/Linux

2011-07-05 Thread Rainer Jung
> I will think about a good way, how users can pass additional LDADD > flags. Putting the "-R ..." into the LDFLAGS seems to be too heavy, > because then the RPATH of every module etc. will contain the given > directory. The real problematic cases are only mod_lua and in rare > circumstances (you w

Re: RUNPATH for module dependencies on Unix/Linux

2011-07-05 Thread Rainer Jung
Hi Joe, On 05.07.2011 09:46, Joe Orton wrote: > On Mon, Jul 04, 2011 at 09:07:49PM +0200, Rainer Jung wrote: >> Hi everyone, >> >> a couple of modules have additional external dependencies: >> >> mod_deflate: zlib >> mod_lua: lua >> mod_serf: serf >> mod_socache_dc: distcache >> >> At the moment,

Re: RUNPATH for module dependencies on Unix/Linux

2011-07-05 Thread Joe Orton
On Mon, Jul 04, 2011 at 09:07:49PM +0200, Rainer Jung wrote: > Hi everyone, > > a couple of modules have additional external dependencies: > > mod_deflate: zlib > mod_lua: lua > mod_serf: serf > mod_socache_dc: distcache > > At the moment, the compiled modules do not contain any RPATH/RUNPATH >

RUNPATH for module dependencies on Unix/Linux

2011-07-04 Thread Rainer Jung
Hi everyone, a couple of modules have additional external dependencies: mod_deflate: zlib mod_lua: lua mod_serf: serf mod_socache_dc: distcache At the moment, the compiled modules do not contain any RPATH/RUNPATH info except when the libraries themselves are installed as libtool libraries, i.e.

Module dependencies

2007-04-13 Thread Joachim Zobel
Hi. I have a module (mod_xml2) that exports several functions and another one (mod_i18n) that uses them. So by now mod_xml2 has to be loaded first. This is of course not desirable and I want to get rid of it. Are there any other possibilities than to make all exported functions optional? Sincerel