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

Tom Parrott tomp at tomp.co.uk
Fri Aug 10 22:01:38 MSD 2012


Hi,

I gave up with the 1.2.0 tag branch, as it still wouldn't build when the 
1.2.0 tag was checked out from git.

I can report that the current git head builds perfectly though on CentOS 
5, so looks like the issue has been fixed already.

OK will log future stuff on Jira first.

Sometimes feels like I can't win, I got a telling off on the Jitsi SIP 
client mailing for opening a bug on Jira first, without discussing it on 
the mailing list!

Tom


On 08/08/12 20:23, Tom Parrott 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
>




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