in reply to Failed when build perl for nokia 6670 ?

I presume you're following README.symbian, and are at step (3).

Looking at symbian/config.pl:

my $WIN = $ENV{WIN} ; # 'wins', 'winscw' (from sdk.pl) my $ARM = 'thumb'; # 'thumb', 'armv5' my $S60SDK = $ENV{S60SDK}; # qw(1.2 2.0 2.1 2.6) (from sdk.pl) if ($SDK_VARIANT eq 'S60' && $S60SDK =~ /^5\./) { $ARM = 'armv5'; # 'thumb', 'armv5' # Configuration for S60 +5th Edition SDK v1.0 } my $S80SDK = $ENV{S80SDK}; # qw(2.0) (from sdk.pl) my $S90SDK = $ENV{S90SDK}; # qw(1.1) (from sdk.pl) my $UIQSDK = $ENV{UIQSDK}; # qw(2.0 2.1) (from sdk.pl) my $UREL = $ENV{UREL}; # from sdk.pl $UREL =~ s/-ARM-/$ARM/; my $UARM = $ENV{UARM}; # from sdk.pl die "$0: SDK not recognized\n" if !defined($SYMBIAN_VERSION) || !defined($SDK_VERSION) || (!defined($S60SDK) && !defined($S80SDK) && !defined($S90SDK) && ! +defined($UIQSDK));

So it seems taht your environment is not set up as config.pl expects.

Replies are listed 'Best First'.
Re^2: Failed when build perl for nokia 6670 ?
by Anonymous Monk on Feb 01, 2010 at 09:46 UTC
    Thank's for your reply Corion, i've seen the file sdk.pl to solve this issue but i don't understand about the cheat sheet for the right S60/S80 SDK settings. This is part of line from sdk.pl:
    [ $SYMBIAN_ROOT, $SYMBIAN_VERSION, $SDK_NAME, $SDK_VARIANT, $SDK_VERSI +ON ]; # The following is a cheat sheet for the right S60/S80 SDK settings. # # symbiancommon.bat: # set EPOC_BIN=%EPOCROOT%Epoc32\gcc\bin;%EPOCROOT%Epoc32\Tools # set MWCW=C:\Program Files\Metrowerks\CodeWarrior for Symbian OEM v2. +8 # set MSVC=C:\Program Files\Microsoft Visual Studio # set MSVC_BIN=%MSVC%\VC98\Bin;%MSVC%\Aux\MSDev98\Bin # set MSVC_INC=%MSVC%\VC98\atl\include;%MSVC%\VC98\include;%MSVC%\mfc\ +include;%MSVC%\include # set MSVC_LIB=%MSVC%\mfc\lib;%MSVC%\lib # # s60-2.0-cw: # # set EPOCROOT=\Symbian\7.0s\Series60_v20_CW\ # set EPOCDEVICE=Series60_2_0_CW:com.Nokia.Series60_2_0_CW # symbiancommon # set PATH=%EPOC_BIN%;%MWCW%\Bin;%MWCW%\Symbian_Tools\Command_Line_Too +ls;%MSVC_BIN%;C:\perl\bin;C:\winnt\system32 # set USERDEFS=%USERDEFS% -D__SERIES60_20__ -D__SERIES60_MAJOR__=2 -D_ +_SERIES60_MINOR__=0 -D__SERIES60_2X__ # # s60-2.0-vc: # # set EPOCROOT=\Symbian\7.0s\Series60_v20\ # set EPOCDEVICE=Series60_v20:com.nokia.series60 # symbiancommon # set PATH=%EPOC_BIN%;%MSVC_BIN%;C:\perl\bin;C:\winnt\system32 # set INCLUDE=%MSVC_INC% # set LIB=%MSVC_LIB% # set USERDEFS=%USERDEFS% -D__SERIES60_20__ -D__SERIES60_MAJOR__=2 -D_ +_SERIES60_MINOR__=0 -D__SERIES60_2X__ # # s60-2.1-cw: # # set EPOCROOT=\Symbian\7.0s\Series60_v21_CW\ # set EPOCDEVICE=Series60_v21_CW:com.Nokia.series60 # symbiancommon # set PATH=%EPOC_BIN%;%MWCW%\Bin;%MWCW%\Symbian_Tools\Command_Line_Too +ls;%MSVC_BIN%;C:\perl\bin;C:\winnt\system32 # set USERDEFS=%USERDEFS% -D__SERIES60_21__ -D__SERIES60_MAJOR__=2 -D_ +_SERIES60_MINOR__=1 -D__SERIES60_2X__ #
    I want to know if my environment is not same as like on config.pl, so is there anything i must to do on file sdk.pl or file sdk.pl must not change at all. Sorry about this and i'm very curious about this, thank's a lot.

      I haven't tried to build Perl for Symbian. I guess you have to set the appropriate environment variables, depending on the version of SDK you have installed and th eC compiler suite you have.

        Sorry Corion, one more question is there any explaination/relation everytime i type perl symbian\config.pl, i realized gcc.exe is terminated from the windows report, showed warning error gcc.exe not responding don't send or send report. Thank you so much