[MacPorts] #55394: tesseract @3.04.01: configure: error: leptonica not found

MacPorts noreply at macports.org
Thu Nov 23 21:22:27 UTC 2017


#55394: tesseract @3.04.01: configure: error: leptonica not found
------------------------+----------------------
  Reporter:  cvdenzen   |      Owner:  markemer
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:  invalid    |   Keywords:
      Port:  tesseract  |
------------------------+----------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Somehow your leptonica has decided to install itself into /usr/local
 instead of /opt/local like it should have. You've also got Homebrew
 installed into /usr/local, and that could be the reason for leptonica's
 misbehavior. Installing things into /usr/local is going to cause problems
 for MacPorts, as you see, which is why [wiki:FAQ#usrlocal we don't support
 that]. Please choose whether you would like to use Homebrew or MacPorts.
 If you would like to use MacPorts, please remove Homebrew and everything
 else you put in /usr/local, and also any headers or other random changes
 you made in /opt/local that are going to confuse MacPorts (or MacPorts
 developers when you report the resulting problems), then rebuild the
 leptonica port (i.e. `sudo port -n upgrade --force leptonica`) and any
 other ports that got misbuilt while the things were present in /usr/local.

--
Ticket URL: <https://trac.macports.org/ticket/55394#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list