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