chuifeng / webkitdriver

Automatically exported from code.google.com/p/webkitdriver
0 stars 0 forks source link

build failed #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. checkout as wiki build instruction
2. run rake
3.

What is the expected output? What do you see instead?
acamargo@ncc1701d:~/src/webkitdriver$ rake
(in /home/acamargo/src/webkitdriver)
rake
(in /home/acamargo/src/webkitdriver/hlwk)
rake aborted!
undefined method `+' for nil:NilClass
/home/acamargo/src/webkitdriver/hlwk/Rakefile:69
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake...]
/home/acamargo/src/webkitdriver/Rakefile:5
(See full trace by running task with --trace)

What version of the product are you using? On what operating system?
checkout as on wiki. Ubuntu 10.04 LTS 64 bits
~/src/webkitdriver$ uname -a
Linux ncc1701d 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 
x86_64 GNU/Linux

 rake --version
rake, version 0.8.7

ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]

Please provide any additional information below.
I'd like to do some tests with webkit driver for selenium. There are some 
nightly builds?

Original issue reported on code.google.com by acama...@gmail.com on 19 Feb 2011 at 12:34

GoogleCodeExporter commented 8 years ago
Just look at /home/acamargo/src/webkitdriver/hlwk/Rakefile:69 => JAVA_HOME 
needs to be defined.

It should be added to the build instructions.

Original comment by clement....@viavoo.com on 26 Mar 2011 at 5:06

GoogleCodeExporter commented 8 years ago
"sudo rake" won't work - you must "sudo -i", then "rake". This is not a 
standard way to install, should be documented...

Original comment by fred....@gmail.com on 10 May 2011 at 6:01

GoogleCodeExporter commented 8 years ago
Setting JAVA_HOME worked for me too. Would be really nice to see this hint on 
the BuildingWebKitDriver page :)

Original comment by albrecht.andi on 17 May 2011 at 10:06

GoogleCodeExporter commented 8 years ago
I'm very sorry for the delay answering to the comments, but the problem was 
really the missing JAVA_HOME. This issue can be closed, a hint at the page 
would help careless people like me ;).

Original comment by acama...@gmail.com on 29 Jul 2011 at 3:21