#32913 closed defect (fixed)
Tesseract 3.01 won't build with automake 1.11.2
Reported by: | dershow | Owned by: | markemer (Mark Anderson) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), fleason (Fred Leason), pgyavorn@… | |
Port: | tesseract |
Description
I am trying to upgrade tesseract 3.00_2 to 3.01_0 and I get a build error:
---> Computing dependencies for tesseract ---> Fetching archive for tesseract ---> Attempting to fetch tesseract-3.01_0.darwin_10.x86_64.tgz from http://packages.macports.org/tesseract ---> Fetching tesseract ---> Attempting to fetch tesseract-3.01.tar.gz from http://distfiles.macports.org/tesseract ---> Verifying checksum(s) for tesseract ---> Extracting tesseract ---> Applying patches to tesseract ---> Configuring tesseract Error: Target org.macports.configure returned: automake failure: shell command failed (see log for details) Log for tesseract is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_tesseract/tesseract/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
I have attached the log file as well
Attachments (1)
Change History (11)
Changed 13 years ago by dershow
Attachment: | tesseract.log added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; emer@… removed |
---|---|
Owner: | changed from macports-tickets@… to emer@… |
Summary: | Tesseract 3.01 won't build → Tesseract 3.01 won't build with automake 1.11.2 |
Yes, unfortunately between the time we developed the patch to update the port to 3.01, and the time I committed it, a new version of automake 1.11.2 was released which tesseract does not like. As a workaround for now, you could downgrade to automake 1.11.1.
comment:2 Changed 13 years ago by markemer (Mark Anderson)
I wonder if automake 2.65 would work? I'll give that a try tonight.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
2.65 is a version of autoconf, not of automake. autoconf is not the problem; automake is. As I mentioned above, downgrading to automake 1.11.1 works around the problem.
comment:4 Changed 13 years ago by markemer (Mark Anderson)
Ok, it appears if you run autogen.sh it will create a proper configure and build. I think the aclocal script was what was clogging it up. Although autogen also runs glibtoolize. Should we maybe keep a configure of our own someplace, or should we re-run the whole deal?
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
If we can possibly avoid having to maintain our own configure script, or a complicated patch to theirs, that would be best. Running autogen.sh would be great. We could also investigate "use_autoreconf yes".
comment:7 Changed 13 years ago by yaseppochi (Stephen J. Turnbull)
autogen.sh seems to have worked for me (cut/paste from bash history):
551 pushd ~/src/MacPorts/dports/textproc/tesseract/work/tesseract-3.01/ 552 ls 553 less autogen.sh 554 ./autogen.sh 555 sudo ./autogen.sh 556 pushd 557 sudo port -u upgrade tesseract
with output from port
---> p5.12-locale-gettext is replaced by p5.12-locale-gettext ---> Computing dependencies for tesseract ---> Configuring tesseract ---> Building tesseract ---> Staging tesseract into destroot ---> Installing tesseract @3.01_0 ---> Cleaning tesseract ---> Computing dependencies for tesseract ---> Deactivating tesseract @3.00_2+eng ---> Cleaning tesseract ---> Activating tesseract @3.01_0 ---> Cleaning tesseract ---> Uninstalling tesseract @3.00_2+eng ---> Cleaning tesseract
N.B. I don't actually use tesseract yet so can't confirm the build actually works. :-/
Mac OS X 10.6.8 2.7 GHz Intel Core i7 port from svn (port.tcl at r83270, according to /opt/local/bin/port; built Nov 9, 2011)
comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | pgyavorn@… added |
---|
Has duplicate #32985.
Would somebody like to supply a patch?
comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Actually, I got it: r89273
comment:10 Changed 13 years ago by markemer (Mark Anderson)
Cool, I was just about to send something out. I'm still trying to bug them to include a proper configure with this package.
Log file