After downloading "celt-0.11.1.tar.gz" to OS X 10.6, I was able to ./configure and make with no problems. However, when I "git clone git://git.xiph.org/celt.git" then cd to celt, there is no file called "configure". So, I just took a guess and ran autogen.sh which then created a "configure" I then ran the new ./configure and saw the following: ./configure: line 11916: syntax error near unexpected token `tools="tools",' ./configure: line 11916: ` XIPH_PATH_OGG(tools="tools", tools="")' Please forgive my ignorance, but is this a problem in my setup or in the configure script, and what is the proper method of building after doing a git clone? Thanks for any pointers. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20110427/c559c2d1/attachment-0002.htm
> I then ran the new ./configure and saw the following: > > ./configure: line 11916: syntax error near unexpected token `tools="tools",' > ./configure: line 11916: ` XIPH_PATH_OGG(tools="tools", tools="")'This clear and concise error message from autotools means that ogg.m4 was not found, probably because you don't have libogg installed.
I verified that /usr/local/share/aclocal contains a copy of ogg.m4 I then deleted my celt folder, did a fresh git clone of the celt repository, ran autogen.sh, ran configure. I still receive the same error message. I begin to see where the patience comes in. ;) On Wed, Apr 27, 2011 at 4:43 PM, Timothy B. Terriberry <tterribe at xiph.org>wrote:> You can probably tell that I am new to these build tools, so thanks for >> your patience. >> > > I'm here to tell you that after years of using them, you still need > patience. autogen.sh creates a file called aclocal.m4 which has local copies > of all the m4 macros needed for configure. This includes (by copying, not by > reference), /usr/share/local/ogg.m4. So you need to re-run autogen.sh after > installing libogg. >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20110427/4d12c870/attachment-0002.htm
> I begin to see where the patience comes in. ;)Yeah, you've now exhausted my autotools knowledge (it wasn't very hard). Do you have a line like AC_DEFUN([XIPH_PATH_OGG], in the aclocal.m4 file autogen.sh created in your git checkout?