Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Compiling Symbian context-sensitive help fails with recent versions of Perl (Known Issue)

From Wiki
Jump to: navigation, search
Article Metadata
Code ExampleTested with
Devices(s): N/A
CompatibilityArticle
Keywords: N/A
Created: rathodavinash (29 Jun 2007)
Last edited: hamishwillee (30 May 2013)

Description

If you have a recent version of ActivePerl, you may face problems when compiling help files for your Symbian application. This known issue has been verified by Nokia Developer.

There are two options:

  • Switch to an older version of ActivePerl (the officially supported version is v5.6.1 build 635, which can be downloaded here) 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

This page was last modified on 30 May 2013, at 04:32.
269 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×