Comments (5)
Your understanding is correct. PhantomJS static build on Linux is a long story as per ariya/phantomjs#12948. To work around that issue, you can either:
- Use the Docker image as documented in https://github.com/astefanutti/decktape#docker
- Recompile the improved version of PhantomJS as documented in https://github.com/astefanutti/decktape#build.
If the above does not work for you, I'll try to provide a binary for Ubuntu 15.15 ASAP.
Thanks for the feedback. You may want to share some love and star the project ;)
from decktape.
I've tried compiling PhantomJS unsuccessfully, here's the error I get after a while having my desktop full-speed:
collect2: error: ld returned 1 exit status
Makefile.jsc:98: recipe for target '../../bin/jsc' failed
make[2]: *** [../../bin/jsc] Error 1
make[2]: Leaving directory '/media/dani/baul/code/decktape/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore'
Makefile.JavaScriptCore:126: recipe for target 'sub-jsc-pro-make_first-ordered' failed
make[1]: *** [sub-jsc-pro-make_first-ordered] Error 2
make[1]: Leaving directory '/media/dani/baul/code/decktape/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore'
Makefile:91: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed
make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2
I'd rather have it running natively as I have the creation of pdf's on scripts that run not only on Linux but of OSX and there it works well as it is, so I'd prefer to stick to a cross-platform codebase.
Do you have any suggestions? I basically installed all the dependencies mentioned in the PhantomJS website:
sudo apt-get install build-essential g++ flex bison gperf ruby perl \
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
libpng-dev libjpeg-dev python libx11-dev libxext-dev
Then from the decktape clone, I ran:
git submodule update --init --recursive
Navigated into the folder:
cd phantomjs
And ran the build script:
./build.sh
Note it's not ./build.py
as indicated in your instructions. Maybe that's it? But I couldn't find the python script.
Happily starred the project ;-)
from decktape.
Have you pulled the latest revision of DeckTape? You should have the build.py
script which is the most recent way of building PhantomJS. So that'd be better if you'd use that script.
Unfortunately the error that you faced doesn't ring a bell to me. You may search / reach out the PhantomJS project directly.
On my side, I'll try having a reproducible Ubuntu build with a Docker image ASAP so that we can compare the set of installed libraries.
from decktape.
Sorry my bad!!! I was on an older version. I pulled the latest and the greatest, run ./build.py
and it worked!
Thanks very much for all the help and support!
from decktape.
Great!
I'll follow-up with the PhantomJS Linux static build issue. At some point, if no progress is made, I'll upload a specific binary for Ubuntu 15.15 as well.
In the meantime I think it's safe closing this issue.
from decktape.
Related Issues (20)
- Add some e2e tests HOT 1
- Would you be open to financial contributions? HOT 2
- Reveal remove transition HOT 1
- Table layouts are not preserved, text boxes get combined in odd ways HOT 6
- Dependencies are not hoisted HOT 3
- Docker image error HOT 8
- Crashes with "Unable to write GSUB: script latn has no default language system" HOT 3
- Add a 2D navigation support to generic plugin
- puppeteer_dev_chrome_profile-x HOT 2
- Emojis are missing from bold text and headings in PDF HOT 1
- Images not shown in PDF output (but are correct in PNG and browser) HOT 1
- How I was able to do a multi-architecture container image build (to support ARM ... M1 macbooks) HOT 2
- Remark custom styles not applied on PDF HOT 2
- Unable to transform reveal slides usign reveal.js-menu with docker HOT 3
- Updating to decktape 3.11 caused panic HOT 3
- Converting a jupyterlab_rise presentation
- homebrew package
- Text overlaps with border on Mermaid.js diagrams in a Reveal.js presentation HOT 1
- DeckTape Container Font Bug HOT 1
- Include progess bar when exporting revealjs slides HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decktape.