Changes between Version 47 and Version 48 of SettingUpDevelopmentEnvironmentForN9


Ignore:
Timestamp:
May 31, 2012 2:32:07 PM (12 years ago)
Author:
Luciano Miguel Wolf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpDevelopmentEnvironmentForN9

    v47 v48  
    443443Repeat these steps on you N9/N950 device after you logged in as root with devel-su (password: rootme).
    444444
    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:
     445After [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'''
     448Scratchbox has to be modified to use perl 5.10 instead of 5.8 by renaming a symlink file on the host machine:
    446449{{{
    447450sudo mv /scratchbox/tools/bin/perl /scratchbox/tools/bin/old-perl
     
    449452After this an armel 5.10 version will be used at the cost of some performance.
    450453
    451 Clone WebKit repository to your ~/swork/webkit directory. Build QtWebKit with the following inside ScratchBox:
     454'''Option 2'''
     455It is possible to export some variables and tell to use the right perl version instead of Scratchbox's system version:
     456{{{
     457export PATH=/usr/bin:$PATH
     458export SBOX_REDIRECT_IGNORE=$SBOX_REDIRECT_IGNORE:/usr/bin/perl
     459}}}
     460
     461After choosing the best option you can proceed cloning WebKit repository to your ~/swork/webkit directory. Build QtWebKit with the following inside ScratchBox:
    452462{{{
    453463export PATH=/opt/qt5/bin/:$PATH