mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-07-21 11:36:15 +08:00
autoconf-archive no longer needed
parent
43467c568f
commit
71fc2248ba
@ -26,7 +26,6 @@ The following instructions are for building on Linux, which also can be applied
|
|||||||
|
|
||||||
* A compiler for C and C++: GCC or Clang
|
* A compiler for C and C++: GCC or Clang
|
||||||
* GNU Autotools: autoconf, automake, libtool
|
* GNU Autotools: autoconf, automake, libtool
|
||||||
* autoconf-archive
|
|
||||||
* pkg-config
|
* pkg-config
|
||||||
* [Leptonica](http://www.leptonica.org/)
|
* [Leptonica](http://www.leptonica.org/)
|
||||||
* libpng, libjpeg, libtiff
|
* libpng, libjpeg, libtiff
|
||||||
@ -37,7 +36,6 @@ If they are not already installed, you need the following libraries (Ubuntu 16.0
|
|||||||
```
|
```
|
||||||
sudo apt-get install g++ # or clang++ (presumably)
|
sudo apt-get install g++ # or clang++ (presumably)
|
||||||
sudo apt-get install autoconf automake libtool
|
sudo apt-get install autoconf automake libtool
|
||||||
sudo apt-get install autoconf-archive
|
|
||||||
sudo apt-get install pkg-config
|
sudo apt-get install pkg-config
|
||||||
sudo apt-get install libpng-dev
|
sudo apt-get install libpng-dev
|
||||||
sudo apt-get install libjpeg8-dev
|
sudo apt-get install libjpeg8-dev
|
||||||
@ -323,7 +321,7 @@ sudo make install
|
|||||||
### Install required packages
|
### Install required packages
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo port install autoconf autoconf-archive automake libtool
|
sudo port install autoconf automake libtool
|
||||||
sudo port install pkgconfig
|
sudo port install pkgconfig
|
||||||
sudo port install leptonica
|
sudo port install leptonica
|
||||||
```
|
```
|
||||||
@ -370,7 +368,7 @@ sudo make install training-install
|
|||||||
### Install dependencies
|
### Install dependencies
|
||||||
|
|
||||||
```
|
```
|
||||||
brew install automake autoconf autoconf-archive libtool
|
brew install automake autoconf libtool
|
||||||
brew install pkgconfig
|
brew install pkgconfig
|
||||||
brew install icu4c
|
brew install icu4c
|
||||||
brew install leptonica
|
brew install leptonica
|
||||||
@ -410,6 +408,8 @@ make training # if installed with training dependencies
|
|||||||
```
|
```
|
||||||
ensure that `autoconf-archive` is installed. Don't forget to run `./autogen.sh` after the installation of `autoconf-archive`. Note this error happens often under CentOS, where `autoconf-archive` is missing and no package is available. [Some projects](https://github.com/ic/autoconf-archive-rpmbuilder) help with installing.
|
ensure that `autoconf-archive` is installed. Don't forget to run `./autogen.sh` after the installation of `autoconf-archive`. Note this error happens often under CentOS, where `autoconf-archive` is missing and no package is available. [Some projects](https://github.com/ic/autoconf-archive-rpmbuilder) help with installing.
|
||||||
|
|
||||||
|
The latest code from GitHub does not require `autoconf-archive`.
|
||||||
|
|
||||||
* If configure fails with such error "configure: error: Leptonica 1.74 or higher is required." Try to install libleptonica-dev package.
|
* If configure fails with such error "configure: error: Leptonica 1.74 or higher is required." Try to install libleptonica-dev package.
|
||||||
|
|
||||||
* If you are sure you have installed leptonica (for example in /usr/local) then probably pkg-config is not looking at your install folder (check with `pkg-config --variable pc_path pkg-config`).
|
* If you are sure you have installed leptonica (for example in /usr/local) then probably pkg-config is not looking at your install folder (check with `pkg-config --variable pc_path pkg-config`).
|
||||||
|
Loading…
Reference in New Issue
Block a user