-
Notifications
You must be signed in to change notification settings - Fork 434
Support architectures where binaries aren't published on phantomjs.org #47
Comments
I tested my phantomjs helper with a rendering code - http://tech.hq.norma.perm.ru/files/google.png - seems like it's working beyond "hello world" too. |
Per your first question, if you are installing from source using The package simply grabs a version of phantomjs from http://phantomjs.org/download.html, if there isn't a pre-packaged binary it won't work -- that's the 2nd error message you get. I have been wondering if the package should allow for a globally installed phantomjs binary that is available on the PATH. |
Yeah, that's exactly my case - the binary for the Solaris isn't avalable yet on http://phantomjs.org , but I have a locally built binary which is working. It's available in the PATH. Can the module be installed this way ? |
And I guess sooner or later some FreeBSD guys will be asking same thing (they don't have the prebuilt binary too). So installing the module having already the binary available would be just awesome. |
I looked into this today, its kind of tricky because of the way NPM works. -- Dan On Sun, Apr 14, 2013 at 9:59 AM, drook notifications@github.com wrote:
|
Ookay. I managed to install this locally by hand, using the customized script. Script needs to be customized like the following:
http://files2.enaza.ru/phantomjs-1.9.0-sunos-x64.tar.bz2 is by the way prebuilt upstream package for the Solaris 11.1 x86, anyone who's using it's custom binary can just make a local repo with a web-server and a properly packaged phantomjs upstream binary. Hope this will help to somebody. |
As of |
drook, Do you have instructions to build phantom-js on solaris.. I am looking for a binary for solaris on sparc. Thx |
Yup, but you need to start in the right place. This is a node.js module, you need a phantomjs binary first. Look at ariya/phantomjs#10521 - there's a patch, you can start by applying it to the sources and trying to build. If it won't work for you, you can contact me, though I'm not a developer, but I'll try to help. |
I have built a working phantomjs binary for Solaris, and I need to install phantomjs node.js module (as far as i understand it uses the external binary, right ?). The README.md states that this can be done by running the
However I got:
I have both rimraf and amd-zip modules installed globally:
If I disable the module checking, I get:
I'm not that familiar with npm internals and install scenarios, but I understand that phantomjs node module is just a couple of scripts itself, so can you please help me with installing ?
Thanks.
The text was updated successfully, but these errors were encountered: