[OpenSIPS-Devel] [ opensips-Feature Requests-2795297 ] Path problems in osipsconsole

SourceForge.net noreply at sourceforge.net
Mon Jun 29 14:33:59 CEST 2009


Feature Requests item #2795297, was opened at 2009-05-22 12:05
Message generated for change (Comment added) made by sacoo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2795297&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: ASeques (sacoo)
Assigned to: Iulia Bublea (iulia_bublea)
Summary: Path problems in osipsconsole

Initial Comment:
I am using the 1.5.1 version on a debian platform compiled by "make deb".
Everything is working as expected except for osipsconsole.
There should be a proper path detection, because it currently causes lots of trouble.

Currently i see this variables poiting to fixed paths to /usr/local/ , there might be more that I already changed.
The optimal solution would be having a definition at the start of the document $INSTALL_PATH or similar that could be set on compile/install time.

140:my $MYLIBDIR = "/usr/local/lib/opensips/opensipsctl";
145:my $DATA_DIR = "/usr/local/share/opensips";
146:my $DBTEXT_PATH = "/usr/local/share/opensips/dbtext/opensips";
150:    $DB_PATH = "/usr/local/etc/opensips/db_berkeley";
531:    $ETCDIR="/usr/local/etc/opensips";
928:                if ( -x "/usr/local/bin/".$_[0] ) {
929:                        $TOOLPATH = "/usr/local/bin/$_[0]";


----------------------------------------------------------------------

>Comment By: ASeques (sacoo)
Date: 2009-06-29 14:33

Message:
I uploaded a small fix, I wrote three variables with share, etc and libs
path so you don't have to go trough the whole file changing stuff.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2795297&group_id=232389



More information about the Devel mailing list