Yay, I've solved! I went on IRC and a person named Striek has kindly helped me from start to finish. It took about 1-2 hours to figure it all out. So a great big cheer to him.
The reason I couldn't compile was that I didn't have the required libraries. All in all I had to run these commands:
Code:
sudo apt-get install gimp
sudo apt-get build-dep poppler-utils
sudo apt-get install libpoppler-dev
sudo apt-get install libjpeg62-dev
sudo apt-get install xulrunner-1.9-dev
NOTE: I installed the poppler and poppler-utils packages too, they're certainly neccessary for the whole thing to work.
This installed the required libraries for the compile to take place. When it compiles you might get a lot of warning, but as long as there no errors it'll compile. Once successful, a new file called "pdftohtml" (no extension) will be created in the directory where your source is.
Now you need to replace the original "pdftohtml" with the newly-compiled one. Go to /usr/bin and make a backup of the "pdftohtml" there (copy paste somewhere else), just in case. Next replace the file in terminal:
Code:
sudo cp LOCATIONOFNEWFILE LOCATIONOFOLDFILE
All done! I had best success with the -noframes and -reflow paramaters, but play around with it and hopefully it'll work 
Thanks a lot Partyboi for trying to help me <3
Bookmarks