mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] building in Ubuntu #311
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rriobs on GitHub (Jul 8, 2017).
Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].
CCExtractor version (using the --version parameter preferably) : X.X
In raising this issue, I confirm the following (please check boxes, eg [X]):
My familiarity with the project is as follows (check one, eg [X]):
Necessary information
-autoprogramVideo links
Please make the affected input file available for us (no screenshots, those don't help!). Public links to Dropbox, Google Drive, etc, are all fine. If it is not possible to make it available publicly, send us a private invitation (both Dropbox and Google Drive allow that). In this case we will download the file and upload it to the private developer repository.
Do not upload your file to any location that will require us to sign up or endure a wait list, slow downloads, etc. If your upload expires make sure you keep it active somehow (replace links if needed). Keep in mind that while we go over all tickets some may take a few days, and it's important we have the file available when we actually need it.
Additional information
{issue content here, replace this line with your issue content}
PS: Make sure you set an alert in GitHub so you get notifications about your ticket. We may need to ask questions and we do everything inside GitHub's system.
@rriobs commented on GitHub (Jul 8, 2017):
Trying to tun ./autogen and ./configure.Works well on fedora but i get the following error in ubuntu:
configure: error: Package requirements (lept) were not met:
No package 'lept' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables lept_CFLAGS
and lept_LIBS to avoid the need to call pkg-config.
@saurabhshri commented on GitHub (Jul 8, 2017):
Hello @rriobs ! Please make sure you've met all the dependencies listed here : https://github.com/CCExtractor/ccextractor#compiling (specifically leptonica, as per the error message).
If you already have them installed, please make sure the environment variables are set so that CCExtractor can find them.
You may also use
build.shin the/linuxdirectory to build CCExtractor as well.@rriobs commented on GitHub (Jul 8, 2017):
Hi.am really stuck here.could you please provide an example instance of hoe to set up the environment variable? Am trying export lept_LIBS="/usr/lib/" but it is not working.I will appreciate your help.thank you
@saurabhshri commented on GitHub (Jul 8, 2017):
@rriobs Have you tried doing
sudo apt-get install -y libleptonica-dev?@rriobs commented on GitHub (Jul 8, 2017):
yes libleptonica-dev is installed.
@rriobs commented on GitHub (Jul 8, 2017):
it worked well in frdora...it is ubuntu whichh has issues.Am using 14.04
@anshul1912 commented on GitHub (Jul 9, 2017):
In older Ubuntu this problem was there, because pkg-config of leptonica was
not correct.
Can you try uninstalling leptonica given by apt-get and manually installing
though tar file given on leptonica site.
Thanks
Anshul Maheshwari
On 08-Jul-2017 11:50 PM, "rriobs" notifications@github.com wrote:
@rriobs commented on GitHub (Jul 9, 2017):
Hi Anshul
I had to to compile both leptonica and tesseract from source for the compilation to work.Thank you very much for your assistance.