5 ms·
Amazing - I am attempting to install this on mac osx lion -- it is taking a lot of time because of the dependencies. With so many dependencies the probability
by mgualt 14y ago
Amazing - I am attempting to install this on mac osx lion -- it is taking a lot of time because of the dependencies. With so many dependencies the probability of failure is very high. Let's hope it works.
I urge you to find a way to allow people to install your software more easily.
I managed to get it to install (after about an hour and a half of tinkering. However I get "Segmentation fault" when I try running it:
pdf2htmlEX --debug=1 test.pdf
temporary dir: /tmp/pdf2htmlEX-LY9cOv
Preprocessing: ....
Working: Add new temporary file: /tmp/pdf2htmlEX-LY9cOv/__css
Add new temporary file: /tmp/pdf2htmlEX-LY9cOv/__pages
Add new temporary file: /tmp/pdf2htmlEX-LY9cOv/p1.png
Install font: (29 0) -> f1
Add new temporary file: /tmp/pdf2htmlEX-LY9cOv/f1.pfa
Segmentation fault: 11
- deleted 14y ago[deleted]
- mgualt 14y agoI was able to install cmake, fontforge and libpoppler with homebrew, gcc-4.7 using https://github.com/sol-prog/gcc-4.7-binary https://github.com/sol-prog/gcc-4.7-binary
- evandrix 14y agoyou mean `poppler` instead of `libpoppler`
- tincholio 14y agosudo apt-add-repository ppa:coolwanglu/pdf2htmlex sudo apt-get update sudo apt-get install pdf2htmlex I haven't yet tried to build on mac os, but in ubuntu it was trivially simple.
- coolwanglu 14y agoThe problem is that I don't have a machine with Mac. Which version of fontforge have you installed?
- mgualt 14y agoThis is what fontforge displays when I start it up: Executable based on sources from 14:57 GMT 31-Jul-2012-D. Library based on sources from 14:57 GMT 31-Jul-2012.
- coolwanglu 14y agoI'm now trying compile with an older version. But please update fontforge if you can.
- mgualt 14y agoI think my fontforge is the current version (see above) -- please correct me if I'm wrong.
- coolwanglu 14y agoUsually I built from git. There has been some improvement relevant to pdf2htmlEX during the path month. However it should not crash, and it's confirmed by many people now. Could you please try the commit f02e1d4 ?
- coolwanglu 14y agoI cannot reproduce it with a 20110222 version of fontforge. Would you mind send me the pdf file, for me to debug? Does it always crash, with other pdf files?
- mgualt 14y agoyes - it crashes as described with any pdf file.
- coolwanglu 14y agosorry to hear that. some guys are working on MacPorts and Homebrew formula. I hope this would help you. https://trac.macports.org/ticket/36028 https://trac.macports.org/ticket/36028
- coolwanglu 14y agoIt's confirmed by some guys using Mac. We are working on this. Please hold on, and join the discussion on github if you like. Thanks for your patience.
- coolwanglu 14y agoThe compiling problem should have been fixed. Could you please try the latest master branch, see if it works well or maybe fail at one assertion?
- mgualt 14y agoThank you for replying - I tried the new branch, and posted the problem I encountered as an issue with gists attached on the github.