Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Cant install, ubuntu 11 #113

Closed
orlando opened this issue Jul 20, 2011 · 11 comments
Closed

Cant install, ubuntu 11 #113

orlando opened this issue Jul 20, 2011 · 11 comments

Comments

@orlando
Copy link

orlando commented Jul 20, 2011

Hello, im trying to install the gem but it gives me an error..

http://pastie.org/2245433

im using Ubuntu 11.04, Bash, RVM, ruby 1.9.2-p180, libqt4-dev installed.

any suggestions will be appreciated.

thanks

@orlando orlando closed this as completed Jul 21, 2011
@orlando orlando reopened this Jul 21, 2011
@orlando
Copy link
Author

orlando commented Jul 21, 2011

installing the complete Qt package (http://bit.ly/oXCZzL) fixed the issue.. in ubuntu i thought it wasn't necessay

@orlando orlando closed this as completed Jul 21, 2011
@felipero
Copy link

Didn't worked for me install that...
My log is on: https://gist.github.com/471a68378565f69af3ae

Any idea about how to make it work?

@orlando
Copy link
Author

orlando commented Aug 28, 2011

install the qt package.. i mean the whole qt package.. (like 400 mb) http://bit.ly/oXCZzL.. the installation should take about 1 hour or more.. then install libqt4-dev package and ur done :)

@felipero
Copy link

It found qt3 instwad of qt4. Both was installed. Uninstalling qt4
solved the issue.

Shoukd it know what version to look for?

On 28/08/2011, at 03:59, orlandodelaguila
reply@reply.github.com
wrote:

install the qt package.. i mean the whole qt package.. (like 400 mb) http://bit.ly/oXCZzL.. the installation should take about 1 hour or more.. then install libqt4-dev package and ur done :)

Reply to this email directly or view it on GitHub:
#113 (comment)

@orlando
Copy link
Author

orlando commented Aug 29, 2011

u should install qt4 (im using this one http://bit.ly/rbhJ4q).. but if qt3 worked for you.. no problem then =).. if you later have problems with capybara-webkit.. stick with qt4 then..

@felipero
Copy link

I guess I was not clear. Both versions of QT was installed. QT3 and QT4.

It was getting QT3 as default. Anyway, my problem is solved!

On 29/08/2011, at 10:37, orlandodelaguila
reply@reply.github.com
wrote:

u should install qt4 (im using this one http://bit.ly/rbhJ4q).. but if qt3 worked for you.. no problem then =).. if you later have problems with capybara-webkit.. stick with qt4 then..

Reply to this email directly or view it on GitHub:
#113 (comment)

@orlando
Copy link
Author

orlando commented Aug 30, 2011

oh right.. sorry.. yeah you should stick with qt4.... =)..

@eirc
Copy link

eirc commented Nov 2, 2011

Had the same issue on Ubuntu and solved just by installing libqt4-dev. Interestingly enough, there was no error output at all and no log about what would fail. All I could see was

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
    /home/eric/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb 
Gem files will remain installed in /home/eric/.rvm/gems/ree-1.8.7-2011.03@leweb/gems/capybara-webkit-0.7.2 for inspection.
Results logged to /home/eric/.rvm/gems/ree-1.8.7-2011.03@leweb/gems/capybara-webkit-0.7.2/./gem_make.out

And the gem_make.out file contained just the line:

/home/eric/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb 

@ytaras
Copy link

ytaras commented Nov 9, 2011

sudo apt-get install libqt4-dev fixes the issue, but I believe better error should be shown.

@rguggemos
Copy link

libqt4-dev

fixed for me as well

@TEHEK
Copy link

TEHEK commented Aug 27, 2012

Under Ubuntu, it's not really necessary to uninstall conflicting version of libqt. You can do

$ sudo update-alternatives --config qmake
There are 2 choices for the alternative qmake (providing /usr/bin/qmake).

  Selection    Path                Priority   Status
------------------------------------------------------------
  0            /usr/bin/qmake-qt3   45        auto mode
  1            /usr/bin/qmake-qt3   45        manual mode
* 2            /usr/bin/qmake-qt4   40        manual mode

Press enter to keep the current choice[*], or type selection number: 

and select qt4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants