Changes between Version 47 and Version 48 of SettingUpDevelopmentEnvironmentForN9
- Timestamp:
- May 31, 2012, 2:32:07 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SettingUpDevelopmentEnvironmentForN9
v47 v48 443 443 Repeat these steps on you N9/N950 device after you logged in as root with devel-su (password: rootme). 444 444 445 After [http://trac.webkit.org/changeset/116559/trunk/Tools/Scripts/webkitdirs.pm r116559] building WebKit requires perl 5.10. Scratchbox have to modified to use perl 5.10 instead of 5.8 by renaming a symlink file on the host machine: 445 After [http://trac.webkit.org/changeset/116559/trunk/Tools/Scripts/webkitdirs.pm r116559] building WebKit requires perl 5.10. There are 2 possible workarounds: 446 447 '''Option 1''' 448 Scratchbox has to be modified to use perl 5.10 instead of 5.8 by renaming a symlink file on the host machine: 446 449 {{{ 447 450 sudo mv /scratchbox/tools/bin/perl /scratchbox/tools/bin/old-perl … … 449 452 After this an armel 5.10 version will be used at the cost of some performance. 450 453 451 Clone WebKit repository to your ~/swork/webkit directory. Build QtWebKit with the following inside ScratchBox: 454 '''Option 2''' 455 It is possible to export some variables and tell to use the right perl version instead of Scratchbox's system version: 456 {{{ 457 export PATH=/usr/bin:$PATH 458 export SBOX_REDIRECT_IGNORE=$SBOX_REDIRECT_IGNORE:/usr/bin/perl 459 }}} 460 461 After choosing the best option you can proceed cloning WebKit repository to your ~/swork/webkit directory. Build QtWebKit with the following inside ScratchBox: 452 462 {{{ 453 463 export PATH=/opt/qt5/bin/:$PATH