[sr-dev] Compilation ignoring directory settings
Edson - Lists
4lists at gmail.com
Wed Jun 10 23:57:31 CEST 2009
Hi, Daniel
Just returning...
# make clean; make PREFIX=/ install
....
# ser -h
version: ser 2.1.0-dev23-make (i386/linux)
Usage: ser [options]
Options:
-f file Configuration file (default: /usr/local/etc/ser/ser.cfg)
...
# ser
ERROR: loading config file(/usr/local/etc/ser/ser.cfg): No such file or
directory
In other words: nothing changed... still ignoring external settings when
compiling...
Next step it to take a look on "config.mak" and see if something pops-up...
Edson.
Daniel-Constantin Mierla escreveu:
> Hello,
>
> the make system is quite different than what we had in previous kamailio
> version (which is based on old ser makefile system), using config files
> for make.
>
> You can try:
> - make PREFIX=/your/path cfg
> - check config.mak and tune it as you wish
>
> The just to make; make install...
>
> Of course, anything you test and contribute to wiki is very appreciated:
> http://sip-router.org/wiki/tutorials/makefile-system
>
> Cheers,
> Daniel
>
>
> On 06/10/2009 11:41 PM, Edson - Lists wrote:
>> As I suspected:
>>
>> # ser -h
>> version: ser 2.1.0-dev23-make (i386/linux)
>> Usage: ser [options]
>> Options:
>> -f file Configuration file (default: /usr/local/etc/ser/ser.cfg)
>> -L path Modules search path (default:
>> //lib/ser/modules://lib/ser/modules_s://lib/ser/modules_k)
>>
>> and compilation done through:
>> # make clean; make prefix=/ mandir=/usr/local/man
>> cfg_target=/etc/sip-router install
>>
>> How to fix it? Should I open a bug report?
>>
>> Edson.
>>
>> Edson - Lists escreveu:
>>> At the moment, compiling with Your sugestion...
>>>
>>> But isn't this a workaround, since, in Makefile.defs (lines 234-235) is:
>>> # target dirs for various stuff
>>> cfg_target = $(prefix)/$(cfg_dir)
>>>
>>> I'm not sure if it's the correct approach... at lines 1713-1727 both
>>> variables (cfg_dir and cfg_target) are exported... maybe only
>>> cfg_target is used, but as pointed before, it's derived from cfg_dir.
>>> I don't expect it to work...
>>>
>>> Edson.
>>>
>>> Juha Heinanen escreveu:
>>>> Edson - Lists writes:
>>>>
>>>> > I compile and install with:
>>>> > # make prefix=/ mandir=/usr/local/man cfg_dir=/etc/sip-router
>>>> install
>>>>
>>>> instead of cfg_dir, try
>>>>
>>>> cfg_target=/etc/sip-router
>>>>
>>>> -- juha
>>>>
>>>
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
More information about the sr-dev
mailing list