[asterisk-dev] Errors when rebuilding CentOS SRPM 10.7.1

Paul Belanger paul.belanger at polybeacon.com
Mon Sep 10 12:35:16 CDT 2012


On 12-09-10 11:40 AM, Markus wrote:
> Hi,
>
> I've filed a bug report (ConfBridge crashing) and was asked to provide
> gdb output. I'm using the official 10.7.1 RPMs on CentOS 5 64bit. So,
> because DONT_OPTIMIZE is the default, I guess I have to rebuild based on
> the SRPM. I installed all the dependencies "rpmbuild -ba
> /usr/src/redhat/SPECS/asterisk.spec" asked me to install and added
> --enable DONT_OPTIMIZE to line 611 in asterisk.spec. Then I ran
> "rpmbuild -ba /usr/src/redhat/SPECS/asterisk.spec" again and after some
> compiling I'm getting the following:
>
> RPM build errors:
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/codec_speex.so
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/cdr_adaptive_odbc.so
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/cdr_odbc.so
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/cel_odbc.so
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/func_odbc.so
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/res_config_odbc.so
>      File not found:
> /var/tmp/asterisk-10.7.1-root/usr/lib/asterisk/modules/res_odbc.so
>
> What am I missing?
>
Likely missing dependencies?  Also, you should setup mock and then try 
building it.

I'm not a RedHat guy so I'll yield the floor to russellb or leifmadsen 
for mock questions.

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger



More information about the asterisk-dev mailing list