[OpenSIPS-Users] OpenSIPs 1.4.4 rpm on CentOS

Marc Leurent marc.leurent at vtx-telecom.ch
Thu Feb 26 10:41:47 CET 2009


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_src.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.mysql
> >> > File not
> >> > found:
> >> > /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.postgres
> >> > File not
> >> > found:
> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/postgres.so 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.pgsql
> >> > File not
> >> > found:
> >> > /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.unixodbc
> >> > File not
> >> > found:
> >> > /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/unixodbc.so 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 !
================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensips-compilation-spec-4.4-julian-error.log
Type: text/x-log
Size: 16635 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20090226/a28aec3b/attachment-0001.bin 


More information about the Users mailing list