×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    2

    [Pys60, 3rd Ed.] build problems

    I would like to compile Pys60 for 3rd Edition mobile's, but for some reason I get strange errors - even after I've did everything as written in the README.

    Here's the configure output:
    T:\pys60-1_3_11_src\src>python setup.py configure 30 WITH_MESSAGING_MODULE=0 WITH_LOCATION_MODULE=0
    Code:
    Configuring for S60 3rd Ed.
    Build configuration:
      DEVICE_BUILD='urel'
      DEVICE_PLATFORM='gcce'
      DLL_CAPABILITIES='NetworkServices LocalServices ReadUserData WriteUserData Location UserEnvironment PowerMgmt ProtServ SwEvent SurroundingsDD ReadDeviceData WriteDeviceData TrustedUI'
      EMU_BUILD='udeb'
      EMU_PLATFORM='winscw'
      EXTRA_SYSTEMINCLUDE_DIRS=[]
      LAUNCHER_CAPABILITIES='NONE'
      PYS60_UID_APPMGR='0xF0201512'
      PYS60_UID_APPMGR_WRAPPER='0xF0201514'
      PYS60_UID_CORE='0xF0201511'
      PYS60_UID_LAUNCHER='0xF0201516'
      PYS60_UID_PYREPL='0xF0201519'
      PYS60_UID_RECOG='0xF0201513'
      PYS60_UID_S60='0xF0201510'
      PYS60_UID_SCRIPTSHELL='0xF0201515'
      PYS60_VERSION='1.3.11 development_build_20061013_1703'
      PYS60_VERSION_MAJOR=1
      PYS60_VERSION_MICRO=11
      PYS60_VERSION_MINOR=3
      PYS60_VERSION_SERIAL=0
      PYS60_VERSION_TAG='development_build_20061013_1703'
      S60_REQUIRED_PLATFORM_UID='0x101F7961'
      S60_VERSION=30
      SCRIPTSHELL_CAPABILITIES='NetworkServices LocalServices ReadUserData WriteUserData Location UserEnvironment PowerMgmt ProtServ SwEvent SurroundingsDD ReadDeviceData WriteDeviceData TrustedUI'
      SDK_MARKETING_VERSION_SHORT='3rdEd'
      SDK_NAME='S60 3rd Ed.'
      SDK_TAG='30'
      SRC_DIR='T:\\pys60-1_3_11_src\\src'
      WITH_LOCATION_MODULE=0
      WITH_MESSAGING_MODULE=0
    Processing template PythonForS60.pkg.in
    Processing template PythonScriptShell.pkg.in
    Processing template bld.inf.in
    Processing template app\Icons_aif.mk.in
    Processing template app\Python.cpp.in
    Processing template app\Python_reg.rss.in
    Processing template app\Pythonaif.rss.in
    Processing template app\app.mmp.in
    Processing template app\bld.inf.in
    Processing template appmgr\AppMgr.cpp.in
    Processing template appmgr\AppMgr.mmp.in
    Processing template appmgr\appmgr.pkg.in
    Processing template appui\appui.mmp.in
    Processing template core\PythonForSymbianOS.pkg.in
    Processing template core\core.mmp.in
    Processing template core\Symbian\sdkversion.h.in
    Processing template Doc\html\index.html.in
    Processing template Doc\texinputs\boilerplate.tex.in
    Processing template Doc\texinputs\copyright.tex.in
    Processing template exe\Python_launcher.mmp.in
    Processing template ext\bld.inf.in
    Processing template ext\calendar\calendar.mmp.in
    Processing template ext\camera\camera.mmp.in
    Processing template ext\contacts\contacts.mmp.in
    Processing template ext\e32db\e32db.mmp.in
    Processing template ext\graphics\graphics.mmp.in
    Processing template ext\inbox\inbox.mmp.in
    Processing template ext\keycapture\keycapture.mmp.in
    Processing template ext\location\location.mmp.in
    Processing template ext\messaging\messaging.mmp.in
    Processing template ext\recorder\recorder.mmp.in
    Processing template ext\socket\e32socket.mmp.in
    Processing template ext\sysinfo\sysinfo.mmp.in
    Processing template ext\telephone\telephone.mmp.in
    Processing template ext\topwindow\topwindow.mmp.in
    Processing template ext\zlib\zlibmodule.mmp.in
    Processing template extras\PyreplForSeries60.pkg.in
    Processing template recog\Pyrecog.mmp.in
    Entering "T:\pys60-1_3_11_src\src\."
    Running "bldmake bldfiles"
     ** WARNING: Cannot determine the version of the RVCT Compiler.
    
     ** WARNING: When building for ARMV5 platform Compiler RVCT2.2 or later is required.
    ... And here the build output:
    T:\pys60-1_3_11_src\src>python setup.py build
    Code:
    Entering "T:\pys60-1_3_11_src\src\."
    Running "abld build winscw udeb "
     --   make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\EXPORT.make" EXPORT VERBOSE=-s
    
     -- Nothing to do
    
     --   make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" MAKEFILE VERBOSE=-s
    
     ** WARNING: Cannot determine the version of the RVCT Compiler.
    
     ** ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
    
     ** make: *** [MAKEFILECORE] Error 255
    
     -- perl -S makmake.pl  -D \pys60-1_3_11_src\src\CORE\CORE WINSCW  
    
     --   make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" LIBRARY VERBOSE=-s
    
     ** make[1]: \EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW: No such file or directory
    
     ** make[1]: *** No rule to make target `\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW'.  Stop.
    
     ** make: *** [LIBRARYCORE] Error 2
    
     -- make -s  -r -f "\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW" LIBRARY
    
     --   make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    
     ** make[1]: \EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW: No such file or directory
    
     ** make[1]: *** No rule to make target `\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW'.  Stop.
    
     ** make: *** [RESOURCECORE] Error 2
    
     -- make -s  -r -f "\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW" RESOURCEUDEB
    
     --   make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    
     ** make[1]: \EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW: No such file or directory
    
     ** make[1]: *** No rule to make target `\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW'.  Stop.
    
     ** make: *** [TARGETCORE] Error 2
    
     -- make -s  -r -f "\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW" UDEB
    
     --   make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
    
     -- make -s  -C \pys60-1_3_11_src\src\APP -f "ICONS_AIF.MK" TO_ROOT=..\..\.. EPOCBLD=..\..\..\EPOC32\BUILD\pys60-1_3_11_src\src\ICONS_AIF\WINSCW TO_BLDINF=..\..\..\pys60-1_3_11_src\src PLATFORM=WINSCW CFG=UDEB FINAL
    
    *** BUILD FAILED ***
    
    Traceback (most recent call last):
      File "setup.py", line 547, in ?
        getattr(sys.modules['__main__'],funcname)(sys.argv[2:])
      File "setup.py", line 289, in cmd_build
        cmd_build_emu(params)
      File "setup.py", line 294, in cmd_build_emu
        run_in('.','abld build %(EMU_PLATFORM)s %(EMU_BUILD)s '%BUILDCONFIG+' '.join(params))
      File "setup.py", line 229, in run_in
        run_command_and_check_log(cmd,verbose=verbose,ignore_errors=ignore_errors)
      File "setup.py", line 220, in run_command_and_check_log
        raise BuildFailedException, 'Command "%s" failed:\n%s'%(cmd,out['stdout'])
    BuildFailedException: Command "abld build winscw udeb " failed:
      make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\EXPORT.make" EXPORT VERBOSE=-s
    
    Nothing to do
      make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" MAKEFILE VERBOSE=-s
    WARNING: Cannot determine the version of the RVCT Compiler.
    ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
    make: *** [MAKEFILECORE] Error 255
    perl -S makmake.pl  -D \pys60-1_3_11_src\src\CORE\CORE WINSCW
      make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" LIBRARY VERBOSE=-s
    make[1]: \EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW'.  Stop.
    make: *** [LIBRARYCORE] Error 2
    make -s  -r -f "\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW" LIBRARY
      make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make[1]: \EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW'.  Stop.
    make: *** [RESOURCECORE] Error 2
    make -s  -r -f "\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW" RESOURCEUDEB
      make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make[1]: \EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW'.  Stop.
    make: *** [TARGETCORE] Error 2
    make -s  -r -f "\EPOC32\BUILD\pys60-1_3_11_src\src\CORE\WINSCW\CORE.WINSCW" UDEB
    
      make -r  -f "\EPOC32\BUILD\pys60-1_3_11_src\src\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
    make -s  -C \pys60-1_3_11_src\src\APP -f "ICONS_AIF.MK" TO_ROOT=..\..\.. EPOCBLD=..\..\..\EPOC32\BUILD\pys60-1_3_11_src\src\ICONS_AIF\WINSCW TO_BLDINF=..\..\..\
    pys60-1_3_11_src\src PLATFORM=WINSCW CFG=UDEB FINAL
    PATH (Environment variable):
    Code:
    E:\Programme\Gemeinsame Dateien\Symbian\Tools;
    E:\Programme\CSL Arm Toolchain\bin;
    E:\Programme\Perl\bin\;
    %SystemRoot%\system32;
    %SystemRoot%;%SystemRoot%\System32\Wbem;
    E:\Programme\Microsoft SQL Server\90\Tools\binn\;
    E:\Programme\QuickTime\QTSystem\;
    E:\PROGRA~1\Borland\Delphi6\Bin;
    E:\PROGRA~1\Borland\Delphi6\Projects\Bpl;
    E:\Programme\UltraEdit-32;
    E:\Programme\Python 2.4.3\;
    EPOCROOT (Environment variable): "\"

    Symbian SDK installed to: Drive C
    3rd Ed. SDK subst'ed to: Drive T
    3rd Ed. SDK header patch applied? Yes.

    Anyone knows a solution for my build problems :?(

    Thanks,
    MHOOO

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [Pys60, 3rd Ed.] build problems

    hello ,

    I don't know why you have a problem but I succeed in making now a new build of 3rd PyS60 with free dev cert (more capabilities )

    Warning :
    If you use a subst path (Adviced !) EPOCROOT must be \ setup in system environment variable (backslash value) else must be finished with backslash

    STEPS :
    1) >python setup.py configure 30
    2) download GNU patch binary (missing in MR release !) and extract patch.exe file (copy it to p:\Epoc32\include)
    3) cd p:\Epoc32\include
    >patch -p1 < ....diff
    4) cd p:\pyext\src
    >python setup.py build_device (many warnings displayed
    5) First time gcce is not frozen so
    >abld freeze gcce
    6) >python setup.py build_device (again !)
    7)create two bat files for signing with your free dev cert
    and another file for make sis package because bdist_sis failed if you didn't enter these 3 arguments

    signmy.bat

    Code:
    python setup.py configure 30 SIGN_CERT=p:\devfree.cer SIGN_KEY=p:\devfree.key SIGN_PASS=yourpassword
    python setup.py configure 30 SCRIPTSHELL_CAPABILITIES="NetworkServices LocalServices ReadUserData WriteUserData Location UserEnvironment PowerMgmt ProtServ SwEvent SurroundingsDD ReadDeviceData WriteDeviceData TrustedUI" 
    python setup.py configure 30 DLL_CAPABILITIES="NetworkServices LocalServices ReadUserData WriteUserData Location UserEnvironment PowerMgmt ProtServ SwEvent SurroundingsDD ReadDeviceData WriteDeviceData TrustedUI"
    packagemy

    Code:
    python setup.py bdist_sis SIGN_CERT=p:\devfree.cer SIGN_KEY=p:\devfree.key SIGN_PASS=yourpassword
    8)>signmy
    9)>packagemy
    10) You can now also verify with sisx if it's correct !
    >python sisinfo.py -f yourpackage.sis -i
    11) Send it to your phone and install it !
    Last edited by cyke64; 2006-12-19 at 16:59. Reason: Add 3 caps since November 06
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    2

    Re: [Pys60, 3rd Ed.] build problems

    Well, I would like to build it for the emulator.
    build_device seems to work, though it isn't what I'd like to have as the compiled recorder extension doesn't seem to work if copied to the emulator /sys/bin dir.
    Anybody who knows what those errors in my build process mean :?(

    Thanks,
    MHOOO

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    14

    Re: [Pys60, 3rd Ed.] build problems

    I have been able to build the Pys60 for 3rd ed 1.3.18 for ARMV5 and added it to the image on our system. the AppManager program is not working so I had to build the pys60 exe/dlls into the s60 image and flashed it properly on the system

    Now when I run the python exe from the Application\Installed\ location by selecting the python icon an application seem to open and then it closes. I added some debug messages to see what is happening. The python.exe does run but it does nothing.

    How do I run this python interpretor applications from the system. Am I missing something here.

Similar Threads

  1. Build Env problems
    By sree1072 in forum Symbian Tools & SDKs
    Replies: 11
    Last Post: 2011-02-05, 14:47
  2. ARMI Build for fep fails
    By Blkangel in forum Symbian
    Replies: 0
    Last Post: 2004-01-27, 09:50
  3. 7.0s series 60 Build problems
    By mishrak in forum General Development Questions
    Replies: 1
    Last Post: 2003-12-05, 03:25
  4. armi build not working
    By lemody in forum Symbian
    Replies: 0
    Last Post: 2003-06-14, 15:04
  5. SDK build 10 problems.
    By topisystems in forum Multimodecards
    Replies: 1
    Last Post: 2002-09-24, 14:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •