akorentlab / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

autoconfigure stops on deprecation error #850

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download source tarball
2. Run ./autogen.sh

What is the expected output?
No errors.

What do you see instead?
$ ./autogen.sh 
Running aclocal
configure.ac:226: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded 
from...
configure.ac:226: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1

  Something went wrong, bailing out!

What version of the product are you using? On what operating system?
3.02 on OS X 10.8.2

Please provide any additional information below.
There's a patch for the configure.am file here: 
http://trac.macports.org/attachment/ticket/37429/patch-configure.ac.diff
After applying the patch I was able to run autogen with no errors.

The fix is simple. AM_CONFIG_HEADER has been deprecated for a long time.

Original issue reported on code.google.com by scarlac@gmail.com on 9 Feb 2013 at 12:55

GoogleCodeExporter commented 9 years ago
Please search before posting issues. 

Original comment by zde...@gmail.com on 9 Feb 2013 at 9:06