[Freeswitch-users] v1.4.5 build failed on centos 6.5

Dušan Dragić dragic.dusan at gmail.com
Mon Jun 2 18:09:23 MSD 2014


Correction, not removed, just moved to "legacy".

On 2 June 2014 16:05, Dušan Dragić <dragic.dusan at gmail.com> wrote:
> Looks like freeswitch spec file needs to be updated. mod_spidermonkey
> was removed from master/v1.4 some time ago.
>
> On 2 June 2014 14:05, Karsten Horsmann <khorsmann at gmail.com> wrote:
>> Hello,
>>
>> i got the following error message if i build the rpm packages.
>>
>>
>>
>> Processing files: freeswitch-spidermonkey-1.4.5-3.el6.x86_64
>> error: File not found by glob:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/freeswitch/mod/mod_spidermonkey*.so*
>> error: File not found by glob:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libjs.so*
>> error: File not found:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libnspr4.so
>> error: File not found:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libplds4.so
>> error: File not found:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libplc4.so
>>
>>
>> RPM build errors:
>>     File not found by glob:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/freeswitch/mod/mod_spidermonkey*.so*
>>     File not found by glob:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libjs.so*
>>     File not found:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libnspr4.so
>>     File not found:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libplds4.so
>>     File not found:
>> /home/karsten/freeswitch/rpmbuild/BUILDROOT/freeswitch-1.4.5-3.el6.x86_64/usr/lib64/libplc4.so
>> mkdir: cannot create directory `/home/karsten/freeswitch/RPMS': File exists
>>
>>
>> git version 8f5c321714f2759e37f90f8b28916a6bdd4246c3
>>
>> I run this little helper script, to build the rpms with the nice FS
>> build-helpers:
>>
>> #!/bin/bash -xv
>> export LANG=C
>> MY_DIR="/home/karsten/"
>> FS_DIR="freeswitch"
>> export version_number="1.4.5"
>> export build_number="3"
>>
>> if [[ ! -d freeswitch ]]; then
>>     #git clone git://git.freeswitch.org/freeswitch
>>     git clone -b v1.4 git://git.freeswitch.org/freeswitch.git
>> fi
>>
>> #cp freeswitch.spec freeswitch/
>> cd ${FS_DIR} || exit 1
>>
>> if [[ x`pwd` == "x${MY_DIR}" ]]; then
>>         echo "something goes wrong"
>>         exit 1
>> fi
>>
>> for idx in RPMS rpmbuild src_dist
>> do
>>         if [[ -d ${idx} ]]; then
>>             rm -rf ${idx}
>>         fi
>> done
>> ./scripts/ci/src_tarball.sh ${version_number}
>> ./scripts/ci/get_extra_sources.sh ${version_number}
>> ./scripts/ci/rpmbuilder.sh  ${version_number} ${build_number}
>>
>>
>>
>> --
>> Kind Regards
>> *Karsten Horsmann*
>>
>> _________________________________________________________________________
>> 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
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Dušan Dragić



-- 
Dušan Dragić



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list