Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



I was able to install

cmake, fontforge and libpoppler with homebrew,

gcc-4.7 using

https://github.com/sol-prog/gcc-4.7-binary


you mean `poppler` instead of `libpoppler`


     sudo 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.


It'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.


The 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?


Thank you for replying - I tried the new branch, and posted the problem I encountered as an issue with gists attached on the github.


I 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?


yes - it crashes as described with any pdf file.


sorry to hear that. some guys are working on MacPorts and Homebrew formula.

I hope this would help you. https://trac.macports.org/ticket/36028


The problem is that I don't have a machine with Mac. Which version of fontforge have you installed?


This 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.


I'm now trying compile with an older version. But please update fontforge if you can.


I think my fontforge is the current version (see above) -- please correct me if I'm wrong.


Usually 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 ?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: