0 Replies Latest reply on Mar 10, 2003 11:11 PM by Rupert Bruce

    Locale build problems

    Rupert Bruce Newbie

      I have downloaded the source tarball to my RH8 Linux box and have run "./build.sh init" getting "Build Successful" - no problem so far.

      When I try "./build.sh", I get the following:
      $ ./build.sh
      Searching for build.xml ...
      Buildfile: /opt/jboss-3.0.6-src/build/build.xml

      _buildmagic:init:

      _buildmagic:init:local-properties:

      _buildmagic:init:buildlog:

      configure:
      [echo] groups: default
      [echo] modules: jmx,common,system,j2ee,naming,management,server,security,messaging,connector,cluster,jetty,varia,jboss.net,iiop,tomcat41
      init:

      _buildmagic:modules:most:
      [execmodules]
      ======================================================================
      == Executing 'most' in module 'jmx'...
      ==

      _buildmagic:init:

      configure:

      init:

      compile-mbean-sources:

      compile-classes:
      [javac] Compiling 455 source files to /opt/jboss-3.0.6-src/jmx/output/classes
      [execmodules] error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null
      [execmodules] error: compiler message file broken: key=compiler.err.sun.io.MalformedInputException arguments=null, null, null, null, null, null, null
      [execmodules] /opt/jboss-3.0.6-src/jmx/src/main/org/jboss/mx/capability/DispatcherFactory.java:70: cannot resolve symbol



      All my googling around has led me to believe that there may either be a non-ascii character in a source file or my locale is screwed up... If I enter "locale" at the command line, I get:
      LANG=en_US.UTF-8
      LC_CTYPE="en_US.UTF-8"
      LC_NUMERIC="en_US.UTF-8"
      LC_TIME="en_US.UTF-8"
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY="en_US.UTF-8"
      LC_MESSAGES="en_US.UTF-8"
      LC_PAPER="en_US.UTF-8"
      LC_NAME="en_US.UTF-8"
      LC_ADDRESS="en_US.UTF-8"
      LC_TELEPHONE="en_US.UTF-8"
      LC_MEASUREMENT="en_US.UTF-8"
      LC_IDENTIFICATION="en_US.UTF-8"
      LC_ALL=


      - which seems hunky-dory to me ! My next steps will be to write a tool to hunt for offending characters, or grab the source using CVS (following your getting-started page to the letter). Any ideas would be greatly appreciated !