You Are Here:

Community: Wiki

This page was last modified on 22 September 2009, at 13:22.

KIS001302 - Compiling context-sensitive help fails with latest version of Perl

From Forum Nokia Wiki

Reviewer Approved   


This known issue was originally created by Rathodavinash and has been verified by Forum Nokia.


ID KIS001302 Creation date February 10, 2009
Platform S60 3rd Edition and later Devices N/A
Category Symbian C++ Subcategory SDK/Tools


Keywords (APIs, classes, methods, functions): N/A

Description

If you have a newer version of ActivePerl, you may face problems when compiling help files for your Symbian OS application.

There are two options:

  • Switch to an older version of ActivePerl (the officially supported version is v5.6.1 build 635) or
  • Change the files param.pm and args.pm

These two files can be found in your SDK installation's Epoc32\tools\perllib path. In the file args.pm, change the following line (# 688)

$self->_iSpecArray->{$aName}= New CArgsSpec($aName, $aDefault, $aPattern, 
$aExclusions, $aMandatory, $aRepeatable);

to

$self->_iSpecArray->{$aName}= CArgsSpec->New($aName, $aDefault, $aPattern,
$aExclusions, $aMandatory, $aRepeatable);

In the file params.pm, search for the word "New" and replace it with "foo->New()"; for example, if there is a function "New CLogs()", change it to "CLog->New()".

Take backups of the original files.

Alternatively, you can download File:Perlchanged.zip

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
User Rating: qfnZuserE5FratingQNx5E2E0000X