Package Details: phantomjs 2.1.1-16

Git Clone URL: https://aur.archlinux.org/phantomjs.git (read-only, click to copy)
Package Base: phantomjs
Description: Headless WebKit with JavaScript API
Upstream URL: http://www.phantomjs.org/
Licenses: BSD, LGPL, MIT
Submitter: yan12125
Maintainer: koonix
Last Packager: TheGoliath
Votes: 27
Popularity: 0.004966
First Submitted: 2018-01-24 14:25 (UTC)
Last Updated: 2020-07-06 10:26 (UTC)

Pinned Comments

yan12125 commented on 2018-08-12 11:22 (UTC) (edited on 2019-11-19 03:17 (UTC) by yan12125)

FAQ

  • error while loading shared libraries: libicui18n.so.61: cannot open shared object file: No such file or directory

You can either to reinstall this package afte upgrading the system to ICU 62, or install the prebuilt package listed below.

  • Building takes too long time!

A: PhantomJS ships with its own Qt and QtWebKit. Just be patient.

Latest Comments

1 2 3 4 5 Next › Last »

eggz commented on 2022-12-15 20:39 (UTC)

your dependency openssl-1.0 is no longer there.

aminvakil commented on 2022-09-24 14:14 (UTC) (edited on 2022-09-24 14:16 (UTC) by aminvakil)

python2 has been removed from official dependencies. Not that something should be done by maintainer, although it's already orphaned now.

krystianch commented on 2020-07-28 22:42 (UTC)

This package can be built on armv7l too. I just built it on a Raspberry Pi 4 by applying this patch. Without the flag it would not compile because warnings are treated as errors.

diff --git a/PKGBUILD b/PKGBUILD
index 9bfded9..584c675 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ pkgrel=16
 pkgdesc='Headless WebKit with JavaScript API'
 url='http://www.phantomjs.org/'
 license=('BSD' 'LGPL' 'MIT')
-arch=('i686' 'x86_64')
+arch=('armv7l')
 depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 'openssl-1.0' 'qt5-webkit')
 makedepends=('quilt')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ariya/phantomjs/archive/${pkgver}.tar.gz"
@@ -47,8 +47,8 @@ build() {
   export CXXFLAGS+=' -I/usr/include/openssl-1.0'
   export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'

-  CFLAGS+=' -Wno-expansion-to-defined'
-  CXXFLAGS+=' -Wno-expansion-to-defined'
+  CFLAGS+=' -Wno-expansion-to-defined -Wno-vla-larger-than'
+  CXXFLAGS+=' -Wno-expansion-to-defined -Wno-vla-larger-than'

   python2 build.py --skip-git --skip-qtbase --skip-qtwebkit --confirm --release
 }

cherti commented on 2020-07-05 16:26 (UTC) (edited on 2020-07-05 16:26 (UTC) by cherti)

2.1.1-15 misses a dependency on qt5-webkit, otherwise it won't build. Installing qt5-webkit manually fixes this, so updating the dependency array should suffice to resolve this.

jplatte commented on 2020-07-01 12:54 (UTC) (edited on 2020-07-01 12:55 (UTC) by jplatte)

Currently getting a build failure (sorry for localized error message, hope it makes sense still):

platform/graphics/SegmentedFontData.cpp: In Elementfunktion »virtual bool WebCore::SegmentedFontData::containsCharacters(const UChar*, int) const«:
platform/graphics/SegmentedFontData.cpp:65:9: Fehler: expected »;« before »if«
   65 |         if (!containsCharacter(c))
      |         ^~

scrouthtv commented on 2020-06-06 16:45 (UTC)

Please add patch to the dependencies

Rumcajs commented on 2020-04-30 07:07 (UTC)

wan't compile : make: *** [Makefile:178: sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2 Failed to build PhantomJS! Building Qt WebKit failed.