This is OT but have not been able to get a response elsewhere (stack overflow and the project site itself) so thought someone here might know or have some ideas.
First, I am using wkhtmltopdf stand alone without any of the rails gems as I found that for some reason using WickedPdf or PdfKit my pdf's did not generate with active links from the links from those in the html. When I run wkhtmltopdf from the console, I get good, active links. I am running production on Ubuntu 10.04 Server. I need whhtmltopdf to work without an X Server (as I have no gui there). The wkhtmltopdf static binary is said to have a patched QT that will allow this. However I have not been able to get the static binary to work. These are the results the steps I took to install: Result: Once installed (see steps below), when I execute wkhtmltopdf in the terminal, it does not fire up... just returns me to the prompt - like it ran and did something, but with no error but no output: :/usr/bin$ wkhtmltopdf :/usr/bin$ Same behavior if I put args: :/usr/bin$ wkhtmltopdf http://www.google.com test.pdf :/usr/bin$ Am I doing something wrong --- my understanding that the static binary should just fire up. Perhaps missing some dependency? Is there a way to get some verbose output? These are the steps I have followed: In /usr/bin: 1) Confirmed that the existing (non-static) wkhtmltopdf resides there and that it executes. When I execute it with no args I get the help/about output from the app. 2) Moved the existing wkhtmltopdf out of the directory (renamed it) 3) Get the static binary: sudo curl -C - -O http: // wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2 4) Untar: tar xvjf wkhtmltopdf-0.9.9-static-i386.tar.bz2 5) Rename: mv wkhtmltopdf-i386 wkthtmltopdf 6) Get (apparently) necessary packages: sudo apt-get install openssl build-essential xorg libssl-dev -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

