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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org