Module: sip-router Branch: master Commit: 14122925eb86238b8bae707776fba0ef283b8dd7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14122925...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Thu Oct 1 15:57:33 2009 +0200
db_mysql: automatically install sip-router_mysql.sh
---
modules/db_mysql/Makefile | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/modules/db_mysql/Makefile b/modules/db_mysql/Makefile index c3e3e43..a1b8a8a 100644 --- a/modules/db_mysql/Makefile +++ b/modules/db_mysql/Makefile @@ -22,4 +22,12 @@ LIBS=-L/usr/lib/mysql -L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/mysql \ SERLIBPATH=../../lib SER_LIBS=$(SERLIBPATH)/srdb2/srdb2 $(SERLIBPATH)/srdb1/srdb1
+install-mysql-script: $(bin_prefix)/$(bin_dir) + sed -e "s#^DEFAULT_SCRIPT_DIR.*#DEFAULT_SCRIPT_DIR="$(share_prefix)/$(share_dir)"#g" \ + < ../../scripts/mysql/$(SCR_NAME)_mysql.sh > \ + $(bin_prefix)/$(bin_dir)/$(MAIN_NAME)_mysql.sh + chmod 755 $(bin_prefix)/$(bin_dir)/$(MAIN_NAME)_mysql.sh + +install-scripts: install-mysql-script + include ../../Makefile.modules
On Donnerstag, 1. Oktober 2009, Andrei Pelinescu-Onciul wrote:
Module: sip-router Branch: master Commit: 14122925eb86238b8bae707776fba0ef283b8dd7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1412292 5eb86238b8bae707776fba0ef283b8dd7
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Thu Oct 1 15:57:33 2009 +0200
db_mysql: automatically install sip-router_mysql.sh
Hello Andrei,
i get now the following error when i try to build the db_mysql module:
henning@ca:~/projects/sip-router/modules/db_mysql$ make distclean config.mak included henning@ca:~/projects/sip-router/modules/db_mysql$ make config.mak included config.mak included sed -e "s#^DEFAULT_SCRIPT_DIR.*#DEFAULT_SCRIPT_DIR="/usr/local/share/ser/"#g" \ < ../../scripts/mysql/sip-router_mysql.sh > \ /usr/local/sbin//ser_mysql.sh /bin/sh: cannot create /usr/local/sbin//ser_mysql.sh: Permission denied make: *** [install-mysql-script] Error 2
Perhaps this is related to this change?
Thanks,
Henning
On Oct 05, 2009 at 12:43, Henning Westerholt henning.westerholt@1und1.de wrote:
On Donnerstag, 1. Oktober 2009, Andrei Pelinescu-Onciul wrote:
Module: sip-router Branch: master Commit: 14122925eb86238b8bae707776fba0ef283b8dd7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1412292 5eb86238b8bae707776fba0ef283b8dd7
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Thu Oct 1 15:57:33 2009 +0200
db_mysql: automatically install sip-router_mysql.sh
Hello Andrei,
i get now the following error when i try to build the db_mysql module:
[...]
Perhaps this is related to this change?
Yes it is. Fixed, thanks.
Andrei