installation problem under macOS 10.13.6
See original GitHub issueThanks for the great tool.
Right now when I run sudo make install
I get the following output:
(base) MacBook-Pro:ocr-fileformat$ sudo make install
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C vendor check
# download the dependencies
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C vendor all
mkdir -p xsd
# copy Alto XSD
cd xsd && ln -sf ../vendor/alto-schema/*/*.xsd . && \
for xsd in *.xsd;do \
target_xsd=`echo $xsd|sed 's/.//g'|sed 's/-/./'`; \
if [ ! -e $target_xsd ];then \
mv -f $xsd $target_xsd; \
fi; done
# copy PAGE XSD
# copy ABBYY XSD
cd xsd && ln -sf ../vendor/abbyy-schema/*.xsd .
mkdir -p xslt
# symlink hocr<->alto as well as the language codes lookup xml
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/hocr2alto2.0.xsl hocr__alto2.0.xsl
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/hocr2alto2.1.xsl hocr__alto2.1.xsl
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/alto2hocr.xsl alto2.0__hocr.xsl
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/alto2hocr.xsl alto2.1__hocr.xsl
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/hocr2text.xsl hocr__text.xsl
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/alto2text.xsl alto__text.xsl
cd xslt && ln -sf ../vendor/hOCR-to-ALTO/codes_lookup.xml codes_lookup.xml
cd xslt && ln -sf ../vendor/format-converters/page2hocr.xsl page__hocr.xsl
cd xslt && ln -sf alto2.0__alto3.0.xsl alto2.0__alto3.1.xsl
cd xslt && ln -sf alto2.0__alto3.0.xsl alto2.1__alto3.0.xsl
cd xslt && ln -sf alto2.0__alto3.0.xsl alto2.1__alto3.1.xsl
mkdir -p /usr/local/share/ocr-fileformat
cp -r script xsd xslt vendor lib.sh /usr/local/share/ocr-fileformat
mkdir -p /usr/local/bin
sed '/^SHAREDIR=/c SHAREDIR="/usr/local/share/ocr-fileformat"' bin/ocr-transform.sh > /usr/local/bin/ocr-transform
sed: 1: "/^SHAREDIR=/c SHAREDIR= ...": command c expects \ followed by text
make: *** [install] Error 1
The Docker image runs fine however.
What am I doing wrong?
Thanks again
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Can't install the update 10.13.6 Error 602
The easiest way I have found to solve this issue is to change the location in the wifi setting. Instead of the standard...
Read more >Fix macOS High Sierra Update Failure/Stuck/Installation Error
Fix 1. macOS Sierra 10.13/10.13.4 downloaded but won't install · Open Launchpad > Delete "Install macOS Sierra" file with a question mark on...
Read more >Complete Tutorial to Fix macOS 10.13 High Sierra Update ...
The Mac won't update problem can be caused by many reasons. Just come here and get easy ways to fix macOS 10.13 High...
Read more >macOS 10.13 High Sierra problems: how to fix them
To fix this, you will need to install macOS High Sierra (opens in new tab) from a USB drive. First, download the installer...
Read more >macOS High Sierra (macOS 10.13) Driver Installation and ...
This describes how to install the driver for macOS High Sierra (macOS 10.13) and perform troubleshooting. * For information on individual products, check...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks. @jmechnich @jtlz2 If you want to document that in the README, I’d be happy to merge a PR.
Python 3 would be fine for me.