question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installation problem under macOS 10.13.6

See original GitHub issue

Thanks 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:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kbacommented, Aug 29, 2019

Thanks. @jmechnich @jtlz2 If you want to document that in the README, I’d be happy to merge a PR.

0reactions
stweilcommented, Sep 13, 2019

Python 3 would be fine for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found