[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building Janos 11/5



I hope this is the right place to post questions (as opposed to an open
dicussion list).  Please direct me to the approproate list if this is not
the right list.

I am unsuccessful in building janos (11/5 release) on a Solaris 2.7
machine.  I have narrowed the problem to the line:

# if CLASSPATH=${CLASSPATH}:/home/lewis/janos-991105/java/classes-debug
jikes    # 1> .compile_core-output 2>&1

The token 'jikes' has no arguments, I get a complier usage statement in
response to this.  I have tracked this to a line in the ./build debug:

# COMPILE_JAVA    = CLASSPATH=:/home/lewis/janos-991105/java/classes-debug
jikes

This seems backwards.

I have included three things - the setting of the JIKESPATH, the (modified)
output of ./build-ing with debug turned on and off.  The modification is to
limit word wrapping - three plusses indicate where I cropped lines.  (The
"no sp." means that I broke a path name in the middle.)

I would appreciate any guidance on what parameter I am setting incorrectly,
or what needs further investigation.

TIA...
------------------------------------------------------------------------------

 [ ~/janos-991105/java 366 ] printenv JIKESPATH
.:/usr/java1.1/lib/classes.zip
 [ ~/janos-991105/java 367 ] ./build VERBOSEMAKE=yes JAVACLASSPATH=$JIKESPATH\
? debug

**** System.mk settings:

  SED        = sed
  RM         = rm -f
  FAILURE    = false
  MKDIR      = mkdir -p
  ECHO_CLEAN = /usr/ucb/echo -n

**** Preprocess.mk settings:

  CPP                 = gcc -E -x c -P -Wcomment -nostdinc -undef -C
  CPP_GLOBAL_MACROS   = /home/lewis/janos-991105/java/Defines.cpp
  CPP_FLAGS           = -DDEBUG -UEXPOSED -UNDEBUG -I. +++
                        -imacros /home/lewis/janos-991105/java/Defines.cpp
  PREPROCESS          = gcc -E -x c -P -Wcomment -nostdinc -undef -C +++
                        -DDEBUG -UEXPOSED -UNDEBUG -I.+++
                        -imacros /home/lewis/janos-991105/java/Defines.cpp

**** Java.mk settings:

  JAVA_COMPILER   = jikes
  JAVAC_FLAGS     =
  COMPILE_JAVA    = CLASSPATH=:/home/lewis/janos-991105/java/classes-debug
jikes

**** Targets for core package
  core Fullname    = edu.utah.janos.core
  core Dest Dir    = edu/utah/janos/core
  core sources     =
  core CPP sources =
  core EXPECTED_CPP sources =
  core ACTUAL_CPP sources =
  core EXTRA_CPP sources =
  core ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java/classes-debug+++ (no
sp.)
                         /edu/utah/janos/core/*.java

**** Targets for io package
  io Fullname    = edu.utah.janos.io
  io Dest Dir    = edu/utah/janos/io
  io sources     =
  io CPP sources =
  io EXPECTED_CPP sources =
  io ACTUAL_CPP sources =
  io EXTRA_CPP sources =
  io ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java/classes-debug+++ (no sp.)
                       /edu/utah/janos/io/*.java

**** Targets for route package
  route Fullname    = edu.utah.janos.route
  route Dest Dir    = edu/utah/janos/route
  route sources     =
  route CPP sources =
  route EXPECTED_CPP sources =
  route ACTUAL_CPP sources =
  route EXTRA_CPP sources =
  route ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java +++ (no sp.)
                          /classes-debug/edu/utah/janos/route/*.java

**** Targets for lib package
  lib Fullname    = edu.utah.janos.lib
  lib Dest Dir    = edu/utah/janos/lib
  lib sources     =
  lib CPP sources =
  lib EXPECTED_CPP sources =
  lib ACTUAL_CPP sources =
  lib EXTRA_CPP sources =
  lib ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java/classes-debug+++ (no sp.)
                        /edu/utah/janos/lib/*.java

**** Targets for ants.utils package
  ants.utils Fullname    = edu.utah.janos.ants.utils
  ants.utils Dest Dir    = edu/utah/janos/ants/utils
  ants.utils sources     =
  ants.utils CPP sources =
  ants.utils EXPECTED_CPP sources =
  ants.utils ACTUAL_CPP sources =
  ants.utils EXTRA_CPP sources =
  ants.utils ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java+++ (no sp.)
                               /classes-debug/edu/utah/janos/ants/utils/*.java

**** Targets for ants.ants package
  ants.ants Fullname    = edu.utah.janos.ants.ants
  ants.ants Dest Dir    = edu/utah/janos/ants/ants
  ants.ants sources     =
  ants.ants CPP sources =
  ants.ants EXPECTED_CPP sources =
  ants.ants ACTUAL_CPP sources =
  ants.ants EXTRA_CPP sources =
  ants.ants ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java+++ (no sp.)
                              /classes-debug/edu/utah/janos/ants/ants/*.java

**** Targets for ants.route package
  ants.route Fullname    = edu.utah.janos.ants.route
  ants.route Dest Dir    = edu/utah/janos/ants/route
  ants.route sources     =
  ants.route CPP sources =
  ants.route EXPECTED_CPP sources =
  ants.route ACTUAL_CPP sources =
  ants.route EXTRA_CPP sources =
  ants.route ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java+++ (no sp.)
                               /classes-debug/edu/utah/janos/ants/route/*.java

**** Targets for ants.apps.ping package
  ants.apps.ping Fullname    = edu.utah.janos.ants.apps.ping
  ants.apps.ping Dest Dir    = edu/utah/janos/ants/apps/ping
  ants.apps.ping sources     =
  ants.apps.ping CPP sources =
  ants.apps.ping EXPECTED_CPP sources =
  ants.apps.ping ACTUAL_CPP sources =
  ants.apps.ping EXTRA_CPP sources =
  ants.apps.ping ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java+++ (no sp.)
                                   /classes-debug/edu/utah/janos+++ (no sp.)
                                   /ants/apps/ping/*.java

**** Targets for tests package
  tests Fullname    = edu.utah.janos.tests
  tests Dest Dir    = edu/utah/janos/tests
  tests sources     =
  tests CPP sources =
  tests EXPECTED_CPP sources =
  tests ACTUAL_CPP sources =
  tests EXTRA_CPP sources =
  tests ACTUAL_CPP_GLOB = /home/lewis/janos-991105/java +++ (no sp.)
                          /classes-debug/edu/utah/janos/tests/*.java

**** Top-level make:
  ALL_SOURCES =
  ALL_CPPSOURCES =
  COMPILATION_TARGETS =  .compile_core sourcecheck-core .compile_io +++
                         sourcecheck-io .compile_route sourcecheck-route +++
                         .compile_lib sourcecheck-lib .compile_ants.utils +++
                         sourcecheck-ants.utils .compile_ants.ants +++
                         sourcecheck-ants.ants .compile_ants.route +++
                         sourcecheck-ants.route .compile_ants.apps.ping +++
                         sourcecheck-ants.apps.ping .compile_tests +++
                         sourcecheck-tests
  SRC_DIR             = /home/lewis/janos-991105/java
  OBJ_DIR             = /home/lewis/janos-991105/java
  DEST_DIR            = /home/lewis/janos-991105/java/classes-debug
  PACKAGE_PREFIX_DIR  = edu/utah/janos
  DEST_DIRECTORIES    = +++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/core+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/io+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/route+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/lib+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/ants/utils+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/ants/ants+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/ants/route+++

/home/lewis/janos-991105/java/classes-debug/edu/utah/janos/ants/apps/ping+++
    /home/lewis/janos-991105/java/classes-debug/edu/utah/janos/tests

 [ ~/janos-991105/java 368 ] ./build VERBOSEMAKE=yes JAVACLASSPATH=$JIKESPATH

SRC_DIR=/home/lewis/janos-991105/java;  BUILD=debug; +++
DEST_DIR='/home/lewis/janos-991105/java/classes-debug'

All directories exist.
echo "Compiling core package"
Compiling core package
rm -f -f .compile_core .compile_core-output
if CLASSPATH=${CLASSPATH}:/home/lewis/janos-991105/java/classes-debug jikes
1> .compile_core-output 2>&1 ; then \
        touch .compile_core;                                    \
else                                                    \
        sed -e 's/\.java/\.Java/' -e
's,/home/lewis/janos-991105/java/classes-debug/edu/utah/janos,/home/lewis/janos-
991105/java,' .compile_core-output;     \
        false; \
fi

IBM Jikes Compiler
(C) Copyright IBM Corp. 1997, 1999.
- Licensed Materials - Program Property of IBM - All Rights Reserved.

use: jikes [-classpath path][-d
dir][-debug][-depend|-Xdepend][-deprecation][-g][-nowarn][-nowrite][-O][-verbose
][-Xdepend][-Xstdout][+1.0][++][+B][+D][+E][+F][+K][+M][+P][+T][+U][+Z]
file.Java...

-classpath path    use path for CLASSPATH
-d dir             write class files in directory dir
-debug             no effect (recognized for compatibility)
-depend            recompile all used classes
-deprecation       report uses of deprecated features
-g                 debug (generate LocalVariableTable)
-nowarn            do not issue warning messages
-nowrite           do not write any class files
-O                 do not write LineNumberTable
-verbose           list files read and written
-Xdepend           recompile all used classes
-Xstdout           redirect output listings to stdout
+1.0               recognize only 1.0.2 language
++                 compile in incremental mode
+B                 do not invoke bytecode generator
+D                 report errors immediately in emacs-form without buffering
+E                 list errors in emacs-form
+F                 do full dependence check except for Zip and Jar files
+Kname=TypeKeyWord map name to type keyword
+M                 generate makefile dependencies
+M=filename        generate makefile dependencies information in filename
+P                 Pedantic compilation - issues lots of warnings
+Td...d            set value of tab d...d spaces; each d is a decimal digit
+U                 do full dependence check including Zip and Jar files
+Z                 treat cautions as errors

Version 1.06 (17 Sep 99) by Philippe Charles and David Shields, IBM Research.
Please report problems to:
  Jikes Project at http://ibm.com/developerworks/opensource
make: *** [.compile_core] Error 255


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edward Lewis                                                NAI Labs
Phone: +1 443-259-2352                      Email: lewis@tislabs.com

"Trying is the first step to failure." - Homer Simpson
"No! Try not. Do... or do not. There is no try." - Yoda

Opinions expressed are property of my evil twin, not my employer.






[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah