[SR-Dev] exlude module from the compilation

Jan Janak jan at iptel.org
Fri Mar 13 03:30:44 CET 2009


Henning,

On 12-03 19:04, Henning Westerholt wrote:
> On Thursday 12 March 2009, Jan Janak wrote:
> > > is there any equivalent to the "exlude_modules" parameter in
> > > Makefiles.defs in the sr tree? For some modules that are contained in the
> > > 'all' branch of 'kamailio-3.0' i don't have dependencies installed, and i
> > > would like to skip them on 'make all'.
> >
> > There is no need to modify the makefile. You can do:
> >
> >  $ make config exclude_modules="abc"
> >
> > and the makefile system will remember that you wanted to exclude the module
> > from compilation every time you run 'make all'.
> >
> > You can specify more modules separated by white space in the value of
> > exclude_modules above.
> 
> Hi Jan,
> 
> thanks for the pointer, thats a cool feature. Some things i noticed during my 
> tests of the 'kamailio-3.0' branch: It seems that the library dependencies of 
> the modules are recompiled again for every module. I thought you fixed 
> something in this regards in the main branch, perhaps this is not yet 
> integrated into this? 

Yes, I noticed the same issue. I remember seeing Andrei fixing and as far as I
can tell I pulled the fix into the kamailio-3.0 repository, see commit-id

19c546113aa78e454ec0f995550fde51828fce81

I reported it to Andrei already, please ignore it for now.

> But i don't remember exactly, its of course not a big 
> issue. A more problematic bug i run into is that the compilation of 
> the 'perl' module run into a endlees loop during the make, because i don't 
> have the necessary dependencies installed, and make somehow don't detects 
> that the compilation fails.

Yes, I had the same issue. I ignored it for now too because I'm not that
familiar with perl and I couldn't figure out what dependencies are needed to
compile everything. Any help with this is, of course, welcome.

  Jan.



More information about the sr-dev mailing list