On Sat, Sep 18, 2010 at 1:54 AM, Rene Pankratz
<[email protected]> wrote:
> Hello,
> as Snom phones are not able to subscribe to RLS with SipX4.2(XX-8652) I
> created a "quick and dirty" patch for this.
> I already placed a feature request at snom, but I want a quick solution that
> will work for me until Snom implemented the right accept header...
> Now after compiling I need to install the new sipxrls on another test
> system.
> Of course I compiled the same revision that is installed on the test system.
> I tried simply replacing /usr/bin/sipxrls with the new one but then got the
> following error shown in services:
>
> Standard error
>
> Failed to load config DB from file '/var/log/sipxpbx/sipxrls-config'
>
>
> Is there a simple way to replace sipxrls?

Not sure how simple it is, but  *try* this.

cd sipXrls
autoreconf -if

 # for 32 bit  (got this by running sipxrls-config --configopts)
./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --with-distdir=../dist SIPX_BUILD_LABEL=open

 #for 64 bit
 ./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
--program-prefix= --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --with-distdir=../dist SIPX_BUILD_LABEL=open

  make all
  sudo make install

Then when you want to replace w/rpm, force re install of
   rpm -Uvh --replacefiles --replacepkgs sipxrls*.rpm



> I wanted to avoid installing via RPM because I want to be able to quickly
> switch back to the original sipxrls after testing.
> René
> _______________________________________________
> sipx-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to