troubleshooting Question

Building ASterisk RPM

Avatar of kasiencja
kasiencjaFlag for Canada asked on
LinuxIP Telephony
1 Comment1 Solution743 ViewsLast Modified:
Has anybody successfully created an asterisk 1.6.1.6 rpm?  I'm getting stuck at line:

ASTCFLAGS="%{optflags}" make DEBUG= OPTIMIZE= ASTVARRUNDIR=%{_localstatedir}/run/asterisk ASTDATADIR=%{_datadir}/asterisk NOISY_BUILD=1

getting an error:

+ popd
/usr/src/redhat/BUILD/asterisk-1.6.1.6
+ ASTCFLAGS='-O2 -g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Werror-implicit-function-declaration'
+ make DEBUG= OPTIMIZE= ASTVARRUNDIR=/var/run/asterisk ASTDATADIR=/usr/share/asterisk NOISY_BUILD=1
make: -F.: Command not found
****
**** The configure script must be executed before running 'make'.
****               Please run "./configure".
****
make: *** [makeopts] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.19786 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.19786 (%build)


Thanks,
Kathryn
ASKER CERTIFIED SOLUTION
kasiencja

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros