-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: command 'gcc' failed with exit status 1 #23
Comments
Are the poppler dev libraries installed? |
I think so.
That should be ok, shouldn't it? |
Since this project uses poppler's CPP interface, you also need the |
Great, that worked. Thanks! |
I had the same error on macOS. Also I don't find any way to install the libpoppler-cpp-dev package on macOS. I tried brew search libpoppler, but no such formula or related formulae exist. Any help would be greatly appreciated. |
It's interesting that I actually have the header file 'poppler-document.h' under the poppler path, which is '/usr/local/Cellar/poppler/0.71.0/include/poppler/cpp/poppler-document.h'. I think the compiler gcc couldn't find the header file for some reason but I don't know why specifically. Any ideas? |
@lhyGit If you still have issues after installing those, can you provide the output of |
Reopening so I don't lose track of this |
output.txt |
It looks like you're using anaconda, which is known to provide a strange build environment. Can you try to first install poppler via anaconda and then |
Closing after no response for ten days. Will reopen if further information is provided. |
Hi jalan, I have same issue in pdftotext version
I've tried several times but it still doesn't work. Can you make any suggestion? |
I am not able to install libpoppler-cpp-dev in anaconda environment on windows. PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
and use the search bar at the top of the page. |
@GD-A-150800 Please don't post new unrelated questions on a closed issue. I'm sorry to say that there is no support for Windows. The relevant issue in this case is #16. |
output.log |
|
@Ciangi what system are you building on? |
Ubuntu 16.04 |
I just booted into a fresh Ubuntu 16.04 machine and it installed just fine. Your system looks fishy. Poppler headers on Ubuntu are usually in |
I manually installed poppler. but i noticed that i have pdftotext installed, don't know why but it is and works ... |
I ended up having to uninstall linuxbrew. I started suspecting this to be the issue after seeing that the the header was in the linuxbrew path:
|
I'm using this in a Dockerized environment and simply doing |
This is the proper one for ubuntu users using python3 |
what to be done if same issues are appearing in windows???? |
Hi,
I'm having trouble installing pdftotext. I'm using Python 3.6 on Anaconda 5.2.0 and pip version 18.0. There seems to be a problem with gcc so I did
conda install libgcc
but that didn't make any difference. I also made sure python3-dev was installed.Any help would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: