[Freeswitch-users] rpm build issues on CentOS 5 with trunk

Joseph L. Casale JCasale at activenetwerx.com
Sun Jun 21 18:25:56 PDT 2009


I attempted to build rpm's from the included spec file using a non-root user
build environment. The steps I used are as follows:

1. Check build deps @ http://wiki.freeswitch.org/wiki/Installation_Guide#RHEL.2FCentOS
2. Pulled a copy of trunk in the SOURCES directory & tar/bzip2 it as expected by the spec:
      svn co http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch-1.0.4
      tar cjf freeswitch-1.0.4.tar.bz2 freeswitch-1.0.4/
3. Copy spec to SPECS directory:
4. Pull in Source (Source0 doesn't exist yet, I make it above):
      for SOURCE in $(awk '/^Source[1-9][0-9]*:/ {print $2}' freeswitch.spec); do wget -P ../../SOURCES/ $SOURCE; done
5. Check spec in svn copy for deps:
      yum install $(awk -v ORS=" " '/^BuildRequires:/ {print $2}' freeswitch.spec)
6.Build rpm:
      rpmbuild -ba freeswitch.spec

After some time, near the end I see various issues like the following:

making install mod_speex
installing mod_speex.so
quiet_libtool: install: warning: `/home/builder/rpmbuild/BUILD/freeswitch-1.0.4/libfreeswitch.la'
    has not been installed in `/opt/freeswitch/lib'


It also seems to download everything it would normally again, then fails with
several errors like the following:

RPM build errors:
    File not found by glob: /var/tmp/freeswitch-1.0.4-1-root-builder/opt/freeswitch/mod/ozmod_wanpipe.so*
    Installed (but unpackaged) file(s) found:
   /opt/freeswitch/conf/autoload_configs/cidlookup.conf.xml
   /opt/freeswitch/conf/autoload_configs/nibblebill.conf.xml
   /opt/freeswitch/conf/autoload_configs/unimrcp.conf.xml
   /opt/freeswitch/conf/lang/ru/demo/demo-ivr.xml
.
.
.

After which no rpm's are built? Anyone know what tricks are still needed with
the spec from svn?

Thanks!
jlc




More information about the FreeSWITCH-users mailing list