phoneme
  1. phoneme
  2. PHONEME-41

Cygwin Build of phoneME Advanced Fails

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: ARM

    • Issuezilla Id:
      41

      Description

      I just pull the most recent code from Subversion. It's trying to specify a
      Cygwin path as an argument to a Java process. It puts a C: on the beginning and
      changes the slashes to backslashes, but it still contains the \cygdrive
      directory, which is wrong for a Windows-style path name. Here's the output:

      Bill.Chatfield@D01oh001BN65ZC1 /cygdrive/c/projects/PhoneMEAdvanced/cdc/build/wi
      n32-arm-ppc03
      $ ./BchatBuild.sh
      MAKEFLAGS = J2ME_CLASSLIB=foundation JDK_HOME=/cygdrive/c/opt/j2sdk1.4.2_16
      CVM_HOST = i686-cygwin-win32
      CVM_TARGET = win32-arm-ppc03
      SHELL = bash -e
      HOST_CC = /usr/bin/cc
      HOST_CCC = /usr/bin/g++
      ZIP = /usr/bin/zip
      FLEX = /usr/bin/flex
      BISON = /usr/bin/bison
      CVM_JAVA = /cygdrive/c/opt/j2sdk1.4.2_16/bin/java
      CVM_JAVAC = /cygdrive/c/opt/j2sdk1.4.2_16/bin/javac
      CVM_JAVAH = /cygdrive/c/opt/j2sdk1.4.2_16/bin/javah
      CVM_JAR = /cygdrive/c/opt/j2sdk1.4.2_16/bin/jar
      TARGET_CC = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/EVC/wce420/
      bin/CLARM.EXE
      TARGET_CCC = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/EVC/wce420/
      bin/CLARM.EXE
      TARGET_AS = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/EVC/wce420/
      bin/ARMASM.EXE
      TARGET_LD = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/EVC/wce420/
      bin/LINK.EXE
      TARGET_AR = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/EVC/wce420/
      bin/LINK.EXE
      TARGET_RANLIB = /usr/bin/ranlib
      LINKFLAGS = /incremental:no /nologo /map /subsystem:windowsce,3.00 /MACHINE:AR
      M
      LINKLIBS = -lpthread -ldl
      ASM_FLAGS = -CPU StrongARM1 -32 -NOTerse -WIdth 132 -list .lst .i
      CCCFLAGS =
      CCFLAGS_SPEED = /nologo /c /W2 /MC -D_STDC_ /O2 /Ob2 /Ot -DNDEBUG
      CCFLAGS_SPACE = /nologo /c /W2 /MC -D_STDC_ /O1 /Ob1 -DNDEBUG
      CCFLAGS_LOOP = /nologo /c /W2 /MC -D_STDC_ /O2 /Ob2 /Ot -DNDEBUG
      CCFLAGS_FDLIB = /nologo /c /W2 /MC -D_STDC_ -DNDEBUG /Od
      JAVAC_OPTIONS = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -t
      arget 1.4
      CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOA
      DING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT
      _REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=foundation -DTARGET_CPU_FAMI
      LY=arm -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -DCVM_DLL -DHAVE_64_BIT_IO -DNDEBUG -
      DARM -D_ARM -D_RVCT_ -DWINCE -DWIN32_LEAN_AND_MEAN -DWIN32_PLATFORM_PSPC -DUNI
      CODE -D_UNICODE -DUNDER_CE=300 -D_WIN32_WCE=300 -DPOCKETPC
      host uname = CYGWIN_NT-5.1 D01oh001BN65ZC1 1.5.25(0.156/4/2) 2008-05-26 2
      0:37 i686 Cygwin
      TARGET_CC version = Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 f
      or ARM
      HOST_CC version = 3.4.4 i686-pc-cygwin
      CVM_JAVA version = java version 1.4.2_16
      TOOLS_DIR = /cygdrive/c/projects/PhoneMEAdvanced/tools
      SDK_DIR = C:/Program Files/Windows CE Tools
      VC_PATH = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0
      PLATFORM_SDK_DIR = C:/Program Files/Windows CE Tools/wce420/POCKET PC 2003
      PLATFORM_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/EVC/w
      ce420/bin
      COMMON_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft eMbedded C++ 4.0/Commo
      n/EVC/Bin
      INCLUDE = C:/Program Files/Windows CE Tools/wce420/POCKET PC 2003/In
      clude/Armv4;C:/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Mfc/include;
      C:/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Atl/include
      LIB = C:/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Li
      b/Armv4;C:/Program Files/Windows CE Tools/wce420/POCKET PC 2003/Mfc/lib/armv4;C:
      /Program Files/Windows CE Tools/wce420/POCKET PC 2003/Atl/lib/armv4
      updating /cygdrive/c/projects/PhoneMEAdvanced/cdc/build/win32-arm-ppc03/./genera
      ted/build_defs.mk ...
      Checking for build-time classes to compile ...
      ... generating PackageManager.java
      java.io.FileNotFoundException: c:\cygdrive\c\projects\PhoneMEAdvanced\cdc\src\sh
      are\tools\xml\empty.xml (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at java.io.FileInputStream.<init>(FileInputStream.java:66)
      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
      .java:69)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
      nection.java:156)
      at java.net.URL.openStream(URL.java:913)
      at org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:638)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

      at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
      .java:185)
      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:151)
      at com.sun.xml.transform.CodeTransformerImpl.transform(Unknown Source)
      at com.sun.xml.transform.CodeTransformer.main(Unknown Source)
      make: *** [/cygdrive/c/projects/PhoneMEAdvanced/cdc/build/win32-arm-ppc03/./gene
      rated/classes/com/sun/cdc/config/PackageManager.java] Error 1

      Bill.Chatfield@D01oh001BN65ZC1 /cygdrive/c/projects/PhoneMEAdvanced/cdc/build/wi
      n32-arm-ppc03
      $

        Activity

        bill_chatfield created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 41 96975
        Hide
        devenkhandelwal added a comment -

        Dear bill_chatfield,
        to resolve cygwin problem we have to mount the PhoneMecode like following to build it on win32.

        mount d:/PhoneMeAdvanced /PhoneMeAdvanced
        mount d:/PhoneMeAdvanced/tools/ /tools
        cd /PhoneMeAdvanced/cdc/build/win32-x86-vc8

        and then to build it you have to make like following.

        make J2ME_CLASSLIB=basis-lite CVM_JIT=false CVM_DEBUG=false USECURITY_PKGS=jaas,btworks,jce USE_CDC_COM=true SECURITY_PKGS=jaas,btworks,jce USE_CDC_COM=true

        Thanks
        Devendra

        Show
        devenkhandelwal added a comment - Dear bill_chatfield, to resolve cygwin problem we have to mount the PhoneMecode like following to build it on win32. mount d:/PhoneMeAdvanced /PhoneMeAdvanced mount d:/PhoneMeAdvanced/tools/ /tools cd /PhoneMeAdvanced/cdc/build/win32-x86-vc8 and then to build it you have to make like following. make J2ME_CLASSLIB=basis-lite CVM_JIT=false CVM_DEBUG=false USECURITY_PKGS=jaas,btworks,jce USE_CDC_COM=true SECURITY_PKGS=jaas,btworks,jce USE_CDC_COM=true Thanks Devendra

          People

          • Assignee:
            phoneme-issues
            Reporter:
            bill_chatfield
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: