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

Karsten Horsmann khorsmann at gmail.com
Mon Jun 2 16:05:58 MSD 2014


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140602/2d37f75a/attachment-0001.html 


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