[OpenSIPS-Users] OpenSIPs 1.4.4 rpm on CentOS - patch OK - should be uploaded in SVN repo!
Marc Leurent
marc.leurent at vtx-telecom.ch
Mon Mar 2 14:48:50 CET 2009
Hello Julian,
I have submitted your patch and it has been accepted! It's now in 1.4 branches
and in trunk version too! Bogdan has just asked if it was possible to adapt
it to trunk version (for 1.5.x)!
I haven't try already!
I'll try to do it later this week!
Best Regards!
Le Thursday 26 February 2009 12.31:03 Julian Yap, vous avez écrit :
> Hi Marc,
>
> That's great news. Just wanted to give something back to the
> community :P I know a lot of people use CentOS such as myself.
>
> Committers, please test and add with Changelog comment:
> Thu Feb 26 2009 Julian Yap <julianokyap at gmail.com>
> * Update spec to OpenSIPS version 1.4.4. Rename database module
> names. Rename PUA module. Fix dependencies. Minor build fixes.
> Additional files and new modules.
>
> Thanks,
> Julian
>
> On Thu, Feb 26, 2009 at 1:19 AM, Marc Leurent
>
> <marc.leurent at vtx-telecom.ch> wrote:
> > It's working! I have done exactly the same thing but without sorting
> > sections in alphabetical order...
> > For me this patch is great and should be added in svn repository!
> > No error, no warning!!
> >
> > Julian, You should add a comment in the changelog!
> >
> >
> > Checking for unpackaged
> > file(s): /usr/lib/rpm/check-files /var/tmp/opensips-1.4.4-buildroot
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-mysql-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-postgres-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-unixodbc-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-jabber-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-cpl-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-pua-1.4.4-0.i386.rpm
> > Wrote: /usr/src/redhat/RPMS/i386/opensips-radius-1.4.4-0.i386.rpm
> > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.33568
> >
> > Have a nice day
> >
> > Le Thursday 26 February 2009 11.47:07 Julian Yap, vous avez écrit :
> >> Marc,
> >>
> >> Try this updated patch file.
> >>
> >> - Julian
> >>
> >> On Wed, Feb 25, 2009 at 11:41 PM, Marc Leurent
> >>
> >> <marc.leurent at vtx-telecom.ch> wrote:
> >> > Hello,
> >> > Thank you for the patch, I was closed to it :-)
> >> > I have applied the patch and launched the following compilation
> >> > command: rpmbuild -bb opensips.spec-4.4-julian
> >> >
> >> >> /root/opensips-compilation-spec-4.4-julian.log
> >> >
> >> > 2> /root/opensips-compilation-spec-4.4-julian-error.log
> >> >
> >> > and I have some strange error,
> >> > I'm compiling it on
> >> > CentOS 5.2
> >> > Linux 2.6.18-92.1.22.el5PAE
> >> > gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
> >> >
> >> > Please find enclosed the error log
> >> > Any clue? I do not understand!
> >> >
> >> > Best Regards!
> >> >
> >> > Le Wednesday 25 February 2009 22.33:34 Julian Yap, vous avez écrit :
> >> >> Hi Marc,
> >> >>
> >> >> I took a look at fixing the spec file.
> >> >>
> >> >> Try the attached patch file. Builds fine for me on CentOS 5.x
> >> >> 32-bit.
> >> >>
> >> >> Developers, please test and accept the patch!
> >> >>
> >> >> Thanks,
> >> >> Julian
> >> >>
> >> >> On Wed, Feb 25, 2009 at 6:04 AM, Marc Leurent
> >> >>
> >> >> <marc.leurent at vtx-telecom.ch> wrote:
> >> >> > Thank you for your answer,
> >> >> > I have seen that you wrote this spec and I thank you for this, but,
> >> >> > in the code retrieved from the opensips website:
> >> >> > http://www.opensips.org/pub/opensips/1.4.4/src/opensips-1.4.4-tls_s
> >> >> >rc. tar .gz the packaging/rpm/asterisk.spec-4.1 defines a 1.4.0
> >> >> > version
> >> >> >
> >> >> > here is the problem I had and how I solve them:
> >> >> > 1) the version parameter was 1.4.0, I have replaced it with 1.4.4
> >> >> > 2) the download URL has changed from
> >> >> > http://opensips.org/pub/opensips/stable/%{name}-%{ver}_src.tar.gz
> >> >> > to
> >> >> > http://www.opensips.org/pub/opensips/%{ver}/src/%{name}-%{ver}-tls_
> >> >> >src .ta r.gz 3) The name of the mysql module has change to db_mysql,
> >> >> > so I had to change some lines into the spec file,...
> >> >> > 4) the name of some build dependencies have changed on centOS, like
> >> >> > unixODBC-devel, not unixodbc-dev,...
> >> >> >
> >> >> > Even without modifying the code to retrieve the 1.4.0 version, it
> >> >> > wasn't working on centOS because of the download URL and the name
> >> >> > of mysql module
> >> >> >
> >> >> > Unfortunatly, I cannot use Debian like I used to and its great
> >> >> > packaging system, so I'm a little bit stuck...
> >> >> >
> >> >> > Thank you for your time.
> >> >> > Have a nice afternoon!
> >> >> >
> >> >> > Le Wednesday 25 February 2009 15.05:22 Bogdan-Andrei Iancu, vous
> >> >> > avez
> >> >
> >> > écrit :
> >> >> >> Hi Marc,
> >> >> >>
> >> >> >> even if the name of the spec is misleading, it will build the 4.4
> >> >> >> (the code you downloaded)....so, have you tried without changing
> >> >> >> the script itself?
> >> >> >>
> >> >> >> Regards,
> >> >> >> Bogdan
> >> >> >>
> >> >> >> Marc Leurent wrote:
> >> >> >> > Hello everybody,
> >> >> >> > I had to migrate from debian to centOS and I would like to build
> >> >> >> > rpm packages of opensips on a CentOS dev server.
> >> >> >> > I have retrieved the opensips.spec-4.1 file from the packaging
> >> >> >> > folder in opensips source code and I'm trying to adapt it to
> >> >> >> > opensips-4.4. I would be very grateful if someone that have
> >> >> >> > already done that could help me...
> >> >> >> >
> >> >> >> > Best Regards,
> >> >> >> >
> >> >> >> > When compiling, I have some path error I'm trying to fix.
> >> >> >> >
> >> >> >> > rpmbuild -bb opensips.spec-4.4
> >> >> >> > ....
> >> >> >> > ....
> >> >> >> > ....
> >> >> >> > RPM build errors:
> >> >> >> > File not found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/sbin/opensips/opensipsctl File
> >> >> >> > not found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.mysql
> >> >> >> > File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/mysql.so
> >> >> >> > File not found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/sbin/opensips_mysql.sh File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensipsctl/opensipsctl.mys
> >> >> >> >ql File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.postg
> >> >> >> >res File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/postgres.s
> >> >> >> >o File not found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/sbin/opensips_postgres.sh File
> >> >> >> > not found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensipsctl/opensipsctl.pgs
> >> >> >> >ql File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.unixo
> >> >> >> >dbc File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/unixodbc.s
> >> >> >> >o File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.pa
> >> >> >> > File not
> >> >> >> > found:
> >> >> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/pa.so
> >> >> >
> >> >> > --
> >> >> > -- --
> >> >> > Marc LEURENT
> >> >> > Ingénieur VoIP
> >> >> >
> >> >> > DECKPOINT SA
> >> >> > Une société du groupe VTX Telecom
> >> >> > ================================================================
> >> >> > Rue Eugène-Marziano 15 - 1227 Les Acacias
> >> >> > http://www.vtx.ch - marc.leurent at vtx-telecom.ch
> >> >> > ----------------------------------------------------------------
> >> >> > VTX, votre partenaire telecom proche de vous !
> >> >> > ================================================================
> >> >> >
> >> >> > _______________________________________________
> >> >> > Users mailing list
> >> >> > Users at lists.opensips.org
> >> >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> >
> >> > --
> >> > -- --
> >> > Marc LEURENT
> >> > Ingénieur VoIP
> >> >
> >> > DECKPOINT SA
> >> > Une société du groupe VTX Telecom
> >> > ================================================================
> >> > Rue Eugène-Marziano 15 - 1227 Les Acacias
> >> > http://www.vtx.ch - marc.leurent at vtx-telecom.ch
> >> > ----------------------------------------------------------------
> >> > VTX, votre partenaire telecom proche de vous !
> >> > ================================================================
> >
> > --
> > -- --
> > Marc LEURENT
> > Ingénieur VoIP
> >
> > DECKPOINT SA
> > Une société du groupe VTX Telecom
> > ================================================================
> > Rue Eugène-Marziano 15 - 1227 Les Acacias
> > http://www.vtx.ch - marc.leurent at vtx-telecom.ch
> > ----------------------------------------------------------------
> > VTX, votre partenaire telecom proche de vous !
> > ================================================================
--
-- --
Marc LEURENT
Ingénieur VoIP
DECKPOINT SA
Une société du groupe VTX Telecom
================================================================
Rue Eugène-Marziano 15 - 1227 Les Acacias
http://www.vtx.ch - marc.leurent at vtx-telecom.ch
----------------------------------------------------------------
VTX, votre partenaire telecom proche de vous !
================================================================
More information about the Users
mailing list