[Home]

Summary:ASTERISK-16434: [patch] [regression] 1.6.2.10 sounds Makefile error prevents install in Centos 4.8 (x86) with GNU Make 3.80
Reporter:Faris Raouf (faris1)Labels:
Date Opened:2010-07-26 09:22:03Date Closed:2010-07-26 17:29:48
Priority:BlockerRegression?Yes
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 17716-syntaxsanity.diff
( 1) issue17716.patch
Description:"make install" from the asterisk-1.6.2.10.tar.gz tarball and from 1.6.2 revision 279420 SVN checkout fails when processing sounds/Makefile under Centos 4.8 (x86) with the following error:

#make install
CFLAGS="  -I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686  "
build_tools/mkpkgconfig /usr/lib/pkgconfig; mkdir -p /var/lib/asterisk/static-http for x in static-http/*; do \
       /usr/bin/install -c -m 644 $x /var/lib/asterisk/static-http ; \ done if [ -d doc/tex/asterisk ] ; then \
               mkdir -p /var/lib/asterisk/static-http/docs ; \
               for n in doc/tex/asterisk/* ; do \
                       /usr/bin/install -c -m 644 $n /var/lib/asterisk/static-http/docs ; \
               done \
fi
mkdir -p /var/lib/asterisk/images
for x in images/*.jpg; do \
       /usr/bin/install -c -m 644 $x /var/lib/asterisk/images ; \ done mkdir -p /var/lib/asterisk/agi-bin make -C sounds install
make[1]: Entering directory `/root/path-to/asterisk-1.6.2.10/sounds'
Makefile:144: *** missing separator.  Stop.
make[1]: Leaving directory `/root/path-to/asterisk-1.6.2.10/sounds'
make: *** [datafiles] Error 2

****** ADDITIONAL INFORMATION ******

This problem was not present in 1.6.2.7. I have not tried 1.6.2.8 or 1.6.2.9

Make version: GNU Make 3.80 (make-3.80-7.EL4)

Copying the sounds/Makefile from the 1.6.2.7 source over to the 1.6.2.10 sounds directory resolves the problem.

I have also tried an SVN checkout (1.6.2 - rev 279420) which produced the same error.
Comments:By: Paul Belanger (pabelanger) 2010-07-26 09:34:33

Just a shot in the dark, do you mind trying this patch?

By: Faris Raouf (faris1) 2010-07-26 12:02:54

I've tried the patch but unfortunately I'm still getting the "Makefile:144: *** missing separator.  Stop." error as before.

By: Tilghman Lesher (tilghman) 2010-07-26 13:35:58

Please type:  svn revert -R .

and try again.

By: Digium Subversion (svnbot) 2010-07-26 14:25:11

Repository: asterisk
Revision: 279561

U   branches/1.6.2/configure
U   branches/1.6.2/configure.ac
D   branches/1.6.2/sounds/Makefile
A   branches/1.6.2/sounds/Makefile.380
A   branches/1.6.2/sounds/Makefile.381

------------------------------------------------------------------------
r279561 | tilghman | 2010-07-26 14:15:59 -0500 (Mon, 26 Jul 2010) | 5 lines

Use a special Makefile for noobs who still have GNU Make 3.80.

(Closes issue ASTERISK-16434)
Reported by: farisraouf

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=279561