Sample Header Ad - 728x90

How to install WebKitGtk on Webfaction shared hosting server?

0 votes
1 answer
231 views
I would like to build simple NodeJS REST API that uses WebKitGtk to print HTML to PDF (this is the start, I getting more ideas). So I managed to bring it up locally on my Debian Stretch dev laptop using: 1. Node, 2. Express and 3. libwebkit2gtk-4.0-dev (apt install) and node-webkitgtk (npm install) packages Next I wanted to make it run on Webfaction hosting, so I logged in. I compiled Cmake with --prefix=$HOME and... I hit the wall... In webkitgtk-2.17.4/Tools/gtk folder there is install-dependencies script that does not run without sudo... How can I get over that obstacle and make WebKitGtk binary available to my local Node JS instance?
Asked by Marecky (245 rep)
Jun 22, 2017, 07:17 PM
Last activity: Dec 21, 2017, 09:11 PM