[asterisk-users] 1.6.2.10 sounds Makefile error?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jul 26 02:22:27 CDT 2010


On Sun, Jul 25, 2010 at 08:06:55PM +0100, Faris Raouf wrote:
> I'm having some mysterious problems installing 1.6.2.10 on Centos 4.8
> (totally up to date). I can't see anything on Google or the list regarding
> this issue, which I find a bit odd considering 1.6.2.10 was released a few
> days ago. I'm therefore assuming there's something weird about my setup,
> even though there shouldn't be!
> 
> I had no problems with 1.6.2.7 or any other release. It is just 1.6.2.10
> that's causing the problem.
> 
> I've tried using an svn checkout and downloading asterisk-1.6.2.10.tar.gz
> and asterisk-1.6.2-current.tar.gz but the same thing happens.
> 
> Basically, after the usual "./configure" and "make", when I "make install" I
> get the following (this is from the SVN attempt but other than the paths all
> is the same):
> 
> #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/asterisk-svn/asterisk-1.6.2/sounds'
> Makefile:144: *** missing separator.  Stop.
> make[1]: Leaving directory `/root/asterisk-svn/asterisk-1.6.2/sounds'
> make: *** [datafiles] Error 2

I don't have such a centos 4.8 system handy to test with.

What version of 'make' do you have?

  make --version
  rpm -q make

In any case, please submit a report to http://issues.asterisk.org/

> 
> 
> Looking at the sounds directory, I have Makefile and sounds.xml
> 
> Running "make install" in that directory gives me the same "Makefile:144 ***
> missing separator. Stop"
> 
> When I copy across the sounds/Makefile from my 1.6.2.7 source directory to
> the 1.6.2.10 source directory, all is well again and I can "make install"
> with no errors.
> 
> I did a diff on the two Makefiles and there are what appear to be several
> differences, but I can't put my finger on any obvious errors.

My initial suspect is
http://svnview.digium.com/svn/asterisk?view=revision&revision=267820
as it uses some not-completely-"standard" Makefile directives.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list