I built PhantomJS 2.1.1 for Raspberry Pi

This post is also available in: Russian Spanish Portuguese (Portugal) French German Japanese

I built PhantomJS 2.1.1 for Raspberry Pi. It can also run on any armhf architecture machines.

I used Debian on ARM VPS on https://www.scaleway.com/ and follow this page to build it.

Please download from https://github.com/mecrazy/phantomjs-binaries.
( After my pull request allowed, I will edit the link on this blog to “https://github.com/avaynshtok/phantomjs-binaries”. )

I use Raspberry Pi as a testing machine for any server applications like web scraping. But there were no PhantomJS binaries for armhf architecture on the web. So I built it. Please use this binary, if you want. But I can not care any troubles and bugs when you use it.

< What is "PhantomJS"? >
PhantomJS is a web scraping tool with JavaScript API. It can capture web pages as PDF, PNG or some kind of picture file. If you want to know more about PhantomJS, please check http://phantomjs.org/.

  • happymarmoset

    -o .obj/dom/DOMAllInOne.o dom/DOMAllInOne.cpp
    {standard input}: Assembler messages:
    {standard input}:43678: Warning: end of file not at end of a line; newline inserted
    {standard input}:43866: Error: bad instruction `_zn7webcore22applypropertyfilllayerins_8fillsizeelns_13csspropertyide1300elns_14efilllayertypee1exadl_zns_11renderstyle16accessmasklayerseveexadl_znks4_10masklayerseveexadl_znks_9filllayer9issizeseteveexadl_znks5_4sizeeveexadl_zns5_7set’
    g++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See for instructions.
    Makefile.WebCore.Target:137975: recipe for target ‘.obj/css/CSSAllInOne.o’ failed
    make[2]: *** [.obj/css/CSSAllInOne.o] Error 4
    make[2]: *** Waiting for unfinished jobs….