[Freeswitch-dev] 1.2.0 doesn't build on CentOS using RPM spec file

Ken Rice krice at freeswitch.org
Wed Aug 8 23:52:06 MSD 2012


This is a problem where your machine doesnt like the bootstrapped tarball
that you have... this is not a rpmbuild problem...

also this is an issue that should have been reported via jira.

We can not stress enough, please file all bugs via jira and add the
information requested so that we can know the version etc that you are
running

K

On Wed, Aug 8, 2012 at 2:23 PM, Tom Parrott <tomp at tomp.co.uk> wrote:

> I tried adding rebootstrap.sh to the build before running ./configure.
>
> This fixed the first error, but later in the build I got another error:
>
>      then mv -f ".deps/libfreeswitch_la-switch_apr.Tpo"
> ".deps/libfreeswitch_la-switch_apr.Plo"; else rm -f
> ".deps/libfreeswitch_la-switch_apr.Tpo"; exit 1; fi
> /home/rpmbuild/BUILD/freeswitch-1.2.0/libtool: line 466: CDPATH: command
> not found
> /home/rpmbuild/BUILD/freeswitch-1.2.0/libtool: line 1144:
> func_opt_split: command not found
> libtool: Version mismatch error.  This is libtool 2.2.6b, but the
> libtool: definition of this LT_INIT comes from an older release.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
> libtool: and run autoconf again.
> make[1]: *** [libfreeswitch_la-switch_apr.lo] Error 1
> make[1]: Leaving directory `/home/rpmbuild/BUILD/freeswitch-1.2.0'
> make: *** [all] Error 2
> error: Bad exit status from /home/rpmbuild/tmp/rpm-tmp.46063 (%build)
>
>
> Thanks
> Tom
>
> On 08/08/12 19:32, Tom Parrott wrote:
> > Hi,
> >
> > I have been building Freeswitch both git head and 1.2.rc2 on CentOS 5
> > for some time.
> >
> > However the stable tarball of 1.2.0 fails using the spec file supplied
> > with the error:
> >
> > libtool: link: ( cd ".libs" && rm -f "libcurl.la" && ln -s
> > "../libcurl.la" "libcurl.la" )
> > make[3]: Leaving directory
> > `/home/rpmbuild/BUILD/freeswitch-1.2.0/libs/curl/lib'
> > make[2]: Leaving directory
> > `/home/rpmbuild/BUILD/freeswitch-1.2.0/libs/curl/lib'
> > Making all in src
> > make[2]: Entering directory
> > `/home/rpmbuild/BUILD/freeswitch-1.2.0/libs/curl/src'
> > (CDPATH="${ZSH_VERSION+.}:" && cd .. && autoheader)
> > aclocal.m4:20: warning: this file was generated for autoconf 2.63.
> > You have another version of autoconf.  It may work, but is not
> > guaranteed to.
> > If you have problems, you may need to regenerate the build system
> > entirely.
> > To do so, use the procedure documented by the package, typically
> > `autoreconf'.
> > configure.ac:65: error: Autoconf version 2.62 or higher is required
> > aclocal.m4:8467: AM_INIT_AUTOMAKE is expanded from...
> > configure.ac:65: the top level
> > autom4te: /usr/bin/m4 failed with exit status: 63
> > autoheader: /usr/bin/autom4te failed with exit status: 63
> > make[2]: *** [config.h.in] Error 63
> > make[2]: Leaving directory
> > `/home/rpmbuild/BUILD/freeswitch-1.2.0/libs/curl/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/rpmbuild/BUILD/freeswitch-1.2.0/libs/curl'
> > make: *** [libs/curl/lib/libcurl.la] Error 2
> > error: Bad exit status from /home/rpmbuild/tmp/rpm-tmp.30829 (%build)
> >
> >
> > RPM build errors:
> >     Bad exit status from /home/rpmbuild/tmp/rpm-tmp.30829 (%build)
> >
> > Have the minimum requirements changed for Freeswitch?
> >
> > Thanks
> > Tom
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120808/bfa8ad87/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list