vmware-archive / projectmonitor

Big Visible Chart CI aggregator
http://ci.pivotallabs.com
BSD 2-Clause "Simplified" License
428 stars 120 forks source link

Unable to install projectmonitor on Ubuntu #109

Closed juliusblank closed 6 years ago

juliusblank commented 7 years ago

After several unsuccessful attempts to get projectmonitor running under Ubuntu 16.04, I need assistance. I followed the installation instructions and when it comes to bundle install, the setup always exits when it tries to install capybara-webkit-1.11.1, stating that no installation of QtWebkit can be found:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1
/home/railer/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20170113-13645-1oy1llf.rb extconf.rb
cd src/ && ( test -e Makefile.webkit_server || /usr/local/bin/qmake/tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1/src/webkit_server.pro -o Makefile.webkit_server) && make -f Makefile.webkit_server
Project ERROR: No QtWebKit installation found. QtWebKit is no longer included with Qt 5.6, so you may need to install it separately.
Makefile:42: recipe for target 'sub-src-webkit_server-pro-make_first-ordered' failed make: *** [sub-src-webkit_server-pro-make_first-ordered] Error 3 Command 'make' failed

current directory: /tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1
make "DESTDIR=" clean cd src/ && ( test -e Makefile.webkit_server || /usr/local/bin/qmake/tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1/src/webkit_server.pro -o Makefile.webkit_server) && make -f Makefile.webkit_server clean
Project ERROR: No QtWebKit installation found. QtWebKit is no longer included with Qt 5.6, so you may need to install it separately.
Makefile:54: recipe for target 'sub-src-webkit_server-pro-clean-ordered' failed make: *** [sub-src-webkit_server-pro-clean-ordered] Error 3

 current directory: /tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1
make "DESTDIR=" cd src/ && ( test -e Makefile.webkit_server || /usr/local/bin/qmake/tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1/src/webkit_server.pro -o Makefile.webkit_server) && make -f Makefile.webkit_server
Project ERROR: No QtWebKit installation found. QtWebKit is no longer included with Qt 5.6, so you may need to install it separately.
Makefile:42: recipe for target 'sub-src-webkit_server-pro-make_first-ordered' failed
make: *** [sub-src-webkit_server-pro-make_first-ordered] Error 3

make failed, exit code 2

Gem files will remain installed in /tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/gems/capybara-webkit-1.11.1 for inspection.
Results logged to /tmp/bundler20170113-13645-1c9k4blcapybara-webkit-1.11.1/extensions/x86_64-linux/2.3.0-static/capybara-webkit-1.11.1/gem_make.out

An error occurred while installing capybara-webkit (1.11.1), and Bundler cannot continue.
Make sure that `gem install capybara-webkit -v '1.11.1'` succeeds before bundling.

My system info:

ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

rails -v
Rails 5.0.1

qmake -v
QMake version 3.0
Using Qt version 5.5.1 in /home/myuser/.linuxbrew/Cellar/qt@5.5/5.5.1/lib

I treid the same with Qt 5.7.1 (installed via (linux) brew install qt), with the same error.

Could you please help me out as to where I can look for a solution?

Thanks a lot in advance!

carpeliam commented 7 years ago

I'm seeing in your error message:

Project ERROR: No QtWebKit installation found. QtWebKit is no longer included with Qt 5.6, so you may need to install it separately.

Have you tried installing QtWebKit separately?

juliusblank commented 7 years ago

Hi carpeliam,

yes, I have. Both via apt-get install libqt5webkit5 (for use with qt 5.7.1) or via manually installing brew install qt@5.5 (which should still contain QtWebKit, if I get the error message from bundle install right) I keep getting the error.

juliusblank commented 7 years ago

Could you please give me some more details about the system you use for building projectmonitor?

schjan commented 7 years ago

Try install libqt5webkit5-dev instead.

arcioneo commented 7 years ago

@juliusblank I had the same issue, try:

apt-get install --reinstall qtchooser

that fixed my problem

stephencoe commented 6 years ago

A full list of dependencies for capybara can be found in the capybara wiki

khng commented 6 years ago

We now ship the Dockerfile running ubuntu. Updated README also includes usage instructions. Cheers!